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

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

  • Affiliations:
  • UMR CNRS 8623, Université Paris Sud, Orsay F-91405, France;Dipartimento di Informatica, Universití di Pisa, Italy;Dipartimento di Informatica, Universití di Pisa, Italy

  • Venue:
  • Information Systems
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

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 the 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 content model into a set of constraints that completely characterizes the generated language. We then reduce inclusion checking to constraint implication. We exhibit a quadratic algorithm to perform inclusion checking on a RAM machine.