In addition, validation of the XML data is not consid-
ered, i.e. whether the data in the XML conforms to
the constraints given in the corresponding XSD.
In this paper, we propose a framework for the au-
tomated integration of XML data of arbitrary XML
schemas into UML models, creating a unified UML
and XML data base. This single source of data can
serve as a pivot for collaboration, enabling quick
round-trip engineering and promoting codesign.
In particular, changes made to XML descrip-
tions, such as IP-XACT, can quickly be reflected
in the UML side, which opens up new possibilities
with respect to model-based activities, such as anal-
yses, model-to-model or model-to-text transforma-
tions, code generation in particular, and simulations.
By specifying mappings between XSD and UML
elements, UML models can be created from complex
XML data. Using our approach, UML can also be
used as a frontend for editing arbitrary XML data
with validation according to the constraints given in
the corresponding XSD.
The remainder of this paper is structured as fol-
lows. In Section 2, we discuss related work. Section 3
presents our main contribution, the automated frame-
work. In Section 4, we illustrate our contribution with
a typical industrial use case based on IP-XACT and
MARTE. Finally, we conclude our work in Section 5.
2 RELATED WORK
There exists a large body of research on the repre-
sentation of XML schemas in UML. For instance, see
(Bernauer et al., 2004) for an overview.
However, to the best of our knowledge, no prior
work addressing the integration of arbitrary XML
data into UML models exists. As mentioned in the
introduction, there have been numerous approaches
at integrating IP-XACT and UML in the field of
model-driven embedded software and hardware de-
velopment, since IP-XACT and UML, in particular
MARTE, have a complementary relationship with re-
spect to the information they provide. In the follow-
ing, we will outline these approaches.
Initial efforts created dedicated UML profiles
which enabled integrating IP-XACT data to some de-
gree. Arpinen et al. (2008) presented a codesign
framework based around their TUT-Profile. Their
framework allows structural hardware platform de-
signs created in UML to be exported to IP-XACT de-
signs. A similar approach was employed by Revol
et al. (2008), who developed the ESL profile, which
creates a bridge between the hardware resource model
of MARTE and IP-XACT. In their proposed method-
ology, the hardware platform is modeled by using
MARTE together with their profile. The model
can then be exported to IP-XACT designs and Sys-
temC code. Khan et al. (2008a, 2009) proposed
to use MARTE models to create IP-XACT descrip-
tions, which they enrich with timing information pro-
vided by MARTE. Khan et al. (2008b) embedded IP-
XACT descriptions in MARTE using a custom pro-
file. Schattowksy et al. (2009) created a comprehen-
sive UML profile for IP-XACT which effectively al-
lows UML to be used as a frontend for editing and
managing IP-XACT data. Weissnegger et al. (2017)
also extended MARTE with a custom profile for IP-
XACT data to create detailed models of hardware
platforms, from which they generate virtual proto-
types.
An approach similar to the one we propose was
presented by Tallec et al. (2011). IP-XACT descrip-
tions are extracted from SystemC code, which then
are used to synthesize MARTE models. Transforma-
tion of MARTE models back to IP-XACT descrip-
tions is proposed as well, in which additional infor-
mation provided by the MARTE model is stored in
IP-XACT vendor extensions. However, their trans-
formations do not use the entire IP-XACT standard,
abstracting away some information.
Herrera et al. (2012) introduced a framework
for the automatic generation of executable models
enabling early design space exploration. In their
proposed framework, IP-XACT descriptions of the
hardware platform are automatically generated from
MARTE models. Their framework does not integrate
IP-XACT data into the MARTE models.
Ochoa-Ruiz (2013) proposed a high-level method-
ology for IP-XACT and MARTE codesign that intro-
duces transformation rules between both standards.
However, his work does not cover all aspects of IP-
XACT and MARTE and abstracts from certain con-
cepts.
All these approaches have a number of drawbacks.
The custom profiles that enable IP-XACT and UML
codesign are hand-crafted and mostly based on older
versions of the IP-XACT standard. This implies that
refactoring these profiles to conform to the most re-
cent version of IP-XACT has to be done manually in
a tedious and error-prone process. Most approaches
only integrate parts of the IP-XACT standard or ab-
stract away from it, leaving out potentially important
information. In addition, the codesign direction of
a large portion of these approaches is unidirectional,
prohibiting round-trip engineering.
With our framework, custom profiles for XML
handling can be generated automatically and easily
adapted to evolutions of the underlying XSDs. The
Bridging XML and UML - An Automated Framework
379