Consistency Check between XML Schema and Class Diagram for Document Versioning

Rosziati Ibrahim (1), Hannani Aman (2), Richi Nayak (3), Sapiee Jamel (4)
(1) Faculty of Computer Science and Information Technology, Universiti Tun Hussein Onn Malaysia (UTHM), Parit Raja, 86400, MALAYSIA
(2) Faculty of Computer Science and Information Technology, Universiti Tun Hussein Onn Malaysia (UTHM), Parit Raja, 86400, MALAYSIA
(3) School of Electrical Engineering and Computer Science, Queensland University of Technology (QUT), Brisbane, QLD 4000, AUSTRALIA
(4) Faculty of Computer Science and Information Technology, Universiti Tun Hussein Onn Malaysia (UTHM), Parit Raja, 86400, MALAYSIA
Fulltext View | Download
How to cite (IJASEIT) :
Ibrahim, Rosziati, et al. “Consistency Check Between XML Schema and Class Diagram for Document Versioning”. International Journal on Advanced Science, Engineering and Information Technology, vol. 8, no. 6, Dec. 2018, pp. 2590-7, doi:10.18517/ijaseit.8.6.5007.
A consistency check between design and implementation is usually done in order to check the correctness of the system’ requirements. However, if the requirements are changed over time, then the document versioning occurred within the requirements. For XML Schema, document versioning exists when there is a change in the XML Schema from its previous Schema. In order to detect the versioning of both XML Schemas, consistency rules check need to be performed to both class diagrams produced by both Schemas. The consistency between two XML Schemas is checked based on transformation rules and versioning rules. Transformation rules are used for translating the XML Schema into the class diagram, and versioning rules are used for checking the existing of document changes between two XML Schemas. Once two XML Schemas are different the consistency rules will be used for the consistency check. This paper presents an approach based on transformation rules and versioning rules to check consistency between XML Schema and UML class diagram when document versioning exist. The approach is then used for the case study to show how the consistency is checked in order to detect the versioning of two different XML Schemas. Based on the case study, the approach shows that two XML Schemas can be checked for their consistency when document versioning exist. 

UML2.5.1 (2018). OMG UML Specification. [Online]. Available: http://www.omg.org/spec/UML/2.5.1/

W3C Primer (2004). XML Schema Part 0 : Primer 2nd Edition. [Online]. Available at: http://www.w3.org/TR/2004/REC-xmlschema-0-20041028/

W3C Structure (2004). XML Schema Part 1: Structures 2nd Edition. [Online]. Available at: http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/

H. M. Chavez, W. Shen, R. B. France, B. A. Mechling, and G. Li. (2016). "An Approach to Checking Consistency between UML Class Model and Its Java Implementation," IEEE Transactions on Software Engineering, vol. 42, no. 4, pp. 322-344, April 2016.

Ibrahim, N., Ibrahim, R., Saringat, M.Z., Mansor, D and Herawan, T. (2011). “Consistency rules between UML use case and activity diagrams using a logical approach.” International Journal of Software Engineering and its Applications, 5 (3), pp. 119-134, 2011.

Cavalieri, F., Guerrini, G., and Mesiti, M. (2014). “ XSPath: Navigation on XML Schemas Made Easy.” IEE Transactions on Knowledge and Data Engineering, Vol 26, No. 2, pp. 485-499, February 2014.

Aman, H., Ibrahim, R. (2014). “Formalization of Transformation Rules from XML Schema to UML Class Diagram.” International Journal of Software Engineering and Its Application, 8(12), pp.75-90, 2014.

Aman, H., Ibrahim, R. (2017). “Formalization of versioning rules for XML schema using UML class diagram.” Journal of Theoretical and Applied Information Technology, 95 (15), pp. 3652-3661, 2017.

Tan, M., & Goh, A. (2004). Keeping Pace with Evolving XML-Based Specifications, 280-288.

Cavalieri, F., Guerrini, G., and Mesiti, M. (2011). “Updates on XML documents and schemas.” 2011 IEEE 27th International Conference on Data Engineering Workshops, pp. 308-311, 2011.

Cavalieri, F. (2010). “E X up: An Engine for the Evolution of XML Schemas and Associated Documents.” In EDBT Workshop Proceedings. 2010.

Brahmia, Z., Grandi, F., Oliboni, B., & Bouaziz, R. (2012). “Versioning of Conventional Schema in the tXSchema Framework.” 2012 Eighth International Conference on Signal Image Technology and Internet Based

IDEAS. (2018). House of Idea system. [Online]. Available: http://ideas.uthm.edu.my/

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

Authors who publish with this journal agree to the following terms:

    1. Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
    2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
    3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).