W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 08 Nov 2006 21:54:23 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GhvNH-0006Hu-I1@wiggum.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:16 UTC