Adding temporal constraints to XML schema

Faiz A. Currim, Sabah A. Currim, Curtis E. Dyreson, Richard Thomas Snodgrass, Stephen W. Thomas, Rui Zhang

Research output: Contribution to journalArticle

13 Scopus citations

Abstract

If past versions of XML documents are retained, what of the various integrity constraints defined in XML Schema on those documents? This paper describes how to interpret such constraints as sequenced constraints, applicable at each point in time. We also consider how to add new variants that apply across time, so-called nonsequenced constraints. Our approach supports temporal documents that vary over both valid and transaction time, whose schema can vary over transaction time. We do this by replacing the schema with a (possibly time-varying) temporal schema and replacing the document with a temporal document, both of which are upward compatible with conventional XML and with conventional tools like XMLLINT, which we have extended to support the temporal constraints introduced here.

Original languageEnglish (US)
Article number5740886
Pages (from-to)1361-1377
Number of pages17
JournalIEEE Transactions on Knowledge and Data Engineering
Volume24
Issue number8
DOIs
Publication statusPublished - 2012

    Fingerprint

Keywords

  • Cardinality constraint
  • key constraint
  • referential integrity
  • temporal data
  • XML Schema constraint
  • XML validation

ASJC Scopus subject areas

  • Computational Theory and Mathematics
  • Information Systems
  • Computer Science Applications

Cite this

Currim, F. A., Currim, S. A., Dyreson, C. E., Snodgrass, R. T., Thomas, S. W., & Zhang, R. (2012). Adding temporal constraints to XML schema. IEEE Transactions on Knowledge and Data Engineering, 24(8), 1361-1377. [5740886]. https://doi.org/10.1109/TKDE.2011.74