IBM Support

Invalid XML created by map using DTD(Xerces) based Typetree mapping empty object to required attribute

Troubleshooting


Problem

Invalid XML can be created by an IBM WebSphere Transformation Extender (WTX) map that is using a Typetree imported from a DTD(Xerces) and when mapping an empty input object to a required attribute object on output.

Symptom

Invalid XML as per this example:

<?xml version="1.0" encoding="UTF-8"?>
<market> value="">PLACEHOLDER</market>

Cause

This has been identified as a product defect under APAR PI66253

Environment

Any platform with an IBM WebSphere Transformation Extender execution engine

Diagnosing The Problem

An extra '>' character is found in the output, causing the XML to be invalid.

Resolving The Problem

Obtain and apply the fix for APAR PI66253

[{"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Core Engine","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"8.3;8.3.0.0;8.3.0.1;8.3.0.2;8.3.0.3;8.3.0.4;8.3.0.5;8.3.0.6;8.4;8.4.0.0;8.4.0.1;8.4.0.2;8.4.0.3;8.4.0.4;8.4.0.5;8.4.1;8.4.1.0;8.4.1.1;8.4.1.2;8.4.1.3;8.4.1.4;9.0;9.0.0.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

More support for:
IBM Transformation Extender

Software version:
8.3, 8.3.0.0, 8.3.0.1, 8.3.0.2, 8.3.0.3, 8.3.0.4, 8.3.0.5, 8.3.0.6, 8.4, 8.4.0.0, 8.4.0.1, 8.4.0.2, 8.4.0.3, 8.4.0.4, 8.4.0.5, 8.4.1, 8.4.1.0, 8.4.1.1, 8.4.1.2, 8.4.1.3, 8.4.1.4, 9.0, 9.0.0.0

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

Document number:
547741

Modified date:
29 September 2018

UID

swg21987699