Abstract
The widespread use of XML brings out the need of ensuring the validity of XML data. The use of languages such as XML Schema makes easier the process of verification of XML documents, but the problem is that there are many constraints that can not be expressed by means of XML Schema. Besides, several works in the literature defend the consideration of a conceptual level in order to save XML designers from dealing with low level implementation issues. The approach of this paper is based on the inclusion of such a conceptual level, using UML as a conceptual modeling language. Starting from a UML class diagram annotated with conceptual constraints, our framework automatically generates an XML Schema together with a set of XSLT stylesheets to check those integrity constraints that can not be expressed in XML Schema.
This work has been partially supported by DGI, project TIN2005-05534, by the Government of La Rioja, project ANGI 2005/19, by the Government of Aragon and by the European Social Fund.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Bernauer, M., Kappel, G., Kramler, G.: Representing XML Schema in UML - A Comparison of Approaches. In: Koch, N., Fraternali, P., Wirsing, M. (eds.) ICWE 2004. LNCS, vol. 3140, pp. 440–444. Springer, Heidelberg (2004)
Bird, L., Goodchild, A., Halpin, T.: Object Role Modelling and XML-Schema. In: Laender, A.H.F., Liddle, S.W., Storey, V.C. (eds.) ER 2000. LNCS, vol. 1920, pp. 309–322. Springer, Heidelberg (2000)
Costello, R.: Extending XML Schemas, http://www.xfront.com/ExtendingSchemas.html
Conrad, R., Scheffner, D., Freytag, J.C.: XML Conceptual Modeling Using UML. In: Laender, A.H.F., Liddle, S.W., Storey, V.C. (eds.) ER 2000. LNCS, vol. 1920, pp. 558–571. Springer, Heidelberg (2000)
Domínguez, E., Lloret, J., Rubio, A.L., Zapata, M.A.: Elementary translations: the seesaws for achieving traceability between database schemata. In: Wang, S., Tanaka, K., Zhou, S., Ling, T.-W., Guan, J., Yang, D.-q., Grandi, F., Mangina, E.E., Song, I.-Y., Mayr, H.C. (eds.) ER Workshops 2004. LNCS, vol. 3289, pp. 377–389. Springer, Heidelberg (2004)
Domínguez, E., Lloret, J., Rubio, A.L., Zapata, M.A.: Evolving XML schemas and documents using UML class diagrams. In: Andersen, K.V., Debenham, J., Wagner, R. (eds.) DEXA 2005. LNCS, vol. 3588, pp. 343–352. Springer, Heidelberg (2005)
Hainaut, J.–L., Hick, J.–M., Englebert, V., Henrard, J., Roland, D.: Understanding the implementation of ISA relations. In: Thalheim, B. (ed.) ER 1996. LNCS, vol. 1157, pp. 42–57. Springer, Heidelberg (1996)
Hu, J., Tao, L.: An Extensible Constraint Markup Language: Specification, Modeling, and Processing. In: XML 2004 Conference, IDEAlliance 2004 (2004)
Jellife, R.: Schematron (October 2002), http://www.ascc.net/xml/resource/schematron/
Krumbein, T., Kudrass, T.: Rule-Based Generation of XML Schemas from UML Class Diagrams. In: Tolksdorf, R., Eckstein, R. (eds.) Berliner XML Tage 2003, XML-Clearinghouse 2003, pp. 213–227 (2003)
Laender, A.H.F., Casanova, M.A., de Carvalho, A.P., Ridolfi, L.F.G.G.M.: An analysis of SQL integrity constraints from an entity-relationship perspective. Information Systems 10(4), 331–358
Marinelli, P., Coen, C.S., Vitalli, F.: Schemapath, a minimal extension to XML schema for conditional constraints. In: Proceedings WWW 2004, pp. 164–174 (2004)
OMG: UML 2.0, OCL 2.0 specifications (2005), Available at: http://www.omg.org
Routledge, N., Bird, L., Goodchild, A.: UML and XML schema. In: Zhou, X. (ed.) Database Technologies 2002, 13th Australasian Database Conference (2002)
W3C XML Working Group: Extensible Markup Language (XML) 1.0 (3rd ed.), XML Schema Part 1: Structures (2nd ed.), XSL Transformations (XSLT) Version 1.0, Available at: http://www.w3.org
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Domínguez, E., Lloret, J., Rubio, Á.L., Zapata, M.A. (2006). Validation of XML Documents: From UML Models to XML Schemas and XSLT Stylesheets. In: Yakhno, T., Neuhold, E.J. (eds) Advances in Information Systems. ADVIS 2006. Lecture Notes in Computer Science, vol 4243. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11890393_6
Download citation
DOI: https://doi.org/10.1007/11890393_6
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-46291-0
Online ISBN: 978-3-540-46292-7
eBook Packages: Computer ScienceComputer Science (R0)