tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49578] XPath handling only supports single reference to variable
Date Fri, 09 Jul 2010 19:21:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49578

Jeremy Boynes <jboynes@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from Jeremy Boynes <jboynes@apache.org> 2010-07-09 15:20:59 EDT ---
This appears to be because of the transformation of the expression performed in
XPathUtil#adaptParamsForXalan which takes a variable reference at the start of
the expression and maps to a context node. The documentation implies this is
because:
     * Given all of this, if no context node is set for the evaluation
     * of the XPath expression, one must be set so Xalan 
     * can successfully evaluate a JSTL XPath expression.
     * (it will not work if the context node is given as a varialbe
     * at the beginning of the expression)

However, Xalan is able to handle variable references like this through its
VariableStack API (or as a XPathVariableResolver when called via the JAXP API).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message