Browse > Article
http://dx.doi.org/10.3745/KIPSTD.2009.16-D.4.497

Merging XML Documents Based on Insertion/Deletion Edit Operations  

Lee, Suk-Kyoon (단국대학교 컴퓨터학부)
Abstract
The method of effectively merging XML documents becomes necessary, as the use of XML is popular and the collaborative editing is required in the areas such as office documents and scientific documents editing works. As a solution to this problem, in this paper we present a theoretical framework for merging individual editing works by muli-users to a same source document. Different from existing approaches which merge documents themselves when they are merged, we represent editing works with a series of edit operations applied to a source document, which is called a edit script, merge those edit scripts by multi-users, and apply the merged one to the source document so that we can achieve the same effect of merging documents. In order to do this, assuming edit scripts based on insertion and deletion edit operations, we define notions such as static edit scripts, the intervention between edit scripts and the conflict between the ones, then propose the conflict conditions between edit scripts and the method of adjusting edit scripts when merged. This approach is effective in reducing network overhead in distributed environments and also in version management systems because of preserving the semantics of individual editing works.
Keywords
Collaborative Editing; Merging Documents; XML; X-treeDiff+; Diff; Patch; Version Management;
Citations & Related Records
연도 인용수 순위
  • Reference
1 K. Tai, 'The tree-to-tree correction problem,' Journal of the ACM, 26(3), pp.422-433, 1979   DOI   ScienceOn
2 S. Chawathe and H. G. Molina, 'Meaningful Change Detection in Structured Data,' In SIGMOD '97, pp.26-37, 1997   DOI   ScienceOn
3 S. Khanna, K.Kunal, and B.C. Pierce, 'A Formal Investigation of Diff3,' FSTTCS 2007: Foundations of Software Technology and Theoretical Computer Science, Lecture Notes in Computer Science(LNCS 4855), pp.485-496, 2007   DOI   ScienceOn
4 C.-L. Ignat, and M. Norrie, 'Flexible collaboration over XML documents,' In Proc. of 3rd Int. Conf on Cooperative Desgin, Visualization, and Engineering(CDVE) pp.267-274, 2006 LNCS 4101   DOI   ScienceOn
5 K. Zhang and D. Shasha, 'Simple fast algorithms for the editing distance between trees and related problems,' SIAM Journal of Computing, 18(6), pp.1245-1262, 1989   DOI
6 M. Perry, and D. Agawral, 'Collaborative editing within the pervasive collaborative computing environment,' Lawrence Berkeley National Laboratory, LBNL 53769, 2003
7 A. Marian, S. Abitebouol, G. Cobena, and L. Mignet, 'Change- Centric Management of Versions in an XML Warehouse,' in Proc. of the 27th VLDB Conf., Italy, 2001
8 Curbera and D.A. Epstein, 'Fast Difference and Update of XML Documents,' XTech '99, San Jose, March, 1999
9 S.K. Lee and D.A. Kim, 'X-treeDiff+: Efficient Change Detection Algorithm in XML Documents,' Lecture Notes in Computer Science(LNCS 4096), pp.1037-1046, 2006   DOI   ScienceOn
10 G. Cobe.na, S. Abiteboul and A. Marian, 'Detecting Changes in XML Documents,' The 18th ICDE, 2002
11 S. Lu, 'A tree-to-tree distance and its application to cluster analysis,' IEEE TPAMI, 1(2), pp.219-224, 1979
12 S. M. Selkow, 'The tree-to-tree editing problem,' Information Processing Letters, 6, pp.184-186, 1977   DOI   ScienceOn
13 M.K. Johnson, 'Diff, pathch, and friends,' Linux Journal, Aug. 1996
14 S. Balasubramaniam, and B.C. Pierce, 'What is a file synchronizer?,' Proc. of Fourth Annual ACM/IEEE Int. Conf. on Mobile Computing and Networking (MobiCom'98), pp. 98-108, Oct., 1998
15 T. Lindholm, 'A Three-way Merge for XML Documents,' Proc. of the 2004 ACM symp. on Document engineering, pp.1-10, Milwaukee, Wis. Oct., 2004   DOI
16 S. Ronnau, J. Scheffczyk, and U. Borghoff, 'Towards XML Version Control of Office Documents,' Proc. of the fifth ACM symposium on Document Engineering, Bristol, U.K. 2005   DOI
17 SubVersion, Source Version Control System, http://subversion.tigris.org/
18 S. Ronnau, C. Pauli, and U. Borghoff, 'Merging changes in XML documents using reliable context fingerprints,' Proc. of the eighth ACM symposium on Document Engineering, pp.52-61, 2008   DOI
19 G.W. Manger, 'A Generic Algorithm for Merging SGMS/XMLInstnaces,' In Proc. of XML Europe 2001, Berlin, Germany
20 김동아, 'XML 문서에 대한 변화 탐지 및 관리,' 단국대학교 전산통계학과 박사학위논문, 2005
21 R. Smith, GNU diff3 (1988) Version 2.8.1, April 2002; distributed with GNU diffutils package
22 R.L. Fontaine, 'Merging XML files: a new approach providing intelligent merge of XML data sets,' Proc. of the XML Europe 2002, Barcelona, May, 2002
23 CVS, Concurrent Versions System, http://www.cvshome.org or http://ximbiot.com/cvs/