Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.10
-
None
-
None
-
GNU/Linux, x86_64, CentOS 4.3
./Xalan --version
Xalan version 1.10.0.
Xerces version 2.7.0.
Description
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.
bazil@f3t $ cat am.xml
<?xml version="1.0" encoding="UTF-8"?>
<page>
<img src="http://avtomagazine.ua/logo.jpg" alt="это логотип" />
</page>
bazil@f3t $
bazil@f3t $ 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>
bazil@f3t $
bazil@f3t $ ./Xalan am.xml test.xsl
<html>
<body>
<img src="http://avtomagazine.ua/logo.jpg" alt="это логотип"></body>
</html>
bazil@f3t $
I think it's a bug - to code non-english characters, (of course, if there are no any RFC that require it).