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

XSLT Server Extension problem with ISO-8859-1 encoding

  • 1.  XSLT Server Extension problem with ISO-8859-1 encoding

    Posted Mon June 17, 2002 08:06 AM

    We tested Tamino XSLT Server Extension on Tamino 3.1.1.4 on an xml file with encoding ISO-8859-1. XSLT Server Extension returned an exception messages like this:
    “javax.xml.transform.TransformerException:
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xbf) was found in the element content of the document”.

    Using the extension debugger gave the following debuginfo: Die XML-Deklaration in the inputfile was missing (encoding).
    Obviously it loses the encoding info. Any hint how to avoid this?
    Andy Luethi


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: XSLT Server Extension problem with ISO-8859-1 encoding

    Posted Mon June 17, 2002 09:37 AM

    Hello,

    I think the solution depends on the used transformation processor. I had no problems using xalan. The error message sounds like something MSXML does – it simply drops the encoding and assumes you know the data comes in utf-16 (if I remember right).
    I do not know about saxon if you use that one.

    Please repost in “PassThru Servlet, Transformation, XSLT” as I consider this an XSLT issue rather than SXS. I am sure the moderator there can help you. :slight_smile:

    Christian


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: XSLT Server Extension problem with ISO-8859-1 encoding

    Posted Mon June 17, 2002 01:50 PM