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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  XML parser error

    Posted 11/08/02 04:49 AM

    I am trying to parse an XML document that appears to be correct in syntax, but give this error. I am parsing by tag name getElementsByTagName(tag). This has worked fine until now.

    Any thoughts.

    Kind regards,

    Andy
    =================================================
    Exception: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1
    ab960) was found in the element content of the document.
    ================================================
    This is the document
    ================================================
    170348Octreotide (SANDOSTATIN)Schiedermaier P</Auth
    or>G


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management


  • 2.  RE: XML parser error

    Posted 11/08/02 02:50 PM

    One of the Document authors, Göke, has an accented character in his name. It looks as if the creator of your xml encoded that character into a single byte, so I think you need to specify
    <?xml version="1.0" encoding="iso-8859-1"?>
    in the xml header for your xml.


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods


  • 3.  RE: XML parser error

    Posted 11/08/02 03:54 PM

    I missed that.

    Thank you very much.

    Andy


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods