jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omid Milani <omil...@gmail.com>
Subject xpath function for namespace-uri?
Date Thu, 03 Dec 2009 08:23:01 GMT
hi,

I'm trying to query (xpath) nodes of a specific namespace uri, but it
seems namespace-uri() and namespace-prefix() are not supported.
wlidcarding the local name part ( //prefix:* ) doesn't work either.
so, how can I do this?

also i notices an strange behavior. executing a query like this
doesn't throw exception, just no result:
//*[wrong-function-name() = 'nothing']
but executing this one results in InvalidQueryException:
//*[wrong-function-name()]
imo using mistaken function name should always result in exception.

Mime
View raw message