XML with data values: typechecking revisited

  • Authors:
  • Noga Alon;Tova Milo;Frank Neven;Dan Suciu;Victor Vianu

  • Affiliations:
  • Computer Science Department, Tel Aviv University, Tel Aviv 69978, Israel;Computer Science Department, Tel Aviv University, Tel Aviv 69978, Israel;University of Limburg (LUC), Department WNI, Universitaire Campus, B-3590 Diepenbeek, Belgium;Computer Science and Engineering, University of Washington, Box 352350, Seattle, WA;Department of Computer Science and Engineering, University of California, San Diego, 9500 Gilman Drive, La Jolla, CA

  • Venue:
  • Journal of Computer and System Sciences - Special issu on PODS 2001
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

We investigate the typechecking problem for XML queries: statically verifying that every answer to a query conforms to a given output DTD, for inputs satisfying a given input DTD. This problem had been studied by a subset of the authors in a simplified framework that captured the structure of XML documents but ignored data values. We revisit here the typechecking problem in the more realistic case when data values are present in documents and tested by queries. In this extended framework, typechecking quickly becomes undecidable. However, it remains decidable for large classes of queries and DTDs of practical interest. The main contribution of the present paper is to trace a fairly tight boundary of decidability for typechecking with data values. The complexity of typechecking in the decidable cases is also considered.