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

Dario Colazzo, Giorgio Ghelli, Carlo Sartiani

Research output: Contribution to journalArticlepeer-review

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.

Original languageEnglish
Pages (from-to)643-656
Number of pages14
JournalInformation Systems
Volume34
Issue number7
DOIs
Publication statusPublished - 1 Jan 2009
Externally publishedYes

Keywords

  • Regular expressions
  • Subtyping
  • XML
  • XML Schema

Fingerprint

Dive into the research topics of 'Efficient inclusion for a class of XML types with interleaving and counting'. Together they form a unique fingerprint.

Cite this