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

See information about the latest product version

Migrating to XMLNSC

The XMLNSC parser offers the best combination of features and performance for most applications.

Reasons to migrate

If your message flow uses the XMLNS or XML domain, you might want to migrate a message flow to XMLNSC to take advantage of the XML schema validation. If your message flow uses the MRM domain, you might want to migrate to XMLNSC to obtain standards-compliant validation, and a large reduction in processor usage.

Migrating from the XMLNS or XML domain

The XMLNSC parser differs from the XMLNS parser in the following ways:
In most cases, the compact message tree has no effect on ESQL paths or XPath expressions. Typically, a simple message tree query produces the same results in XMLNSC as in the XMLNS or XML domain. Changing the correlation name from XMLNS to XMLNSC is often sufficient, but care must be taken with the following items:
  • Empty elements and null values.

    The XMLNSC parser does not always handle empty elements and null values in the same way as XML and XMLNS.

  • Complex XPath expressions that navigate to the value of an element, then to its parent in a single query.

    These expressions might produce different results in the XMLNSC domain.

The field type constants that are used by the XMLNSC parser are different from those constants used by XMLNS or XML. Every occurrence of XML.Attribute, XML.XmlDecl, for example, must be changed to use the equivalent XMLNSC field type constant.

The discarding of inline DTDs only affects message flows that process the DTD.

Migrating from MRM XML

The XMLNSC parser differs from the MRM XML parser in the following ways: Migrating a message flow from MRM to XMLNSC typically requires extensive changes to your message flow. However, the migration usually delivers a large reduction in processor usage, and allows much more accurate control of the output XML.

ac67210_.htm | Last updated Friday, 21 July 2017