Efficient inclusion for a class of XML types with interleaving and counting

  • Authors:
  • Giorgio Ghelli;Dario Colazzo;Carlo Sartiani

  • Affiliations:
  • Dipartimento di Informatica, Università di Pisa, Italy;Université Paris Sud, UMR, CNRS, Orsay, France;Dipartimento di Informatica, Università di Pisa, Italy

  • Venue:
  • DBPL'07 Proceedings of the 11th international conference on Database programming languages
  • Year:
  • 2007

Quantified Score

Hi-index 0.01

Visualization

Abstract

Inclusion between XML types is important but expensive, and is much more expensive when unordered types are considered. We prove here that inclusion for XML types with interleaving and counting can be decided in polynomial time in presence of two important restrictions: no element appears twice in the same content model, and Kleene star is only applied to disjunctions of single elements. Our approach is based on the transformation of each such type into a set of constraints that completely characterizes the type. We then provide a complete deduction system to verify whether the constraints of one type imply all the constraints of another one.