if an xpath includes a call to a function that is not registered it crashes
with a null pointer exception.
Example : dictinct(document("lib.xml")//books)

I think it would be better if a JaxenException containing the message
"Failed to resolve function: distinct" was thrown instead.
The evaluate method in the class DefaultFunctionCallExpr should be changed
to throw this exception.

Eddie




_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to