[ http://issues.apache.org/jira/browse/XALANJ-2036?page=comments#action_57780 ] Christine Li commented on XALANJ-2036: --------------------------------------
Based on the description, it is very hard to identify the problem. Could you attach a stand-alone test - stylesheet and input xml document - that demonstrates the problem? Thanks, > 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 > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
