|
ABSTRACT
We investigate the type checking problem for XML queries: statically verifying that every answer to a query conforms to a given output DTD, for inputs satisfying a given input DTD. This problem had been studied by a subset of the authors in a simplified framework that captured the structure of XML documents but ignored data values. We revisit here the type checking problem in the more realistic case when data values are present in documents and tested by queries. In this extended framework, type checking quickly becomes undecidable. However, it remains decidable for large classes of queries and DTDs of practical interest. The main contribution of the present paper is to trace a fairly tight boundary of decidability for type checking with data values. The complexity of type checking in the decidable cases is also considered.
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
|
D. Beech, S. Lawrence, M. Maloney, N. Mendelsohn, and H. Thompson. XML schema part 1: Structures. May 1999. http://www.w3.org/TR/xmlschema-1/.
|
| |
2
|
P. Biron and A. Malhotra. XML schema part 2: Datatypes. May 1999. http://www.w3.org/TR/xmlschema-2/.
|
| |
3
|
A. Bruggemann-Klein, M. Murata, and D. Wood. Regular tree languages over non-ranked alphabets. Unpublished Manuscript, 1998.
|
| |
4
|
J. R. B. uchi. Weak second-order arithmetic and finite automata. Z. Math. Logik Grundl. Math., vol. 6, pp. 66-92, 1960.
|
| |
5
|
A. K. Chandra and M. Y. Vardi. The implication problem for functional and inclusion dependencies is undecidable. SIAM J. on Computing, 14(3):671-677, 1985.
|
| |
6
|
|
 |
7
|
Vassilis Christophides , Sophie Cluet , Jérǒme Simèon, On wrapping query languages and efficient XML integration, Proceedings of the 2000 ACM SIGMOD international conference on Management of data, p.141-152, May 15-18, 2000, Dallas, Texas, United States
|
| |
8
|
J. Clark. XML path language (XPath), 1999. http://www.w3.org/TR/xpath.
|
| |
9
|
J. Clark. XSL transformations (XSLT) specification, 1999. http://www.w3.org/TR/WD-xslt.
|
 |
10
|
Sophie Cluet , Claude Delobel , Jérǒme Siméon , Katarzyna Smaga, Your mediators need data conversion!, Proceedings of the 1998 ACM SIGMOD international conference on Management of data, p.177-188, June 01-04, 1998, Seattle, Washington, United States
|
| |
11
|
Alin Deutsch , Mary Fernandez , Daniela Florescu , Alon Levy , Dan Suciu, A query language for XML, Proceeding of the eighth international conference on World Wide Web, p.1155-1169, May 1999, Toronto, Canada
|
| |
12
|
H.-D. Ebbinghaus and J. Flum. Finite Model Theory. Springer, Second Edition, 1999.
|
| |
13
|
|
| |
14
|
R.L. Graham, B.L. Rothschild and J. H. Spencer, Ramsey Theory (Second Edition). Wiley, New York, 1990.
|
| |
15
|
H. Hosoya and B. C. Pierce. XDuce: An XML Processing Language. WebDB'2000 (Informal Proceedings).
|
 |
16
|
|
| |
17
|
|
 |
18
|
|
 |
19
|
Tova Milo , Dan Suciu , Victor Vianu, Typechecking for XML transformers, Proceedings of the nineteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.11-22, May 15-18, 2000, Dallas, Texas, United States
[doi> 10.1145/335168.335171]
|
| |
20
|
|
| |
21
|
F. Neven and T. Schwentick. XML Schemas without Order. Unpublished manuscript, 1999.
|
 |
22
|
|
| |
23
|
F. P. Ramsey, On a problem of formal logic. Proceedings of the London Mathematical Society, 30(2):264-286, 1929.
|
| |
24
|
J. Robie. The design of XQL, 1999. http://www.texcel.no/whitepapers/xql-design.html.
|
| |
25
|
|
| |
26
|
Wolfgang Thomas, Languages, automata, and logic, Handbook of formal languages, vol. 3: beyond words, Springer-Verlag New York, Inc., New York, NY, 1997
|
CITED BY 19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Richard Hull , Michael Benedikt , Vassilis Christophides , Jianwen Su, E-services: a look behind the curtain, Proceedings of the twenty-second ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.1-14, June 09-11, 2003, San Diego, California
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zhimao Guo , Shuigeng Zhou , Zhengchuan Xu , Aoying Zhou, G2ST: a novel method to transform GML to SVG, Proceedings of the 11th ACM international symposium on Advances in geographic information systems, p.161-168, November 07-08, 2003, New Orleans, Louisiana, USA
|
|
|
Wenfei Fan , Minos Garofalakis , Ming Xiong , Xibei Jia, Composable XML integration grammars, Proceedings of the thirteenth ACM international conference on Information and knowledge management, November 08-13, 2004, Washington, D.C., USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|