Research on XML Conceptual Model and Its Transformation

Author
ChenMing
Advisor
LiuHongXing
School
Wuhan University of Technology
Major
Applied Computer Technology
Classification
TP312 Programming language ALGOL
Degree
Master's thesis
Year
2006
Downloads
358
Citations
9

Request the full text

Abstract

XML(eXtensible Markup Language) has been widely used as a popular format to represent and exchange data. Many organizations store data in XML, and many database systems also support XML database. But a suitable conceptual model of XML is lacked.The research in this thesis is based on MDA principle. First, a new conceptual model of XML, named XUML, is introduced, which is a platform independent model. The XUML model is based on UML class diagram, and inherits the most semantics and features of UML class diagram. Matching the essential features of XML Schema: elements nesting/reference and types reuse, the XUML model introduces some new concepts such as business component, generic Aggregation, association in business component and so on.A business component contains a hierarchical XUML model. Generic aggregation represents hierarchical relationship, namely nesting of elements. Association in business component represents the reference and the hyperlink relationship between elements. Type reuse has two kinds: for complex type and for simple type. In order to reuse types at many times and many places, the XUML model can be divided into two parts: content part and type part, and the classes in the type part can be referred by the classes in the content part.The following is the main contribution in this thesis: transformation from XML conceptual model to XML logical model which is specified as XML Schema. In order to generate a better XML Schema document, Profiles are defined to extend XUML. The Profiles aim at the important features of XML Schema, and enable the semantics more explicit.This thesis defines some mapping rules from extended XUML, to XML Schema at some aspects such as class, attribute, relationship and constraint. Model transformation is based on these mapping rules. Before the transformation, marks are added to XUML, and then an extended XUML is produced. During the transformation, the content part is transformed to content document, and the type partis transformed to type document, then the two documents should be combined by "include" schema combination method. After the transformation, the generated documents should be adjusted according to application requirements.At last, a simple implementation method using PowerDesigner is introduced. For improving the model design and the model transformation, an implementation plan is proposed, which is based on Eclipse platform and XML Schema Infoset Model.

Table of contents

Chapter 1 Introduction 9-18 1.1 XML Overview 9-13 1.1.1 XML Introduction 9-10 1.1.2 XML 's The main application 10 1.1.3 XML pattern classification and characteristics 10-13 1.2 XML model-related research status 13-15 1.2.1 XML logic model and logic design 13 1.2.2 XML conceptual model and conceptual design 13-15 1.2.3 the main problem exists 15 <br / > 1.3 basic problems and research objectives of this paper 15-16 1.3.1 basic questions 15-16 1.3.2 research objectives 16 1.4 the main work of this paper 16-17 1.5 thesis organization 17-18 Chapter 2 XML conceptual model design 18-23 2.1 model Driven Architecture 18-21 2.1.1 basic Concepts 4个modeling level nbsp 18-19 2.1.2 OMG 's ; 19-21 <br / > 2.2 XML conceptual model design 21-23 2.2.1 methodological framework 21 2.2.2 The overall design process 21-23 Chapter 3 XML conceptual model XUML its design method nature 23-37 3.1 XUML model 23 3.2 XUML model defines 23-34 <br / > 3.2.1 the basic model component 24-26 3.2.2 generalized aggregation 26-28 3.2.3 business component , the path and scope 28-30 3.2.4 Contact Categories 30-33 3.2.5 XUML constraints 33-34 3.3 XUML design principles 34-37 <br / > 3.3.1 to determine the business components 34 3.3.2 design Contact 34-35 3.3.3 model classification 35-37 Article Profile defined in Chapter 4 XUML 37-50 4.1 model transformation outlined 37-38 4.2 XML Schema language 38-39 4.2.1 Introduction to XML Schema language 38 4.2.2 XML Schema important features 38-39 4.3 XML schema documents generated principle 39-42 4.3. a loose XML Schema 40-41 4.3.2 strict XML Schema 41-42 4.4 XUML 's Profile defined 42-47 4.4. 1 XUML extension mechanism Profile definitions 42-43 4.4.2 XUML of 43-47 4.5 mark XUML model 47-50 Article 5 XUML converted to XML Schema 50-69 5.1 mapping rules nbsp 50-62 5.1.1 mapping attributes ; 51-52 5.1 .2 class mapping mapping 52-57 5.1.3 contact 57-60 5.1.4 related constraints mapping 60-61 5.1.5 summarizes the overall mapping rules 61-62 5.2 XUML2WXS conversion former 62-65 5.2.1 conversion process 62-63 5.2 .2 conversion algorithm after 63-65 5.2.3 conversion process 65 5.3 XUML conversion constraints 65-69 5.3.1 structure on conversion setting nbsp 65-66 5.3.2 document layout ; 66 5.3.3 ensure that small redundancy Dalian pass 66-69 <br / > Chapter 6 XUML realization and conversion idea 69-77 6.1 based on PowerDesigner achieve XUML 69-72 6.1.1 PowerDesigner11.0 About 69-70 support 6.1.2 PowerDesigner11.0 for XUML of 70-72 6.1.3 problems 72 6.2 Eclipse achieve the vision to convert 72-77 6.2.1 XMI document and DOM parsing 72-73 6.2.2 XML Schema Infoset Model 73-74 6.2.3 Eclipse implementation platform conception 74-75 6.2.4 conversion realized 75-77 Chapter 7 summary and future work 77-78 7.1 research summary 77 7.2 next research program 77-78 References 78-83 Thanks 83-84 <br / > Master of published papers and participate in research during the study case 84-85 Appendix 1 data flow model transformation represents 85-86 Appendix 2 XUML model generated XML Schema documents 86-87

Related dissertations

  1. Method and Tool for Transforming XML Schema to Conceptual Model
    WangXingZhe ·Wuhan University of Technology ·2008 ·Master's thesis
  2. Dynamic Geometry Construction Language Based on XML
    ZhangRuiZuo ·Liaoning Normal University ·2013 ·Master's thesis
  3. Optimizing Twig Query Pattern Based on XML Schema
    LiHui ·Beijing University of Technology ·2013 ·Master's thesis
  4. Model Transformation from Uml to Web Services and Approach of Instance Document Generation
  5. A Study of Coding Index Based on Schema
  6. Research of XML Schema-Based Optimization for Middleware of Heterogeneous Database
  7. Design and Realization of Heterogeneous Database Conversion and Integration
    WuYan ·Southwest Jiaotong University ·2012 ·Master's thesis
  8. A Twig Query Oriented XML Type Inference
    LuoQing ·Beijing University of Technology ·2013 ·Master's thesis
  9. The Method Research on Resource Modeling and Verification of Real-Time Software Based on Model Transformation
  10. The Research on Approach Supporting Action Semantics Model Transformation
    WangYang ·Northeast Normal University ·2012 ·Master's thesis
  11. The MDA Model Transformation Oriented to J2EE Mainstream Framework
    XiePeiJi ·Huaqiao University ·2012 ·Master's thesis
  12. Design and Implementation MDA’s Metamodel and Model Based on SOA
  13. Research of MDA Based Rapid Development Platform and Application
    PangXueJiao ·University of Jinan ·2012 ·Master's thesis
  14. Service-oriented Model Driven Architecture Research and Platform Development on Company Software Application
  15. A Design and Implementation of the Foreign Trade Goods Inventory Management System Based on XML Date Storage Techonlogy
    LiuYiYue ·Jilin University ·2013 ·Master's thesis
  16. Research on Software Process of Wireless Sensor Network Based on MDA and Evolutionary Computation
  17. Research and Implementation of Model Driven Architecture Development Pattern
    ZhangLiZuo ·Beijing Jiaotong University ·2008 ·Master's thesis
  18. The Research of Software Generation Technology Based on the Model Driven Architecture
    WangJianGuang ·Taiyuan University of Technology ·2007 ·Master's thesis
  19. Application of MDA Based on xUML
    ZhuKui ·Dalian Maritime University ·2004 ·Master's thesis
  20. Application of model to measure credit risk of enterprises
    TaoYe ·Yangzhou University ·2013 ·Master's thesis