The search functionality is under construction.

IEICE TRANSACTIONS on Information

Satisfiability of Simple XPath Fragments under Duplicate-Free DTDs

Nobutaka SUZUKI, Yuji FUKUSHIMA, Kosetsu IKEDA

  • Full Text Views

    0

  • Cite this

Summary :

In this paper, we consider the XPath satisfiability problem under restricted DTDs called “duplicate free”. For an XPath expression q and a DTD D, q is satisfiable under D if there exists an XML document t such that t is valid against D and that the answer of q on t is nonempty. Evaluating an unsatisfiable XPath expression is meaningless, since such an expression can always be replaced by an empty set without evaluating it. However, it is shown that the XPath satisfiability problem is intractable for a large number of XPath fragments. In this paper, we consider simple XPath fragments under two restrictions: (i) only a label can be specified as a node test and (ii) operators such as qualifier ([]) and path union (∪) are not allowed. We first show that, for some small XPath fragments under the above restrictions, the satisfiability problem is NP-complete under DTDs without any restriction. Then we show that there exist XPath fragments, containing the above small fragments, for which the satisfiability problem is in PTIME under duplicate-free DTDs.

Publication
IEICE TRANSACTIONS on Information Vol.E96-D No.5 pp.1029-1042
Publication Date
2013/05/01
Publicized
Online ISSN
1745-1361
DOI
10.1587/transinf.E96.D.1029
Type of Manuscript
Special Section PAPER (Special Section on Data Engineering and Information Management)
Category
XML DB

Authors

Keyword