Troubleshooting
Problem
The error *ERR: org.xml.sax.SAXParseException: The element type "***" must be terminated by the matching end-tag "***" appears in the jnitrace.log and Javatrace.log (where *** is a type and field number) when using the Java™ class adapter within a WebSphere Transformation Extender map.
Cause
XML data that includes a CDATA section is being passed to a public field of the Java class.
Resolving The Problem
The WebSphere Transformation Extender Java class adapter uses an XML message to invoke a customer defined Java class. In this XML message, each public field is wrapped in a CDATA section so that the data being passed is not parsed.
Since XML CDATA sections cannot be nested, the CDATA construct cannot be passed to a public field. If it is, an org.xml.sax.SAXParseException error will occur. See the W3C Recommendation for CDATA Sections for further information on the CDATA element.
The solution is to re-work the design of the map so that CDATA sections are not passed to a public field.
Product Synonym
Ascential DataStage TX Mercator
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21243970