You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/04/07 07:30:16 UTC

[jira] Resolved: (XALANJ-2036) org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa9" (line number may be too low).

     [ http://issues.apache.org/jira/browse/XALANJ-2036?page=history ]
     
Brian Minchau resolved XALANJ-2036:
-----------------------------------

    Resolution: Incomplete

Resolving as incomplete. No test case was supplied, so we can't fix this one. Please re-open this issue when you supply a testcase, which would minimal include XML/XSL, but possibly other things, like Java code.

> org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa9" (line number may be too low).
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: XALANJ-2036
>          URL: http://issues.apache.org/jira/browse/XALANJ-2036
>      Project: XalanJ2
>         Type: Bug
>   Components: transformation
>     Versions: 2.6
>  Environment: HP UX PA RISC B.11.11 U 9000/800
>     Reporter: saravanan sambandam
>     Assignee: Brian Minchau

>
> I am using Java1.4.1 with xalan 2.6, Oracle9.2.0.4 with character set UTF-8.
> I use some GUI to insert some characters in Oracle.
> I query the sbove inserted attributes from Oracle with  through my Java Program and generate a XML type format file by using FileOutputStream.write(String.getBytes("UTF-8")). This xml file has encoding UTF-8.
> I use another Java program to parse this xml, and then tranform to another xml with encoding UTF-8. Xalan is used as transformation engine.
> During Tranformation i get the following error.
> org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa9" (line number may be too low).
>         at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
>         at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
>         at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914)
>         at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1009)
>         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:486)
>         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
>         at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:349)
>         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:630)
>         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
>         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
>         at Transform.main(Transform.java:68)
> I am wondering, if Oracle with character set UTF-8 allows the characters to be stored in Oracle, why the parser is giving the above exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org