IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Parse Xml pipeline file with java DOM parser

    Posted Wed October 20, 2004 01:24 PM

    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)


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: Parse Xml pipeline file with java DOM parser

    Posted Wed October 20, 2004 03:09 PM

    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


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Parse Xml pipeline file with java DOM parser

    Posted Thu October 21, 2004 11:09 AM

    Hi,

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

    Thanks & Regards
    Krishnan


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 4.  RE: Parse Xml pipeline file with java DOM parser

    Posted Thu October 21, 2004 02:59 PM

    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.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods