[ http://issues.apache.org/jira/browse/XALANJ-1929?page=all ]

Brian Minchau updated XALANJ-1929:
----------------------------------

    Version: Latest Development Code
                 (was: 2.6)

> current() function doesn´t work within nested predicate
> --------------------------------------------------------
>
>          Key: XALANJ-1929
>          URL: http://issues.apache.org/jira/browse/XALANJ-1929
>      Project: XalanJ2
>         Type: Bug
>   Components: transformation, Xalan-interpretive
>     Versions: Latest Development Code
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: Annett Becker
>     Assignee: Xalan Developers Mailing List

>
> Same bug was reported as nr. 3031 in 2001 and should have been fixed then. 
> Now 
> Xalan 2.0.6 (jar bundled with Cocoon 2.1.5)throws exception 
> FATAL_E (2004-08-23) 13:26.00:455   [core.xslt-processor] 
> (/cocoon/vgmonline/activity_all) http8080-Processor2/TraxErrorHandler: Error 
> in 
> TraxTransformer: javax.xml.transform.TransformerException: 
> java.lang.RuntimeException: java.lang.ClassCastException
> javax.xml.transform.TransformerException: java.lang.RuntimeException: 
> java.lang.ClassCastException
>       at org.apache.xalan.transformer.TransformerImpl.transformNode
> (TransformerImpl.java:1276)
>       at org.apache.xalan.transformer.TransformerImpl.run
> (TransformerImpl.java:3372)
>       at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument
> (TransformerHandlerImpl.java:433)
>       at org.apache.cocoon.xml.AbstractXMLPipe.endDocument
> (AbstractXMLPipe.java:56)
>       at org.apache.cocoon.transformation.TraxTransformer.endDocument
> (TraxTransformer.java:549)
>  .......... more details, if needed
> when using the following nested predicate in a stylesheet:
>       <xsl:template match="row[//row[ACT_C_ID_LNR=current()/ACT_ID_LNR]]">
>               ... do something useful ...
>       </xsl:template>

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