-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
EnhancementA change or improvement to an existing featureA change or improvement to an existing featureXPathAn issue related to XPathAn issue related to XPath
Description
Is there a particular reason why the absolute slash / is defined as complicated as…
self::gnode()/(fn:root(.) treat as (document-node()|jnode())/PP…and wouldn’t it be helpful to simplify it get rid of the treat as expression?
self::gnode()/fn:root(.)/PPIn many cases, the document node does not exist or is not really needed, and it would allow users to use the slash for nodes that would otherwise needs to wrapped into document nodes, for example:
let $as := analyze-string('abc', 'b')
return $as/fn:match[/fn:non-match]Metadata
Metadata
Assignees
Labels
EnhancementA change or improvement to an existing featureA change or improvement to an existing featureXPathAn issue related to XPathAn issue related to XPath