Deciding XPath Containment with MSO - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Data and Knowledge Engineering Année : 2007

Deciding XPath Containment with MSO

Pierre Genevès
Nabil Layaïda

Résumé

XPath is the standard language for addressing parts of an XML document. We present a sound and complete decision procedure for containment of XPath queries. The considered XPath fragment covers most of the language features used in practice. Specifically, we show how XPath queries can be translated into equivalent formulas in monadic second-order logic. Using this translation, we construct an optimized logical formulation of the containment problem, which is decided using tree automata. When the containment relation does not hold between two XPath expressions, a counter-example XML tree is generated. We provide a complexity analysis together with practical experiments that illustrate the efficiency of the decision procedure for realistic scenarios.
Fichier principal
Vignette du fichier
containment-mso.pdf (359.13 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00189134 , version 1 (20-11-2007)

Identifiants

  • HAL Id : hal-00189134 , version 1

Citer

Pierre Genevès, Nabil Layaïda. Deciding XPath Containment with MSO. Data and Knowledge Engineering, 2007, 63 (1), p. 108-136. ⟨hal-00189134⟩
282 Consultations
151 Téléchargements

Partager

Gmail Facebook X LinkedIn More