DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24640>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24640 Encoding not set for attribute, if there is XPath Summary: Encoding not set for attribute, if there is XPath Product: XalanJ2 Version: 2.5Dx Platform: PC OS/Version: All Status: NEW Severity: Major Priority: Other Component: org.apache.xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Class ToTextStream creates new SerializationHandler (and rewrite field TemplateImpl.m_serializationHandler), but forgot to set encoding (output properties). So this template: <img alt="[EMAIL PROTECTED]"/> produces an error, if @something contain charasters, wich integer code is more than 127 (All non latin charasters). Template (XSL-file) has all requested xsl:output params and works with xalan 2.5.1, but not work with 2.5.2. Error: Attempt to output character of integral value 1060 that is not represented in specified output encoding of . (Current encoding variable in this point is null). Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Attempt to output character of integral value 1060 that is not represented in specified output encoding of . at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:327) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates (TransformerImpl.java:2362) at org.apache.xalan.transformer.TransformerImpl.transformToString (TransformerImpl.java:2045) at org.apache.xalan.templates.ElemAttribute.constructNode (ElemAttribute.java:232) at org.apache.xalan.templates.ElemElement.execute(ElemElement.java:363) at org.apache.xalan.templates.ElemAttribute.execute (ElemAttribute.java:144) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates (TransformerImpl.java:2362) at org.apache.xalan.templates.ElemLiteralResult.execute (ElemLiteralResult.java:716)
