You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/05/06 17:31:22 UTC

DO NOT REPLY [Bug 8821] - XSLTC has a different output than normal XSLT ...

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

XSLTC has a different output than normal XSLT ...

tom.amiro@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From tom.amiro@sun.com  2002-05-06 15:31 -------
I created the following test case and was not able to reproduce 
the problem. It made no difference setting the output method to xml 
or html.

Please try the latest cvs build. We have fixed some character escaping 
bugs since version 2.3.
may explain 

xml
---
<?xml version="1.0" ?>
<eqn>x^2</eqn>

xsl
---
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
  <xsl:variable name="eqn" select="/eqn" />
  <xsl:element name="test">
    <xsl:attribute name="eqn">
      <xsl:value-of  select="$eqn" />
    </xsl:attribute>
  </xsl:element>
</xsl:template>
</xsl:stylesheet>
 glrr 112 =>sxx bug8821

Running saxon on bug8821
<?xml version="1.0" encoding="utf-8"?><test eqn="x^2"/>

Running xalan on bug8821
<?xml version="1.0" encoding="UTF-8"?>
<test eqn="x^2"/>


Running XSLTC with Xerces Parser on bug8821
<?xml version="1.0" encoding="UTF-8" ?>
<test eqn="x^2"/>