fn:siblings() on parentless nodes #1552
Labels
Bug
Something that doesn't work in the current specification
PR Pending
A PR has been raised to resolve this issue
XQFO
An issue related to Functions and Operators
It feels rather odd that the result of
fn:siblings()
should include the argument node, except when it is parentless.If fn:siblings were defined as
preceding-sibling::node() | self::node() | following-sibling::node()
, then the start node would be included even if it is parentless -- and even if it is an attribute or namespace node.The text was updated successfully, but these errors were encountered: