Detecting changes in XML documents

We present a diff algorithm for XML data. This work is motivated by the support for change control in the context of the Xyleme project that is investigating dynamic warehouses capable of storing massive volumes of XML data. Because of the context, our algorithm has to be very efficient in terms of...

Celý popis

Uloženo v:
Podrobná bibliografie
Vydáno v:18th International Conference on Data Engineering: Proceedings 2002: San Jose, California s. 41 - 52
Hlavní autoři: Cobena, G., Abiteboul, S., Marian, A.
Médium: Konferenční příspěvek
Jazyk:angličtina
Vydáno: Los Alamitos CA IEEE 2002
Témata:
ISBN:9780769515311, 0769515312
ISSN:1063-6382
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
Popis
Shrnutí:We present a diff algorithm for XML data. This work is motivated by the support for change control in the context of the Xyleme project that is investigating dynamic warehouses capable of storing massive volumes of XML data. Because of the context, our algorithm has to be very efficient in terms of speed and memory space even at the cost of some loss of quality. Also, it considers, besides insertions, deletions and updates (standard in diffs), a move operation on subtrees that is essential in the context of XML. Intuitively, our diff algorithm uses signatures to match (large) subtrees that were left unchanged between the old and new versions. Such exact matchings are then possibly propagated to ancestors and descendants to obtain more matchings. It also uses XML specific information such as ID attributes. We provide a performance analysis of the algorithm. We show that it runs in average in linear time vs. quadratic time for previous algorithms. We present experiments on synthetic data that confirm the analysis. Since this problem is NP-hard, the linear time is obtained by trading some quality. We present experiments (again on synthetic data) that show that the output of our algorithm is reasonably close to the optimal in terms of quality. Finally we present experiments on a small sample of XML pages found on the Web.
ISBN:9780769515311
0769515312
ISSN:1063-6382
DOI:10.1109/ICDE.2002.994696