Title :
Typechecking XML views of relational databases
Author :
Alon, Noga ; Milo, Tova ; Neven, Frank ; Suciu, Dan ; Vianu, Victor
Author_Institution :
Tel Aviv Univ., Israel
Abstract :
Motivated by the need to export relational databases as XML data in the context of the World Wide Web, we investigate the type-checking problem for transformations of relational data into tree data (i.e. 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 document type definition), for input databases satisfying given integrity constraints. The type-checking 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 type-checking 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 type-checking 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 type-checking is in PTIME
Keywords :
computational complexity; data integrity; database theory; decidability; electronic data interchange; formal languages; hypermedia markup languages; information resources; relational databases; trees (mathematics); PTIME complexity class; World Wide Web; XML views; decidability; document type definition; integrity constraints; lower complexity bound; output tree languages; problem parameterization; relational data transformation; relational databases; static verification; transformation formulas; tree data; type checking; upper complexity bound; Industrial relations; Markup languages; Medical services; Relational databases; Web sites; XML;
Conference_Titel :
Logic in Computer Science, 2001. Proceedings. 16th Annual IEEE Symposium on
Conference_Location :
Boston, MA
Print_ISBN :
0-7695-1281-X
DOI :
10.1109/LICS.2001.932517