XML to Annotations Mapping Definition with Patterns
- Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Košice
Letná 9, 042 00, Košice, Slovakia
milan.nosal@gmail.com, jaroslav.poruban@tuke.sk
Abstract
Currently, the most commonly created formal languages are configuration languages. So far source code annotations and XML are the leading notations for configuration languages. In this paper, we analyse the correspondence between these two formats. We show that there are typical XML to annotations mapping solutions (mapping patterns) that indicate a correspondence between embedded and external metadata formats in general. We argue that mapping patterns facilitate creating configuration tools and we use a case study to show how they can be used to devise a mapping between these two notations.
Key words
Mapping Patterns, Language Design, Source Code Annotations, Attribute-oriented Programming, XML
Digital Object Identifier (DOI)
https://doi.org/10.2298/CSIS130920049N
Publication information
Volume 11, Issue 4 (October 2014)
Special Issue on Advances in Systems, Modeling, Languages and Agents
Year of Publication: 2014
ISSN: 2406-1018 (Online)
Publisher: ComSIS Consortium
Full text
Available in PDF
Portable Document Format
How to cite
Nosál, M., Porubän, J.: XML to Annotations Mapping Definition with Patterns. Computer Science and Information Systems, Vol. 11, No. 4, 1455–1477. (2014), https://doi.org/10.2298/CSIS130920049N