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 2004/08/23 14:02:16 UTC
DO NOT REPLY [Bug 30800] New: -
current() function doesn´t work within nested predicate
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30800>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30800
current() function doesn´t work within nested predicate
Summary: current() function doesn´t work within nested predicate
Product: XalanJ2
Version: 2.6
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xalan.transformer
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: annett.becker@zurich.com
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>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org