[SWS-159] XPath support needs Function and Variable resolvers... Created: 17/Jul/07 Updated: 25/Sep/07
|Project:||Spring Web Services|
|Affects Version/s:||1.0 RC2|
|Reporter:||Ray Krueger||Assignee:||Arjen Poutsma|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Jaxp has the XPathVariableResolver and XPathFunctionResolver interfaces.
Abstraction support for these two concepts (VariableResolver and FunctionResolver) should be added to the spring-xml modules XPath abstraction.
|Comment by Ray Krueger [ 17/Jul/07 ]|
I've created a VariableResolver interface and Jaxp/Jaxen adapters for it locally. I was looking at patching the concept into the XPathExpressionFactory, though I am not sure where Arjen would see this fitting exactly.
I think it needs to end up being part of the XPathExpressionFactory.createExpression method, but that might make it a bit lengthy and unwieldy. Another option is for it to be included in every "evaluate" method on XPathExpression. A third option would be a setter on XPathExpression. Each of these has a downside...
|Comment by Arjen Poutsma [ 24/Sep/07 ]|
|Comment by Ray Krueger [ 25/Sep/07 ]|
This is a feature that should still be implemented in the XPath abstractions in Spring-xml package, regardless of
|Comment by Arjen Poutsma [ 25/Sep/07 ]|
Ok, I've reopened the issue. If people vote for it, I will implement it.