IBM Integration Bus, Version 10.0.0.2 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


MRM XML physical format: Handling xsi:type attributes

The prefix "xsi" is the namespace prefix used by convention for the XML Schema instance namespace. XML documents can contain elements that have an xsi:type attribute. This behavior provides an explicit data type for the element.

The MRM XML parser in sensitive to xsi:type attributes in the XML document. It modifies the data type of the element accordingly and adds the xsi:type attribute into the message tree.

The MRM XML writer is sensitive to xsi:type attributes in the message tree. It produces xsi:type attributes according to XML Wire Format message set property Output policy for xsi:type attributes. For example, xsi:type attributes can be removed, output on all elements or output according to rules specified in the SOAP standard.

If validation is enabled for an IBM® Integration Bus message flow, the validation logic is sensitive to xsi:type attributes and uses them to modify the validation of the element. It also validates the values of xsi:type attributes by using the rules described in XML Schema Part 1: Structures on the World Wide Web Consortium (W3C) website.

There are several important points to remember when parsing and writing XML documents that contain xsi:type attributes.

For more information about xsi:type attributes, see XML Schema Part 0: Primer on the World Wide Web Consortium (W3C) website.


ad00795_.htm | Last updated 2015-09-24 12:52:08