Skip to Main content Skip to Navigation
Conference papers

Comparing XML Path Expressions

Pierre Genevès 1 Nabil Layaïda 1 
1 WAM - Web, adaptation and multimedia
Inria Grenoble - Rhône-Alpes
Abstract : XPath is the standard declarative language for navigating XML data and returning a set of matching nodes. In the context of XSLT/XQuery analysis, query optimization, and XML type checking, XPath decision problems arise naturally. They notably include XPath comparisons such as equivalence (whether two queries always return the same result), and containment (whether for any tree the result of a particular query is included in the result of a second one). XPath decision problems have attracted a lot of research attention, especially for studying the computational complexity of various XPath fragments. However, what is missing at present is the constructive use of an expressive logic which would allow capturing these decision problems, while providing practically effective decision procedures. In this paper, we propose a logic-based framework for the static analysis of XPath. Specifically, we propose the alternation free modal \mu-calculus with converse as the appropriate logic for effectively solving XPath decision problems. We present a translation of a large XPath fragment into \mu-calculus, together with practical experiments on the containment using a state-of-the-art EXPTIME decision procedure for \mu-calculus satisfiability. These preliminary experiments shed light, for the first time, on the cost of checking the containment in practice. We believe they reveal encouraging results for further static analysis of XML transformations.
Complete list of metadata

Cited literature [40 references]  Display  Hide  Download
Contributor : Vincent Quint Connect in order to contact the contributor
Submitted on : Friday, October 9, 2009 - 12:13:40 PM
Last modification on : Wednesday, April 6, 2022 - 3:48:08 PM
Long-term archiving on: : Wednesday, June 16, 2010 - 12:32:39 AM


Files produced by the author(s)




Pierre Genevès, Nabil Layaïda. Comparing XML Path Expressions. Proceedings of the 2006 ACM Symposium on Document Engineering, DocEng 2006, Oct 2006, Amsterdam, Netherlands. pp.65-74, ⟨10.1145/1166160.1166182⟩. ⟨inria-00423062⟩



Record views


Files downloads