[ http://issues.apache.org/jira/browse/XALANJ-1904?page=all ]
Brian Minchau updated XALANJ-1904: ---------------------------------- Version: 2.6 (was: Latest Development Code) > Pb Transformation symbols ISO-8859-1 in XSLTC > --------------------------------------------- > > Key: XALANJ-1904 > URL: http://issues.apache.org/jira/browse/XALANJ-1904 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: 2.6 > Environment: Operating System: Windows NT/2K > Platform: PC > Reporter: helion > Assignee: Xalan Developers Mailing List > Attachments: Test.java > > 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 ? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]