Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsxpath expression could not find function matches
https://www.eclipse.org/forums/index.php/mv/msg/206565/661235/#msg_661235
Using helios, sr2, EE package.
Need to use the XPATH expression evaluator to verify xpath expressions. It's been working great for simple expressions, but now I need to do some pattern matching.
When I try to use matches('abcd', 'abcd') or matches(//mynode, 'someString') I get:
Could not find function: matches
If I try fn:matches('abcd', 'abcd') the error message goes away but I get the <No Matches> result instead.
Is the evaluator in fact working with XPATH 2.0?
How can I determine that?
And, how can I use helios to evaluate expressions with pattern matching?
thanks !
-tom]]>No real name2011-03-23T16:09:11-00:00Re: xpath expression could not find function matches
https://www.eclipse.org/forums/index.php/mv/msg/206565/662687/#msg_662687
Then you can use any XPath 2.0 expression. Underneath the covers this will use the PsychoPath XPath 2.0 processor which is 99.9% conformat to the core specification and is also XML Schema Aware.
Hope this helps.
]]>David Carver2011-03-31T14:53:38-00:00Re: xpath expression could not find function matches
https://www.eclipse.org/forums/index.php/mv/msg/206565/662697/#msg_662697
Just what I needed, yes it does help!