Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ancestor axis of DBNodes wrapped in FNodes #919

Closed
LeoWoerteler opened this issue Apr 3, 2014 · 3 comments
Closed

Ancestor axis of DBNodes wrapped in FNodes #919

LeoWoerteler opened this issue Apr 3, 2014 · 3 comments
Milestone

Comments

@LeoWoerteler
Copy link
Member

Query:

let $a := (copy $a := <a><b/></a> modify () return $a)
return <x>{ $a }</x>//b/ancestor::node()/name()

Expected:

x a

Result:

a

@ChristianGruen
Copy link
Member

Possibly related:

input.xml:

<a><b/><c/></a>

Query:

<A>{ doc("input.xml")/a/* }</A>/b/following-sibling::node()

Expected:

<c/>

Result: empty sequence

@ChristianGruen
Copy link
Member

Possibly related (derived from test case K2-SeqIDFunc-7):

Query:

let $doc := document { <a><b/></a> } update ()
return id("id", element c { $doc/*/node() }/*)

Expected: FODC0001 (Specified node has no document node as root.)

Result: empty sequence

@ChristianGruen ChristianGruen added this to the HOLD milestone Dec 7, 2016
@ChristianGruen
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants