ACM Home Page
Please provide us with feedback. Feedback
On verifying consistency of XML specifications
Full text PdfPdf (311 KB)
Source Symposium on Principles of Database Systems archive
Proceedings of the twenty-first ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems table of contents
Madison, Wisconsin
SESSION: Research session 8: semistructured data and XML table of contents
Pages: 259 - 270  
Year of Publication: 2002
ISBN:1-58113-507-6
Authors
Marcelo Arenas  University of Toronto
Wenfei Fan  Bell Laboratories
Leonid Libkin  University of Toronto and Bell Laboratories
Sponsors
SIGART: ACM Special Interest Group on Artificial Intelligence
SIGMOD: ACM Special Interest Group on Management of Data
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 25,   Citation Count: 13
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/543613.543647
What is a DOI?

ABSTRACT

XML specifications often consist of a type definition (typically, a DTD) and a set of integrity constraints. It has been shown previously that such specifications can be inconsistent, and thus it is often desirable to check consistency at compile-time. It is known that for general keys and foreign keys, and DTDs, the consistency problem is undecidable; however, it becomes NP-complete when all keys are one-attribute (unary), and tractable, if no foreign keys are used.In this paper, we consider a variety of constraints for XML data, and study the complexity of the consistency problem. Our main conclusion is that in the presence of foreign keys, compile-time verification of consistency is usually infeasible. We look at two types of constraints: absolute (that hold in the entire document), and relative (that only hold in a part of the document). For absolute constraints, we extend earlier decidability results to the case of multi-attribute keys and unary foreign keys, and to the case of constraints involving regular expressions, providing lower and upper bounds in both cases. For relative constraints, we show that even for unary constraints, the consistency problem is undecidable. We also establish a number of restricted decidable cases.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
3
 
4
5
 
6
 
7
 
8
D. Calvanese, G. De Giacomo, and M. Lenzerini. Representing and reasoning on XML documents: A description logic approach. JLC 9 (1999), 295-318.
9
 
10
 
11
M. Carey et al. XPERANTO: Publishing object-relational data as XML. In WebDB 2000.
12
 
13
14
 
15
 
16
M. Fernandez, A. Morishima, D. Suciu, and W. Tan. Publishing relational data in XML: the SilkRoute approach. IEEE Data Eng. Bull., 24(2):12-19, 2001.
 
17
D. Florescu and D. Kossmann. Storing and querying XML data using an RDMBS. IEEE Data Eng. Bull., 22(3):27-34, 1999.
 
18
 
19
P. C. Kanellakis. On the computational complexity of cardinality constraints in relational databases. Information Processing Letters, 11(2):98-101, 1980.
 
20
D. Lee and W. W. Chu. Constraints-preserving transformation from XML document type definition to relational schema. In ER'2000.
 
21
 
22
 
23
24
 
25
C. H. Papadimitriou. Computational Complexity. Addison-Wesley, 1994.
 
26
 
27
 
28
W3C. Document Object Model (DOM) Level 1 Specification. W3C Recommendation, Oct. 1998.
 
29
W3C. Extensible Markup Language (XML) 1.0. W3C Recommendation, Feb. 1998.
 
30
W3C. XML-Data. W3C Note, Jan. 1998.
 
31
W3C. XML Path Language (XPath). Nov. 1999.
 
32
W3C. XSL Transformations (XSLT). Nov. 1999.
 
33
W3C. XML Schema. W3C Working Draft, May 2001.
 
34
W3C. XQuery 1.0: An XML Query Language. W3C Working Draft, June 2001.

CITED BY  13

Collaborative Colleagues:
Marcelo Arenas: colleagues
Wenfei Fan: colleagues
Leonid Libkin: colleagues