tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Boynes <>
Subject [taglibs] Trying to use JAXP XPath instead of raw Xalan
Date Thu, 23 Dec 2010 20:21:58 GMT
On Dec 22, 2010, at 1:01 AM, Rex Wang wrote:
>>> Why not move to the standard api in jdk instead of defining new apis and
>>> wrappers?

I put together an API to abstract the XPath implementation and tried to use the JAXP XPath
support; see 

There's a problem in JAXPXPathExpression#evaluateObject() where it needs to return the actual
result of evaluating the XPath (boolean, String, Number or "node-set"). However, the XPath
API requires you to specify a specific return type:,%20javax.xml.namespace.QName)

Any ideas on how to work around that would be appreciated, otherwise we will be forced to
use a proprietary API.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message