Typechecking XML views of relational databases
-
Published:2003-07
Issue:3
Volume:4
Page:315-354
-
ISSN:1529-3785
-
Container-title:ACM Transactions on Computational Logic
-
language:en
-
Short-container-title:ACM Trans. Comput. Logic
Author:
Alon Noga1,
Milo Tova1,
Neven Frank2,
Suciu Dan3,
Vianu Victor4
Affiliation:
1. Tel Aviv University
2. Limburgs Universitair Centrum
3. University of Washington
4. U.C. San Diego, San Diego, La Jolla, CS
Abstract
Motivated by the need to export relational databases as XML data in the context of the Web, we investigate the
typechecking
problem for transformations of relational data into tree data (XML). The problem consists of statically verifying that the output of every transformation belongs to a given output tree language (specified for XML by a DTD), for input databases satisfying given integrity constraints. The typechecking problem is parameterized by the class of formulas defining the transformation, the class of output tree languages, and the class of integrity constraints. While undecidable in its most general formulation, the typechecking problem has many special cases of practical interest that turn out to be decidable. The main contribution of this article is to trace a fairly tight boundary of decidability for typechecking in this framework. In the decidable cases we examine the complexity, and show lower and upper bounds. We also exhibit a practically appealing restriction for which typechecking is in PTIME.
Publisher
Association for Computing Machinery (ACM)
Subject
Computational Mathematics,Logic,General Computer Science,Theoretical Computer Science
Reference33 articles.
1. Abiteboul S. Hull R. and Vianu V. 1995. Foundations of Data. Addison-Wesley Reading Mass.]] Abiteboul S. Hull R. and Vianu V. 1995. Foundations of Data. Addison-Wesley Reading Mass.]]
2. Beech D. Lawrence S. Maloney M. Mendelsohn N. and Thompson H. 1999. XML schema Part 1: Structures May 1999. http://www.w3.org/TR/xmlschema-1/.]] Beech D. Lawrence S. Maloney M. Mendelsohn N. and Thompson H. 1999. XML schema Part 1: Structures May 1999. http://www.w3.org/TR/xmlschema-1/.]]
Cited by
17 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. XML Typechecking;Encyclopedia of Database Systems;2018
2. XML Typechecking;Encyclopedia of Database Systems;2016
3. Static and dynamic semantics of NoSQL languages;ACM SIGPLAN Notices;2013-01-23
4. Generalized XML security views;International Journal of Information Security;2009-01-08
5. XML Typechecking;Encyclopedia of Database Systems;2009