The complexity of XPath query evaluation and XML typing - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Article Dans Une Revue Journal of the ACM (JACM) Année : 2005

The complexity of XPath query evaluation and XML typing

Résumé

We study the complexity of two central XML processing problems. The first is XPath 1.0 query processing, which has been shown to be in PTime in previous work. We prove that both the data complexity and the query complexity of XPath 1.0 fall into lower (highly parallelizable) complexity classes, while the combined complexity is PTime-hard. Subsequently, we study the sources of this hardness and identify a large and practically important fragment of XPath 1.0 for which the combined complexity is LogCFL-complete and, therefore, in the highly parallelizable complexity class NC2. The second problem is the complexity of validating XML documents against various typing schemes like Document Type Definitions (DTDs), XML Schema Definitions (XSDs), and tree automata, both with respect to data and to combined complexity. For data complexity, we prove that validation is in LogSpace and depends crucially on how XML data is represented. For the combined complexity, we show that the complexity ranges from LogSpace to LogCFL, depending on the typing scheme.
Fichier principal
Vignette du fichier
gkps.pdf (529.21 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02886548 , version 1 (01-07-2020)

Identifiants

Citer

Georg Gottlob, Christoph Koch, Reinhard Pichler, Luc Segoufin. The complexity of XPath query evaluation and XML typing. Journal of the ACM (JACM), 2005, 52 (2), pp.284-335. ⟨10.1145/1059513.1059520⟩. ⟨hal-02886548⟩
33 Consultations
107 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More