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=29969>. 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=29969 Pb Transformation symbols ISO-8859-1 in XSLTC Summary: Pb Transformation symbols ISO-8859-1 in XSLTC Product: XalanJ2 Version: 2.6 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Xalan 2.6 transforms some symbols (like é or è) generated in script tag when i use XSLTC. In a test's project in java, i transform a file text.xml with text.xsl and generate test.html. The files test.xml and test.xsl are described here: -------------------------------------------------------------------------------- ------ File test.xml : <?xml version="1.0" encoding="ISO-8859-1"?> <page></page> -------------------------------------------------------------------------------- ------ File test.xsl : <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="1.0" indent="yes" encoding="ISO-8859-1" media-type="text/html"/> <xsl:strip-space elements="*"/> <xsl:template match="/"> <html> <head> <script language="Javascript1.3"> // on génère une ligne de commentaire javascript </script> </head> <body> on génère du texte </body> </html> </xsl:template> <xsl:template match="text()"/> </xsl:stylesheet> -------------------------------------------------------------------------------- ------ when i use Xalan in XSLT (interpreted), the file text.html is correct. The accents é a è aren't modified in script tag <html> <head> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <script language="Javascript1.3"> // on génère une ligne de commentaire javascript </script> </head> <body> on génère du texte </body> </html> -------------------------------------------------------------------------------- ------ But when i use Xalan in XSLTC (compiled), the file text.html isn't correct. The accents é a è are modified in entity codes. <html> <head> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <script language="Javascript1.3"> // on génère une ligne de commentaire javascript </script> </head> <body> on génère du texte </body> </html> -------------------------------------------------------------------------------- ------ How can i do to generate correct code in script tag ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
