[ http://issues.apache.org/jira/browse/XALANJ-1146?page=all ]
     
Morris Kwan closed XALANJ-1146:
-------------------------------

    Assign To:     (was: Xalan Developers Mailing List)

> XSLTC: NoSuchMethodError when comparing nodeset to RTF
> ------------------------------------------------------
>
>          Key: XALANJ-1146
>          URL: http://issues.apache.org/jira/browse/XALANJ-1146
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Versions: Latest Development Code
>  Environment: Operating System: Other
> Platform: All
>     Reporter: Morris Kwan

>
> This problem was reported by Vincent Rycx ([EMAIL PROTECTED]).
> XSLTC compiles the following stylesheet successfully, but produces a 
> java.lang.NoSuchMethodError at runtime.
> Stylesheet:
> <?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 = "/">
>   <xsl:variable name="x">5</xsl:variable>
>   <out>
>     <xsl:if test="/doc/num > $x">
>       num > 5
>     </xsl:if>
>   </out>
> </xsl:template>
> </xsl:stylesheet>
> ======================================
> Input XML:
> <doc>
>   <num> 10 </num>
> </doc>
> =====================================
> If you change the variable declaration by not using RTF, e.g
> <xsl:variable name="x" select="5"/>, XSLTC will produce the correct result.

-- 
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]

Reply via email to