Publication
Acta Informatica
Paper

On the equivalence between FDs in XML and FDs in relations

View publication

Abstract

With the growing use of the eXtensible Markup Language (XML) in database technology as a format for the permanent storage of data, the topic functional dependencies in XML (XFDs) has assumed increased importance because of its central role in database design. Recently, two different approaches have been proposed for defining an XFD. The first uses the concept of a 'tree tuple', whereas the second uses the concept of a 'closest node'. In general, the two approaches are not comparable, but are comparable when a Document Type Definition is present and there is no missing information in the XML document. The first contribution of this article shows that when the two XFD definitions are comparable, the definitions are equivalent, and so there is essentially a common definition of an XFD in complete XML documents. The second contribution is to provide justification for the definition of a 'closest node' XFD. We show that if a complete flat relation is mapped to an XML document by an arbitrary sequence of nest operations, the XML document satisfies a 'closest node' XFD if and only if the relation satisfies the corresponding functional dependency. The class of XML documents generated in this fashion is a subset of the class of XML documents for which the two definitions of XFDs coincide. Hence 'tree tuple' and 'closest node' XFDs both capture the semantics of FDs when a complete relation is mapped to an XML document via arbitrary nesting. © Springer-Verlag 2007.

Date

Publication

Acta Informatica

Authors

Share