Alignment of ISA-95 and B2MML

Business To Manufacturing Markup Language, in short B2MML, is an open source XML implementation of ISA-95, published by the Manufacturing Enterprise Solutions Association International (MESA International). The current version is v04 B2MML. B2MML is used as the de facto standard interface to exchange the contents defined in ISA-95.

B2MML consists of a set of XML schemas written in a XML Schema Definition and therefore defines the data models in the ISA-95 standard \cite{B2MML} syntactically.

Every facets of ISA-95 is in defined in seperate files. Listing shows an example of a specific material using B2MML. The material is specified as a “100 mm steel pipe” (ID: “FBFG3836744”), belonging to the class “raw material” with specified minimum and maximum levels of inventory (0kg and 1000kg, respectively).
ExampleMaterial Small test example 2014-06-15T00:00:00 FBFG3836744 100mm steel pipe Min 0 kg Max 1000 kg raw material

<?xml version="1.0" encoding="utf-8"?>
<MaterialInformation
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.wbf.org/xml/B2MML-V05">
<ID>ExampleMaterial</ID>
<Description>Small test example</Description>
<PublishedDate>2014-06-15T00:00:00</PublishedDate>
<MaterialDefinition>
<ID>FBFG3836744</ID>
<Description>100mm steel pipe</Description>
<MaterialDefinitionProperty>
<ID>Min</ID>
<Value>
<ValueString>0</ValueString>
<DataType />
<UnitOfMeasure>kg</UnitOfMeasure>
<Key />
</Value>
</MaterialDefinitionProperty>
<MaterialDefinitionProperty>
<ID>Max</ID>
<Value>
<ValueString>1000</ValueString>
<DataType />
<UnitOfMeasure>kg</UnitOfMeasure>
<Key />
</Value>
</MaterialDefinitionProperty>
<MaterialClassID>raw material</MaterialClassID>
</MaterialDefinition>
</MaterialInformation> 

In contrast to the XMI generated by the model-driven approach it has several advantages and disadvantages by design.
XMI is a specific application of XML. Therefore XML, can be used for all XML applications, including XMI.
XMI based implementation are richer in terms of their semantic, because it uses the developed information from the metamodel, defined with UML. The XML approach connections can only be realized through ids, which cannot be semantically validated.

B2MML files can generated from the with model to text tranformations. Previous efforts seemed promising.