English

A Language-theoretic View on Guidelines and Consistency Rules of UML

Software Engineering 2009-05-15 v1 Formal Languages and Automata Theory

Abstract

Guidelines and consistency rules of UML are used to control the degrees of freedom provided by the language to prevent faults. Guidelines are used in specific domains (e.g., avionics) to recommend the proper use of technologies. Consistency rules are used to deal with inconsistencies in models. However, guidelines and consistency rules use informal restrictions on the uses of languages, which makes checking difficult. In this paper, we consider these problems from a language-theoretic view. We propose the formalism of C-Systems, short for "formal language control systems". A C-System consists of a controlled grammar and a controlling grammar. Guidelines and consistency rules are formalized as controlling grammars that control the uses of UML, i.e. the derivations using the grammar of UML. This approach can be implemented as a parser, which can automatically verify the rules on a UML user model in XMI format. A comparison to related work shows our contribution: a generic top-down and syntax-based approach that checks language level constraints at compile-time.

Keywords

Cite

@article{arxiv.0905.2367,
  title  = {A Language-theoretic View on Guidelines and Consistency Rules of UML},
  author = {Zhe Chen and Gilles Motet},
  journal= {arXiv preprint arXiv:0905.2367},
  year   = {2009}
}

Comments

16 pages. In Proceedings of the 5th European Conference on Model Driven Architecture - Foundations and Applications (ECMDA-FA 2009), Enschede, The Netherlands, Lecture Notes in Computer Science 5562, pp. 66-81. Springer, 2009

R2 v1 2026-06-21T13:02:20.550Z