DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=24278>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=24278 Incorrect SAXException about bad integral value of a character to be written out. ------- Additional Comments From [EMAIL PROTECTED] 2004-06-08 14:49 ------- I had this problem for text output containing ISO-8859-1 characters using XSLTC, and did a bit of debugging. It seems to me that the serialization handler is never properly initialized when using XSLTC. The encoding is set, but m_maxCharacter is never changed. I made a patch to org.apache.xalan.xsltc.trax.TransformerImpl.getOutputHandler() that calls setOutputFormat on the SerializationHandler to have it initialized. This fixed the problem for me. It works with Xalan. The difference is that the corresponding Xalan method (org.apache.xalan.transformer.TransformerImpl.createSerializationHandler()) uses SerializerFactory and SerializerFactory calls setOutputFormat. I think the right fix would actually be to have XSLTC use SerializerFactory (to avoid two copies of very similar code), but someone who knows the code will have to take over here. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
