ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38781] New: - jsdk 1.5 xml xslt charset
Date Fri, 24 Feb 2006 19:32:00 GMT
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: dev@ant.apache.org
        ReportedBy: master_temp@tut.by


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message