IBM Support

Difference in input XML validation between Classic, Xerces and Native parsers

Question & Answer


Question

How are empty tags treated by the three different XML input validation engines in IBM Websphere TX

Answer

Where the Classic validation engine will see empty tags as PRESENT(), the Xerces and Native XSD parsers will only see empty tags if they contain attributes (even if those attributes are themselves empty)

[{"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF025","label":"Platform Independent"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"8.3.0.3;8.3.0.2;8.3.0.1;8.3;8.2.0.5;8.2.0.4;8.2.0.3;8.2.0.2;8.2.0.1;8.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

More support for:
IBM Transformation Extender

Software version:
8.3.0.3, 8.3.0.2, 8.3.0.1, 8.3, 8.2.0.5, 8.2.0.4, 8.2.0.3, 8.2.0.2, 8.2.0.1, 8.2

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows, z/OS

Document number:
406173

Modified date:
29 September 2018

UID

swg21429791