DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9887>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9887 Xsltc treats special characters different than xalan. Summary: Xsltc treats special characters different than xalan. Product: XalanJ2 Version: 2.3 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: Xalan-Xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Xsltc treats special characters different than xalan. Below is the test case: When applying stylesheet test.xsl to test.xml using xalan and xsltc respectively, we get different results: (with xsltc) > java org.apache.xalan.xsltc.cmdline.Transform test.xml test <a href="javascript:addToMyCustomer (&quot;10000&quot;,&quot;&quot;)"></a> (with xalan) > java XmlTest test.xml test.xsl <a href="javascript:addToMyCustomer("10000","")"></a> There should be a unified outcome for any xslt processor. ===================================test.xsl==================================== <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html"/> <xsl:template match="root"> <xsl:apply-templates select="SubscriberList"/> </xsl:template> <xsl:template match="SubscriberList"> <a> <xsl:attribute name="href">javascript:addToMyCustomer (&quot;10000&quot;,&quot;&quot;)</xsl:attribute> </a> </xsl:template> </xsl:stylesheet> ===============================test.xml===================================== <root> <SubscriberList> </SubscriberList> </root>