KB Article #66543
Multiple occurences XML document issue when fields are prefixed with namespace and prefix name differs from one occurence to the other
An Integration has for input of a DML Map an XML document with the following characteristics:
- the document contains multiple occurence elements
- leaf fields are prefixed with a specific namespace
- in each occurence a different prefix name is associated to this namespace
Example:
xmlns:Prefix0="http://axway.com", xmlns:Prefix1="http://axway.com", xmlns:Prefix4="http://axway.com"
<document>
<multiple occ element>
<Prefix0:field>someString</Prefix0:field>
</multiple occ element>
<multiple occ element>
<Prefix1:field>someString</Prefix1:field>
</multiple occ element>
<multiple occ element>
<Prefix4:field>someString</Prefix4:field>
</multiple occ element>
</document>
At runtime, when you trigger the Integration the parsing of the document fails though it is syntaxically correct.
Resolution
The solution consists in using the same prefix in each occurence.
Alternatively, you may udate Service Pack 13 with patch 11 or install Service Pack 15