|
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
|
Chaitan Baru , Amarnath Gupta , Bertram Ludäscher , Richard Marciano , Yannis Papakonstantinou , Pavel Velikhov , Vincent Chu, XML-based information mediation with MIX, Proceedings of the 1999 ACM SIGMOD international conference on Management of data, p.597-599, May 31-June 03, 1999, Philadelphia, Pennsylvania, United States
|
| |
4
|
|
 |
5
|
Peter Buneman , Susan Davidson , Wenfei Fan , Carmem Hara , Wang-Chiew Tan, Keys for XML, Proceedings of the 10th international conference on World Wide Web, p.201-210, May 01-05, 2001, Hong Kong, Hong Kong
[doi> 10.1145/371920.371984]
|
| |
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
|
Jayavel Shanmugasundaram , Eugene J. Shekita , Rimon Barr , Michael J. Carey , Bruce G. Lindsay , Hamid Pirahesh , Berthold Reinwald, Efficiently Publishing Relational Data as XML Documents, Proceedings of the 26th International Conference on Very Large Data Bases, p.65-76, September 10-14, 2000
|
| |
27
|
Jayavel Shanmugasundaram , Kristin Tufte , Chun Zhang , Gang He , David J. DeWitt , Jeffrey F. Naughton, Relational Databases for Querying XML Documents: Limitations and Opportunities, Proceedings of the 25th International Conference on Very Large Data Bases, p.302-314, September 07-10, 1999
|
| |
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
|
|
|
|
|
|
|
|
Michael Benedikt , Chee-Yong Chan , Wenfei Fan , Juliana Freire , Rajeev Rastogi, Capturing both types and constraints in data integration, Proceedings of the 2003 ACM SIGMOD international conference on Management of data, June 09-12, 2003, San Diego, California
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|