Database Research Group

WSI – Database Systems Research Group

Schema Validation and Type Annotation for Encoded Trees.

Torsten Grust, Stefan Klinger

Proceedings of the ACM SIGMOD/PODS 1st Int'l Workshop on XQuery Implementation, Experience and Perspectives (XIME-P 2004), Paris, June 2004.

Online version

We argue that efficient support for schema validation and type annotation in XQuery processors deserves as much attention as efficient evaluation techniques for XPath queries have received in the past. To this end, we describe a validation procedure that operates on an encoding of trees that has already been succesfully used for XPath location step evaluation. The validation algorithm works without the construction of finite state automata and can exploit properties of the encoding to speed up the validation of already partially type-annotated trees. First experiments - carried out using the database back-end of the author's XQuery compiler - indicate that this approach can indeed lead to high-throughput validation support.