This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Test path013 in QT3 covers the application of fn:path to an unnamed namespace node, but the specification doesn't appear to describe the expected behaviour.
Agreed, a rule for this needs to be added to the spec. For reference, the solution used in the test case is namespace::*[local-name()=""] which does seem to be the simplest way of selecting the unnamed namespace node (that is, the namespace node for the default namespace)
The WG accepted the proposal as amended, changing the result to namespace::*["http://www.w3.org/2005/xpath-functions":local-name()=""] so it does not depend on the default function namespace. Change applied (draft K)