Back to Search
Start Over
An efficient similarity-based approach for comparing XML documents.
- Source :
-
Information Systems . Nov2018, Vol. 78, p40-57. 18p. - Publication Year :
- 2018
-
Abstract
- Highlights • Similarity-based comparison of XML document revisions. • Polinominal asymptotic complexity. • Speed up of almost 45 times if compared to state-of-the-art algorithms. • Superior Efficiency if compared to state-of-the-art algorithms. • Equivalent Efficacy of state-of-the-art algorithms. Abstract XML documents are widely used to interchange information among heterogeneous systems, ranging from office applications to scientific experiments. Independently of the domain, XML documents may evolve, so identifying and understanding the changes they undergo becomes crucial. Some syntactic diff approaches have been proposed to address this problem. They are mainly designed to compare revisions of XML documents using explicit IDs to match elements. However, elements in different revisions may not share IDs due to tool incompatibility or even divergent or missing schemas. In this paper, we present Phoenix, a similarity-based approach for comparing revisions of XML documents that does not rely on explicit IDs. Phoenix uses dynamic programming and optimization algorithms to compare different features (e.g., element name, content, attributes, and sub-elements) of XML documents and calculate the similarity degree between them. We compared Phoenix with X-Diff and XyDiff, two state-of-the-art XML diff algorithms. XyDiff was the fastest approach but failed in providing precise matching results. X-Diff presented higher efficacy in 30 of the 56 scenarios but was slow. Phoenix executed in a fraction of the running time required by X-Diff and achieved the best results in terms of efficacy in 26 of 56 tested scenarios. In our evaluations, Phoenix was by far the most efficient approach to match elements across revisions of the same XML document. [ABSTRACT FROM AUTHOR]
- Subjects :
- *XML (Extensible Markup Language)
*METADATA
*ALGORITHMS
*WORKFLOW software
Subjects
Details
- Language :
- English
- ISSN :
- 03064379
- Volume :
- 78
- Database :
- Academic Search Index
- Journal :
- Information Systems
- Publication Type :
- Academic Journal
- Accession number :
- 131795793
- Full Text :
- https://doi.org/10.1016/j.is.2018.07.001