A normal form for XML documents

被引:153
作者
Arenas, M
Libkin, L
机构
[1] Univ Toronto, Dept Comp Sci, Toronto, ON M5S 3G4, Canada
[2] Univ Toronto, Dept Comp Sci, Toronto, ON M5S 3H5, Canada
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2004年 / 29卷 / 01期
关键词
D O I
10.1145/974750.974757
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This article takes a first step towards the design and normalization theory for XML documents. We show that, like relational databases, XML documents may contain redundant information, and may be prone to update anomalies. Furthermore, such problems are caused by certain functional dependencies among paths in the document. Our goal is to find away of converting an arbitrary DTD into a well-designed one, that avoids these problems. We first introduce the concept of a functional dependency for XML, and define its semantics via a relational representation of XML. We then define an XML normal form, XNF, that avoids update anomalies and redundancies. We study its properties, and show that XNF generalizes BCNF; we also discuss the relationship between XNF and normal forms for nested relations. Finally, we present a lossless algorithm for converting any DTD into one in XNF.
引用
收藏
页码:195 / 232
页数:38
相关论文
共 35 条
[1]  
ABITEBOUL S, 2001, P 12 ACM SIGACT SIGM, P150
[2]  
Abiteboul S., 1995, Foundations of databases, V1st
[3]   Cancer and the web [J].
Albertella, MR .
COMPARATIVE AND FUNCTIONAL GENOMICS, 2001, 2 (01) :35-43
[4]  
ARENAS M, 2003, P ACM PODS C, P15
[5]   FUNCTIONAL-DEPENDENCIES IN RELATIONS WITH NULL VALUES [J].
ATZENI, P ;
MORFUNI, NM .
INFORMATION PROCESSING LETTERS, 1984, 18 (04) :233-238
[6]  
Beeri C., 1978, Proceedings of the Fourth International Conference on Very Large Data Bases, P113
[7]   USING POWERDOMAINS TO GENERALIZE RELATIONAL DATABASES [J].
BUNEMAN, P ;
JUNG, A ;
OHORI, A .
THEORETICAL COMPUTER SCIENCE, 1991, 91 (01) :23-55
[8]  
BUNEMAN P, 2001, P 10 INT WORLD WID W, P201
[9]  
BUNEMAN P, 2001, P 8 INT WORKSH DAT P
[10]   LINEAR-TIME ALGORITHMS FOR TESTING THE SATISFIABILITY OF PROPOSITIONAL HORN FORMULAE. [J].
Dowling, William F. ;
Gallier, Jean H. .
Journal of Logic Programming, 1984, 1 (03) :267-284