TY - JOUR
T1 - Typechecking XML views of relational databases
AU - Alon, Noga
AU - Milo, Tova
AU - Neven, Frank
AU - Suciu, Dan
AU - Vianu, Victor
PY - 2001
Y1 - 2001
N2 - 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 paper 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.
AB - 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 paper 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.
UR - http://www.scopus.com/inward/record.url?scp=0034876635&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=0034876635&partnerID=8YFLogxK
U2 - 10.1109/LICS.2001.932517
DO - 10.1109/LICS.2001.932517
M3 - Article
AN - SCOPUS:0034876635
SN - 1043-6871
SP - 421
EP - 430
JO - Proceedings - Symposium on Logic in Computer Science
JF - Proceedings - Symposium on Logic in Computer Science
ER -