Applications of XML Constraints in XML Data Storage, Publishing and Transformation

Author
WangQing
Advisor
ZhouAoYing
School
Fudan University
Major
Computer Software and Theory
Classification
TP311.1 Programming
Degree
Doctoral dissertation
Year
2004
Downloads
726
Citations
1

Request the full text

Abstract

In the past several years, XML has been one of the standards for data exchangeon the Web. It is widely applied in many fields, and much research work is done on it.Many great achievements are gained in research on XML data model, XML datastorage, XML query processing, query optimization, and indexes, and so forth. Weresearch the following topics based on the previous work on XML: transforming keysfrom XML to relation, mapping XML documents to relations in the presence of XMLfunctional dependencies, and XML schema-oriented XML data transformations,which include XML schema-directed relational data to XML data publishing, andXML schema-conforming XML data to XML data transformation. As a result, wepropose effective algorithms and prove their correctness. We also implement themethods in our prototype systems, and conduct preliminary experiments. Thoseexperimental results verify the effectiveness of our techniques. Our research resultsare valuable not only in theory but also in practical applications. The maincontributions of the paper are as follows: 1) In this paper, we consider an important class of XML semantic constraints,XML keys, and try to find the relationship between XML keys and relation keys. Wedesign a heuristic algorithm to transform XML keys into relation keys. We also givethe proof that our algorithm can guarantee the completeness of the set of relation keysafter transformation. Based on this, we develop a system named as KeyGen withVisual C++ for key transformation. When users want to import online XML data intolocal relational databases, the facility KeyGen in this paper can be adopted to predictwhether importing will be completed successfully or not in advance in the constraintlevel. 2) Many methods for mapping XML to relations have been proposed withoutconsidering the semantic constraints of XML data before. But those constraints arevery important to design schemas for storage, optimize queries, and check updateanomalies, etc. We consider another important class of XML semantic constraints,XML functional dependencies XML FDs, and then present a method based on thehybrid inlining to map XML to relations for storage in the presence of XML FDsspecified over DTDs. It can preserve the XML FDs, as well as the content and thestructure of the XML data, in relational databases. Borrowing the concept of XML FD,a better relational schema can be obtained by our method. Therefore, much storage 3<WP=9>Abstractredundancy can be reduced. Furthermore, we prove that those relations mapped fromXML are all in Third Normal Form. 3) When data is exchanged on the Web, the XML schemas of the two entities(their standards) must be considered. If the source data is relational data, it needs to bepublished into XML data conforming to the schema of the target entity. On the otherhand, if the source data is XML data, it also needs to be transformed into the XMLdata which conforms to the schema of the target entity. However, the majority ofresearch on XML publishing and transformation ignores this point. In this paper, weassume that there always exists a predefined XML schema and users require thatXML data must conform to the schema after publishing or transformation.Specifically speaking, the schema is represented by DTD. We discuss the problem ofDTD-directed relational data to XML data publishing, and the problem ofDTD-conforming XML data to XML data transformation. We present two sistertechniques, Attribute Translation Grammar ATG and XML Transformation GrammarXTG, to solve the above two problems, respectively. Then we use Java to develop twosystems, PRATA and TREX, as two facilities for pratical applications. 4) Because the techniques for relational data to XML data publishing are allrelated to backend relational databases, the optimization approaches presented inXML publishing systems rely on relational databases. Considering the parti

Table of contents

Abstract 6-8 ABSTRACT 8-10 first chapter 10-26 1.1 Background 10-12 < br /> 1.2 XML data storage 12-14 1.3 XML semantic constraints 14-16 1.4 XML publishing and conversion 16-20 1.5 XML publishing and conversion process optimization problems 20-23 1.6 the research purpose and content 23-24 1.6.1 XML to relational keyset keyset conversion 23 1.6.2 XML document and its functional dependency to-relational mapping 23-24 1.6.3 XML data releases and conversion 24 1.7 paper structure 24-26 Chapter XML to relational keyset keyset conversion 26-50 2.1 Introduction 26 - 28 2.2 basic concepts : XML key 28-37 2.2.1 Overview 28-30 2.2.2 tree model 30-32 < br /> 2.2.3 path Language 32-34 2.2.4 XML key 34-36 2.2.5 XML key inference rule 36-37 < br /> 2.3 XML to relational keyset keyset conversion 37-45 2.3.1 XML data into relational data import rules 37-38 2.3.2 relations tree model 38-39 2.3.3 relational data build process 39-40 2.3.4 XML to relational keyset keyset conversion algorithm 40 -44 2.3.5 relevant conclusions 44-45 2.4 example 45-47 2.5 keyset conversion system KEYGEN 47-49 <br / > 2.6 Chapter Summary 49-50 Chapter XML documents and functional dependencies to-relational mapping 50-60 3.1 Introduction 50 <br / > 3.2 basic concepts : XML functional dependency 50-54 3.3 XML and its functional dependency to-relational mapping 54-57 3.3.1 XML to relational and functional dependency the mapping algorithm 54-56 3.3.2 relevant conclusions 56-57 3.4 example 57-59 3.5 Summary 59-60 Chapter DTD-driven relational data to XML data releases 60-71 4.1 Introduction 60-61 4.2 basic concepts : DTD and DTD compliance 61-63 4.3 attribute translation grammars 63-67 4.3.1 attribute translation grammars ATG 63-64 4.3. 2 attribute grammar translation calculation process 64-67 4.3.3 attribute grammar translation features 67 4.4 XML publishing system PRATA 67-70 <br / > 4.5 Chapter Summary 70-71 comply with Chapter DTD XML data conversion between 71-98 5.1 Introduction 71-73 5.2 XML conversion grammar 73-78 5.2.1 XML conversion grammar XTG 73-74 5.2.2 XML grammar conversion calculation process 74-78 < br /> 5.3 XML conversion system TREX 78-81 5.4 optimization 81-92 5.4.1 buffering strategy 81-83 5.4 .2 Figure reduction 83-86 5.4.3 path extension 86-87 5.4.4 FIXT Index 87-92 5.5 experiment results 92-97 5.5.1 Figure reduction and path extended experimental comparison 92-94 5.5.2 FIXT index experimental comparison 94-97 5.6 Chapter Summary 97-98 Chapter VI Conclusion 98-101 References 101-114 Appendix 114-117 doctoral research projects during participation 114 involved in the development of the prototype system 114 have been published or accepted papers 114 -116 participate in academic activities 116-117 Postscript 117-119

Related dissertations

  1. Research on Automating Heterogeneous XML Transformation
  2. Querying, Transformation and Integration of XML Data
    GuoZhiZuo ·Fudan University ·2005 ·Doctoral dissertation
  3. Research and Implementation of the framework and components in the field of electronic declaration