Object Role Modelling and XML-Schema
XML is increasingly becoming the preferred method of encoding structured data for exchange over the Internet. XML-Schema, which is an emerging text-based schema definition language, promises to become the most popular method for describing these XML-documents. While text-based languages, such as XML-Schema, offer great advantages for data interchange on the Internet, graphical modelling languages are widely accepted as a more visually effective means of specifying and communicating data requirements for a human audience. With this in mind, this paper investigates the use of Object Role Modelling (ORM), a graphical, conceptual modelling technique, as a means for designing XML-Schemas. The primary benefit of using ORM is that it is much easier to get the model ‘correct’ by designing it in ORM first, rather than in XML. To facilitate this process we describe an algorithm that enables an XML-Schema file to be automatically generated from an ORM conceptual data model. Our approach aims to reduce data redundancy and increase the connectivity of the resulting XML instances.
Unable to display preview. Download preview PDF.
- 3.Halpin, T. 1998, ‘Object-Role Modeling (ORM/NIAM)’, Handbook on Architectures of Information Systems, Springer Heidelberg, Ch. 4.Google Scholar
- 4.Halpin, T. Conceptual Schema & Relational Database Design. 2nd edn, WytLytPub, 1999.Google Scholar
- 5.Halpin, T. 1999, ‘Fact-orientation before object-orientation: the case for data use cases’, DataToKnowledge Newsletter, vol. 27, no. 6.Google Scholar
- 6.Halpin, T. & Bloesch, A. 1999, ‘Data modeling in UML and ORM: a comparison’, Journal of Database Management, Idea group Hershey.Google Scholar
- 7.Bloesch, A. & Halpin, T. 1997, ‘Conceptual queries using ConQuer-II’, Proc. ER’97, Springer LNCS, no. 1331, pp. 113–26.Google Scholar
- 8.Bird, L. Data Reverse Engineering: from a Relational Database System to a 3-Dimensional Conceptual Schema. Ph.D. Thesis, Department of Computer Science and Electrical Engineering, The University of Queensland. 1997.Google Scholar