Parse Xml pipeline file with java DOM parser

I try to parse an xml file containing pipeline with DOM parser in a java client code and I have the error message :

org.xml.sax.SAXParseException: org.apache.crimson.parser/P-076 Malformed UTF-8 char – is an XML encoding declaration missing?

Do you have any idea ?

xmlFile
PO_empty.xml (25.9 k)

You are not using a DOM parser if you are getting the org.xml.sax.SAXParseException. You are using a SAX parser.

There is a malformed character under title in your vendor record. You probably do not have the correct charset.

I tried to load this pipeline file into my editor and it appears to be corrupted and will not load. I examined the record in explorer, firefox and my xml editor.

HTH

Ray

Hi,

It may contain the characters other than UTF-8, as the integration server by default accepts UTF-8 Chracter set.

Thanks & Regards
Krishnan

On line 128, one of the value tags is not properly formed. Specifically it is the ZZCORRESP tag. The closing you need to add in a ‘<’ on the closing value.