Comparing XML Path Expressions - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2006

Comparing XML Path Expressions

Pierre Genevès
Nabil Layaïda

Résumé

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.
Fichier principal
Vignette du fichier
CompXPathExp.pdf (164.62 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

inria-00423062 , version 1 (09-10-2009)

Identifiants

Citer

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⟩
87 Consultations
181 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More