Error when transforming XSM using XSL


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Error when transforming XSM using XSL

  1. #1
    Stephen Guest

    Error when transforming XSM using XSL


    Hello,

    I'm getting the following error when tranforming XML. I do have several import
    calls in the XSL file. Import allows you to call one XSL, while the XSL may
    call several all XSL. I verified that there's no special chars. Any ideas?

    thank you,
    Stephen

    Exception thrown on line '13' from page 'D:\\schen\\src\\XSLT\\transform.jsp'.
    javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerConfigurationException:
    javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
    Character conversion error: "Unconvertible UTF-8 character beginning with
    0xa0" (line number may be too low).
    at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.ja va:684)


  2. #2
    Paul Clapham Guest

    Re: Error when transforming XSM using XSL

    Your "verification" that there were "no special characters" didn't work
    correctly. The error is telling you that one of your XML files (likely the
    one you are transforming, but possibly one of the XSLs) contains a byte that
    looks like X'A0'. That means that the XML file in question is not valid
    XML.

    PC2

    "Stephen" <schen8081@home.com> wrote in message
    news:3b8cb07d$1@news.devx.com...
    >
    > Hello,
    >
    > I'm getting the following error when tranforming XML. I do have several

    import
    > calls in the XSL file. Import allows you to call one XSL, while the XSL

    may
    > call several all XSL. I verified that there's no special chars. Any ideas?
    >
    > thank you,
    > Stephen
    >
    > Exception thrown on line '13' from page

    'D:\\schen\\src\\XSLT\\transform.jsp'.
    > javax.xml.transform.TransformerConfigurationException:

    javax.xml.transform.TransformerConfigurationException:
    > javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
    > Character conversion error: "Unconvertible UTF-8 character beginning with
    > 0xa0" (line number may be too low).
    > at

    org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
    FactoryImpl.java:684)
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center