Engineering Document Applications — From UML Models to XML Schemas
Chair for Applied Software Engineering, Technische Universität München
Engineering Publishing Technology Group, Technische Universität München
Modeling is a pivotal activity in the engineering of software systems; it is the key method to deal with complexity and change. Models support communication and drive software development processes. In the Engineering Publishing Technology Group, we aim to leverage modeling and other proven methods of software engineering for document engineering and electronic publishing. Particularly, in this paper, we align UML class diagrams, which model persistent data, with XML Schemas, which model the XML representation of persistent data as documents. Our method, which we call uml2xsd, transforms an XMI representation of a UML class diagram into an XML Schema that constrains XML instances of the UML model. It is patterned after transformations into XML Schema that XMI defines for models in its MOF language, which are closely related to UML class diagrams. With appropriate configuration, our method automates a transformation process that has been conceptually defined in our paper presented at Extreme Markup Languages 2007; it incorporates our handling of relations that has been presented at Balisage 2008.