Christian,
On 2012-06-27, Christian GrĂ¼n christian.gruen@gmail.com wrote:
To complement this: while not completely made public yet (the next W3 working drafts are to be expected soon), the syntax returned by fn:path() is actually a valid XPath 3.0 expression; see [1] for more details.
Thanks for the clarification. The example given in the wiki
Q{http://www.w3.org/2005/xpath-functions/math%7Dpi()
works, but paths returned by path() don't work for me, e.g.,
/Q{http://www.tei-c.org/ns/1.0%7DTEI%5B1%5D/Q%7Bhttp://www.tei-c.org/ns/1.0%7Dt...]
or, for that matter,
/Q{http://www.tei-c.org/ns/1.0%7DTEI
neither raise an error nor do they match anything.
For the same database,
declare namespace tei = "http://www.tei-c.org/ns/1.0"; /tei:TEI
works as expected.
Bug?
Best regards