Russian language in attribute variables become coded into HTML escape sequence
------------------------------------------------------------------------------
Key: XALANC-665
URL: https://issues.apache.org/jira/browse/XALANC-665
Project: XalanC
Issue Type: Bug
Components: XalanC
Affects Versions: 1.10
Environment: GNU/Linux, x86_64, CentOS 4.3
./Xalan --version
Xalan version 1.10.0.
Xerces version 2.7.0.
Reporter: Dmitriy Gorbenko
In my xml I have a russian characters tag attribute values (in example below
this is "alt" attribute). And after xslt transformation those characters become
coded into html escape sequence.
[EMAIL PROTECTED] $ cat am.xml
<?xml version="1.0" encoding="UTF-8"?>
<page>
<img src="http://avtomagazine.ua/logo.jpg" alt="это логотип" />
</page>
[EMAIL PROTECTED] $
[EMAIL PROTECTED] $ cat test.xsl
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<xsl:copy-of select="page/img"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
[EMAIL PROTECTED] $
[EMAIL PROTECTED] $ ./Xalan am.xml test.xsl
<html>
<body>
<img src="http://avtomagazine.ua/logo.jpg" alt="это
логотип"></body>
</html>
[EMAIL PROTECTED] $
I think it's a bug - to code non-english characters, (of course, if there are
no any RFC that require it).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]