This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In section 3.3 we write: > At evaluation time, if the root node above the context node is not a > document node, a dynamic error is raised [err:XPDY0050]. I think we mean to say "if the root node *of* the context node". Since the context node itself can be a document node (or any other root node), the root node is not *above* in that case.
Wow, it's said that since XQuery 1.0! Fixed now.