16th International Workshop on Database and Expert Systems Applications (DEXA'05) (2005)
Aug. 22, 2005 to Aug. 26, 2005
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/DEXA.2005.83
Stefan B?ttcher , University of Paderborn
Rita Steinmetz , University of Paderborn
Standards like XML Schema and XPath play a central role in distributed XML data processing. XPath query optimization can benefit from a tester that checks whether the intersection of data fragments described by two XPath expressions is empty for all valid database states. In this paper, we contribute a fast but incomplete intersection test for XPath expressions that reflects type constraints like sub-types and extensions defined in XML Schema. The key idea is to transform the XML Schema types into a hierarchy of constraints, and to translate these constraints into an automaton representing all the XML document paths that are valid according to this XML Schema. Finally, the intersection test can be reduced to a search in these automata.
R. Steinmetz and S. B?ttcher, "Embedding XML Schema Constraints in Search-Based Intersection Tests for XPath Query Optimization," 16th International Workshop on Database and Expert Systems Applications (DEXA'05)(DEXA), Copenhagen, Denmark, 2005, pp. 842-846.