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=38781>.
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=38781

           Summary: jsdk 1.5 xml xslt charset
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: XSLTBug
          Severity: major
          Priority: P1
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I think ant works incorrectly when processing xslt, particullary the charset of
output file IS NOT windows-1251

ant build.xml
=============
  <xslt in="source.xml" out="out.xml" style="style.xslt">
    <outputproperty name="method" value="html"/>
    <outputproperty name="encoding" value="Windows-1251" /> 
  </xslt>
=============

source.xml
=============
<?xml version="1.0" encoding="windows-1251" ?>
<ur-document>
Äîêóìåíò
</ur-document>
=============

style.xslt
=============
<?xml version='1.0' encoding='windows-1251'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<xsl:output method="html" version="4.0" encoding="windows-1251" indent="yes" />
<xsl:param name="lang" select="'rus'" />
<xsl:template match="/ur-document">
        <html> 
         <title>
          Íàçâàíèå : <xsl:value-of select="."/>
         </title>
        </html>
</xsl:template>
</xsl:stylesheet>
=============

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to