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
Expand all | Collapse all

xmlNodeToDocument Error

  • 1.  xmlNodeToDocument Error

    Posted Fri January 13, 2012 01:56 AM

    Hi All,

    I am actually tring to convert an xmlNodeToDocument. The xml string has ‘&’ in one of the fields. ( eg: a & b).

    So, when in run-time its giving error saying:[ISC.0042.9332] Malformed entity reference: & b

    Please let me know how we can avoid this. I tried to see the built-in services guide but couldn’t find this.

    Any help is much appreciated.


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


  • 2.  RE: xmlNodeToDocument Error

    Posted Fri January 13, 2012 02:24 AM

    You can’t. Well, you could do a work-around but it’s not advisable.

    It’s not well-formed XML. Whatever generates the XML needs to HTML encode the data within the tags. The & needs to be & when the XML is generated.

    Any approach to “correct” it afterwards can be a fragile solution.


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