首页 | 本学科首页   官方微博 | 高级检索  
     


Bridging the gap between tracking and detecting changes in XML
Authors:Paolo Ciancarini  Angelo Di Iorio  Carlo Marchetti  Michele Schirinzi  Fabio Vitali
Affiliation:1. Department of Computer Science and Engineering, University of Bologna, Bologna, Italy;2. University of ‘La Sapienza’ and Senato della Repubblica Italiana, Rome, Italy;3. CINI, Consorzio Interuniversitario Nazionale per l'Informatica, Rome, Italy
Abstract:There are two main approaches to manage changes in XML documents, change‐tracking and diff. Change‐tracking tools, which record edit actions while they are performed on the source document, are able to capture the exact editing process. That is much more difficult for diff algorithms, which have to reconstruct it by comparing two different versions. Interestingly, these algorithms process both text‐centric and data‐centric XML documents the same way. In this paper, we show that more accurate, clear, and human‐readable results can be achieved on text‐centric resources, by employing specific models and algorithms. We describe and discuss a specialized diff algorithm for such a class of documents. We also compare a Java implementation of the algorithm, named JNDiff, with other general‐purpose or data‐oriented diff tools, focusing on the quality of their output. Copyright © 2014 Copyright © 2014 John Wiley & Sons, Ltd.
Keywords:change detection  change‐tracking  diff algorithms  XML diff  edit operations  high‐level changes
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号