Adding Temporal Constraints to XML Schema

作者:Currim Faiz A*; Currim Sabah A; Dyreson Curtis E; Snodgrass Richard T; Thomas Stephen W; Zhang Rui
来源:IEEE Transactions on Knowledge and Data Engineering, 2012, 24(8): 1361-1377.
DOI:10.1109/TKDE.2011.74

摘要

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.

  • 出版日期2012-8