Browse > Article
http://dx.doi.org/10.9723/jksiis.2019.24.2.001

Adjusting Edit Scripts on Tree-structured Documents  

Lee, SukKyoon (단국대학교 SW융합대학 소프트웨어학과)
Um, HyunMin (단국대학교 공과대학 소프트웨어학과)
Publication Information
Journal of Korea Society of Industrial Information Systems / v.24, no.2, 2019 , pp. 1-14 More about this Journal
Abstract
Since most documents used in web, XML, office applications are tree-structured, diff, merge, and version control for tree-structured documents in multi-user environments are crucial tasks. However research on edit scripts which is a basis for them is in primitive stage. In this paper, we present a document model for understanding the change of tree-structured documents as edit scripts are executed, and propose a method of switching adjacent edit operations on tree-structured documents based on the analysis of the effects of edit operations. Mostly, edit scripts which are produced as the results of diff on tree-structured documents only consist of basic operations such as update, insert, delete. However, when move and copy are included in edit scripts, because of the characteristics of their complex operation, it is often that edit scripts are generated to execute in two passes. In this paper, using the proposed method of switching edit operations, we present an algorithm of transforming the edit scripts of X-treeESgen, which are designed to execute in two passes, into the ones that can be executed in one pass.
Keywords
Edit Script; Diff; Tree-structured documents; XML; Version management;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 Ronnau, S., Scheffczyk, J. and Borghoff, U., "Towards XML Version Control of Office Documents," Proceedings of ACM Symposium on Document Engineering, pp. 10-19, 2005.
2 Antila, C., Trevino, J. and Weaver, G. "A Hierarchic Diff Algorithm For Collaborative Music Document Editing," Proceedings of Technologies for Music Notation & Representation, 2017.
3 Weaver, C. and Smith, S., "XUTools: Unix Commands for Processing Next-Generation Structured Text," Proceedings of Large Installation System Adminstration Conference, 2012.
4 Ronnau, S. and Borghoff, U., "XCC: Change Control of XML Documents," Computer Science - Research and Development, Vol. 27, Issue 2, pp. 95-111, 2012.   DOI
5 Lee, Suk Kyoon, “Change Detection of Hangul Documents Based on X-treeDiff+,” Journal of the Korea Industrial Information Systems Society, Vol. 15, No. 4, pp. 29-37, 2010.
6 Zhang, K. and Shasha, D., “Simple Fast Algorithms for the Editing Distance Between Trees and Related Problems,” SIAM Journal of Computing, Vol. 18, No. 6, pp. 1245-1262, 1989.   DOI
7 Cobena, G., Abiteboul, S. and Marian, A., "Detecting Changes in XML Documents," Proceedings of the 18th International Conference on Data Engineering, 2002.
8 Lee, S. and Kim, D., "X-treeDiff+: Efficient Change Detection Algorithm in XML Documents," Lecture Notes in Computer Science, Vol. 4096, pp. 1037-1046, 2006.
9 Lee, S. and Kim, D., “Improving Performance of Change Detection Algorithms through the Efficiency of Matching,” KIPS Transactions on Software and Data Engineering, Vol. 14, No. 2, pp. 145-156, 2007.
10 Chawathe, S., "Comparing Hierarchical Data in External Memory," Proceedings of the 25th International Conference on Very Large Data Bases. 1999.
11 diffxml, http://diffxml.sourceforge.net/ (accessed on Mar. 21th, 2019)
12 Fontaine, R., "Change Control for XML: Do it right," Proceedings of XML Europe Conference, 2003.
13 Selkow, S. "The Tree-To-Tree Editing Problem," Information Processing Letters, Vol. 6, No. 6, 1977. DOI:10.1016/0020-0190(77)90064-3   DOI
14 DeltaXML, http://www.deltaxml.com (accessed on Mar. 21th, 2019)
15 Dohn, H. and Riechle, D., "Fine-grained Change Detection in Structured Text Documents," Proceedings of the 2014 ACM Symposium on Document Engineering, pp. 87-96, 2014.
16 Autexier, S., "Similarity-Based Diff, Three-Way Diff and Merge," International Journal of Software Informatics, Vol 9, Issue 2, pp 259-277, 2015.
17 Lee, S., “An Algorithm Generating Edit Scripts for XML Documents,” Journal of the Institute of Electronics and Information Engineers: CI, Vol. 48, No. 1, pp. 80-89, 2011.
18 Kang, J., "A Study on Version Management of Documents with Hierarchical Structure," Master Thesis, Dankook University, 2013.
19 Kim, S., Jung, S., Kang, Y. and Cho, W., “Mobile Office Construction on a Geotechnical Information System,” Journal of the Korea Industrial Information Systems Society, Vol. 15, No. 5, pp. 125-135, 2010.
20 Woo, W., “A Study on Developing XML Documents and RDB Mapping Using Tag Free XML Development Tools,” Journal of the Korea Industrial Information Systems Society, Vol. 11, No. 5, pp. 37-52, 2006.