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}pi() works, but paths returned by path() don't work for me, e.g., /Q{http://www.tei-c.org/ns/1.0}TEI[1]/Q{http://www.tei-c.org/ns/1.0}teiHeader[1]/Q{http://www.tei-c.org/ns/1.0}profileDesc[1]/Q{http://www.tei-c.org/ns/1.0}particDesc[1]/Q{http://www.tei-c.org/ns/1.0}listPerson[1]/Q{http://www.tei-c.org/ns/1.0}person[30] or, for that matter, /Q{http://www.tei-c.org/ns/1.0}TEI 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 -- Dr.-Ing. Michael Piotrowski, M.A. <mxp@cl.uzh.ch> Institute of Computational Linguistics, University of Zurich Phone +41 44 63-54313 | OpenPGP public key ID 0x1614A044 * OUT NOW: Systems and Frameworks for Computational Morphology * <http://www.springeronline.com/978-3-642-23137-7>