[Bug 3960] fn-in-scope-prefixes-3

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3960





------- Comment #1 from mike@saxonica.com  2006-11-08 21:54 -------
>If I understand this correctly,
>fn:in-scope-prefixes(<anElement>some content</anElement>)
>should return a sequence of two prefixes

No, it should only return one. The prefix "" is not bound to any namespace, so
there is no namespace node/binding for it. This would be true even if the
element were written <anElement xmlns="">some content</anElement>: this
undeclares a namespace (deletes a namespace binding), it does not create a new
binding.

Michael Kay 

Received on Wednesday, 8 November 2006 21:54:31 UTC