Incremental Validation of String-Based XML Data in Databases, File Systems, and Streams

Beda Christoph Hammerschmidt, Christian Werner, Ylva Brandt, Volker Linnemann, Sven Groppe, Stefan Fischer


Although the native (tree-like) storage of XML data becomes more and more important there will be an enduring demand to manage XML data in its textual representation, for instance in relational structures or file systems. XML data has to be wellformed by definition and additionally, in many cases, it has to be valid according to a given XML schema. Because the XML column types are often derived from text types (e.g. CLOBs) guaranteeing well-formedness as well as validity is not trivial. And even worse, for frequently modified data it is usually too expensive to re-validate the whole XML data after each update -- but waiving re-validation may lead to inconsistencies and malfunctions of applications. In this paper we present a schema-aware pushdown automaton (i.e. a stack machine) that validates an XML string/stream. Using an element/state-index, the pushdown automaton is able to re-validate local modifications of the data while guaranteeing overall validity. Update operations (e.g. SQLXML, XQuery updates) are validated before executing them.
Original languageEnglish
Title of host publicationAdvances in Databases and Information Systems
EditorsYannis Ioannidis, Boris Novikov, Boris Rachev
Number of pages16
Place of PublicationBerlin, Heidelberg
PublisherSpringer Berlin Heidelberg
Publication date01.10.2007
ISBN (Print)978-3-540-75184-7
ISBN (Electronic)978-3-540-75185-4
Publication statusPublished - 01.10.2007
Event11th East European Conference on Advances in Databases and Information Systems - Varna, Bulgaria
Duration: 29.09.200703.10.2007
Conference number: 71032


Dive into the research topics of 'Incremental Validation of String-Based XML Data in Databases, File Systems, and Streams'. Together they form a unique fingerprint.

Cite this