XML to annotations mapping definition with patterns

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.

[1]  Eli Tilevich,et al.  Reusable enterprise metadata with pattern-based structural expressions , 2010, AOSD.

[2]  Romain ROUVOY,et al.  Leveraging Component-Oriented Programming with Attribute-Oriented Programming , 2006 .

[3]  Norihisa Doi,et al.  Leveraging Metamodeling and Attribute-Oriented Programming to Build a Model-driven Framework for Domain Specific Languages , 2005 .

[4]  Eli Tilevich,et al.  Metadata invariants: Checking and inferring metadata coding conventions , 2012, 2012 34th International Conference on Software Engineering (ICSE).

[5]  Eduardo Martins Guerra,et al.  Idioms for code annotations in the Java language , 2010, SugarLoafPLoP '10.

[6]  Ralf Lämmel,et al.  Revealing the X/O Impedance Mismatch - (Changing Lead into Gold) , 2006, SSDGP.

[7]  Eli Tilevich,et al.  Annotation refactoring: inferring upgrade transformations for legacy applications , 2008, OOPSLA.

[8]  Eduardo Martins Guerra,et al.  Architectural patterns for metadata-based frameworks usage , 2010, PLOP '10.

[9]  Moharram Challenger,et al.  A DSL for the development of software agents working within a semantic web environment , 2013, Comput. Sci. Inf. Syst..

[10]  Jaroslav Porubän,et al.  XML to Annotations Mapping Patterns , 2013, SLATE.

[11]  Jaroslav Porubän,et al.  Leveraging Program Comprehension with Concern-oriented Source Code Projections , 2014, SLATE.

[12]  Renaud Pawlak Spoon: Compile-time Annotation Processing for Middleware , 2006, IEEE Distributed Systems Online.

[13]  Eduardo Martins Guerra,et al.  Quality Improvement in Annotated Code , 2010, CLEI Electron. J..

[14]  Erik Duval,et al.  Metadata Principles and Practicalities , 2002, D Lib Mag..

[15]  Jaroslav Porubän,et al.  Supporting multiple configuration sources using abstraction , 2012, Central European Journal of Computer Science.

[16]  Renaud Pawlak,et al.  AVal: an extensible attribute-oriented programming validator for Java: Research Articles , 2007 .