You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "David Bertoni (JIRA)" <xa...@xml.apache.org> on 2005/03/22 18:58:22 UTC

[jira] Commented: (XALANJ-2084) ISO-8859-1 Encoding exception processing stylesheet

     [ http://issues.apache.org/jira/browse/XALANJ-2084?page=comments#action_61381 ]
     
David Bertoni commented on XALANJ-2084:
---------------------------------------

Decimal 8230, AKA hexadecimal 2026, AKA the Unicode code point U+2026 (HORIZONTAL ELLIPSIS) is _not_ representable in ISO-8859-1.

Is your stylesheet using the text output method?  If so, Xalan-J is probably using that encoding by default.  It would be helpful if you could attach a small set of inputs that reproduces the error message.

> ISO-8859-1 Encoding exception processing stylesheet
> ---------------------------------------------------
>
>          Key: XALANJ-2084
>          URL: http://issues.apache.org/jira/browse/XALANJ-2084
>      Project: XalanJ2
>         Type: Bug
>   Components: transformation
>     Versions: 2.6
>  Environment: jdk 1.5, windows xp sp2
>     Reporter: Graeme Rocher
>     Priority: Critical

>
> I am getting the following exception when attempting to process an XML file with Xalan 2.6 called from Ant. I have tested this outside Ant using jEdits XSLT transformation engine and it produces the same result:
>      [xslt] Loading stylesheet C:\projects\aclient\build\work\templates\stylesheets\main.xsl
>      [xslt] : Fatal Error! org.xml.sax.SAXException: Attempt to output character of integral value 8230 that is not represented in specified output encoding of ISO-8859-1. Cause: org.xml.sax.SAXExcept
> ion: Attempt to output character of integral value 8230 that is not represented in specified output encoding of ISO-8859-1.
>      [xslt] Failed to process C:\projects\aclient\src\content\page.xml
> This seems similar to a problem reported in bug 1799 (http://issues.apache.org/jira/browse/XALANJ-1799) although in this case upgrading to 2.6 solved the problem and I am already running 2.6.
> Character 8230 of the ISO-8859-1 character set is the elipse (...), so why the error is being thrown is beyond me
> I downgraded to Xalan 2.5.3 and this solved the problem, but thought I would raise awareness of this issue regardless.

-- 
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