TY - CHAP
T1 - Mapping FIXML to OO with aspectual code generators
AU - Zschaler, Steffen
AU - Tehrani, Sobhan Yassipour
PY - 2014/11/24
Y1 - 2014/11/24
N2 - This paper provides a solution to the TTC 2014 FIXML study case. The case requires the implementation of a straightforward mapping from XML messages in the FIXML format to a set of source files implementing the schema of such a message and, optionally, an instantiation with the data from the message. There is a requirement for producing code in a range of programming languages. The biggest challenge for transformation design in this study case is that the same tag may occur in multiple places in the FIXML message, but with a different set of attributes. The generator must merge all of these occurrences into a single representation in the generated code. We demonstrate how the use of symmetric, language-aware code generators relieves the transformation developer almost entirely from considering this requirement. As a result, the transformation specifications we have written are extremely straightforward and simple. We present generation to Java and C#.
AB - This paper provides a solution to the TTC 2014 FIXML study case. The case requires the implementation of a straightforward mapping from XML messages in the FIXML format to a set of source files implementing the schema of such a message and, optionally, an instantiation with the data from the message. There is a requirement for producing code in a range of programming languages. The biggest challenge for transformation design in this study case is that the same tag may occur in multiple places in the FIXML message, but with a different set of attributes. The generator must merge all of these occurrences into a single representation in the generated code. We demonstrate how the use of symmetric, language-aware code generators relieves the transformation developer almost entirely from considering this requirement. As a result, the transformation specifications we have written are extremely straightforward and simple. We present generation to Java and C#.
UR - http://www.scopus.com/inward/record.url?scp=84917706696&partnerID=8YFLogxK
M3 - Conference paper
AN - SCOPUS:84917706696
VL - 1305
T3 - CEUR Workshop Proceedings
SP - 52
EP - 64
BT - Proceedings of the 7th Transformation Tool Contest part of the Software Technologies
A2 - Rose, Louis M
A2 - Krause, Christian
A2 - Horn, Tassilo
PB - CEUR-WS
T2 - 7th Transformation Tool Contest, TTC 2014, Part of the Software Technologies: Applications and Foundations, STAF 2014
Y2 - 25 July 2014 through 25 July 2014
ER -