Consistency of XML specifications

  • Authors:
  • Marcelo Arenas;Wenfei Fan;Leonid Libkin

  • Affiliations:
  • Department of Computer Science, University of Toronto;University of Edinburgh & Bell Laboratories;Department of Computer Science, University of Toronto

  • Venue:
  • Inconsistency Tolerance
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Specifications of XML documents typically consist of typing information (for example, a DTD), and integrity constraints (for example, keys and foreign keys). We show that combining the two may lead to seemingly reasonable specifications that are nevertheless inconsistent: there is no XML document that both conforms to the DTD and satisfies the constraints. We then survey results on the complexity of consistency checking, and show that, depending on the classes of DTDs and constraints involved, it ranges from linear time to undecidable. Furthermore, we show that for some of the most common classes of specifications checking consistency is intractable.