Well-definedness and semantic type-checking in the nested relational calculus and XQuery

  • Authors:
  • Jan Van den Bussche;Dirk Van Gucht;Stijn Vansummeren

  • Affiliations:
  • Limburgs Universitair Centrum, Diepenbeek, Belgium;Indiana University, Bloomington, Indiana;Limburgs Universitair Centrum, Diepenbeek, Belgium

  • Venue:
  • ICDT'05 Proceedings of the 10th international conference on Database Theory
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Two natural decision problems regarding the XML query language XQuery are well-definedness and semantic type-checking. We study these problems in the setting of a relational fragment of XQuery. We show that well-definedness and semantic type-checking are undecidable, even in the positive-existential case. Nevertheless, for a “pure” variant of XQuery, in which no identification is made between an item and the singleton containing that item, the problems become decidable. We also consider the analogous problems in the setting of the nested relational calculus.