×

Incremental validation of XML documents. (English) Zbl 1022.68521

Calvanese, Diego (ed.) et al., Database theory – ICDT 2003. 9th international conference, Siena, Italy, January 8-10, 2003. Proceedings. Berlin: Springer. Lect. Notes Comput. Sci. 2572, 47-63 (2003).
Summary: We investigate the incremental validation of XML documents with respect to DTDs and XML Schemas, under updates consisting of element tag renamings, insertions and deletions. DTDs are modeled as extended context-free grammars and XML Schemas are abstracted as “specialized DTDs”, allowing to decouple element types from element tags. For DTDs, we exhibit an \(O(m \log n)\) incremental validation algorithm using an auxiliary structure of size \(O(n)\), where \(n\) is the size of the document and \(m\) the number of updates. For specialized DTDs, we provide an \(O(m \log^2 n)\) incremental algorithm, again using an auxiliary structure of size \(O(n)\). This is a significant improvement over brute-force re-validation from scratch.
For the entire collection see [Zbl 1013.00033].

MSC:

68P15 Database theory