[Bug 4763] 1.0.3dev: K2-InScopePrefixesFunc-12

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





------- Comment #2 from mike@saxonica.com  2007-06-27 12:26 -------
Saxon 8.9.0.4 gives the answer 1, which I believe is correct.

Bug
http://sourceforge.net/tracker/index.php?func=detail&aid=1692131&group_id=29872&atid=397617
is relevant.

>how would the result be <e xmlns="http://example.com/"><a xmlns=""/></e>,
without a binding for a's empty namespace?

Thinking it terms of namespace nodes, which I prefer, <a> has only one
namespace node, that for the XML namespace. The namespace undeclaration is
added by the serializer when a child element lacks a namespace node|binding
that is present on its parent.

Received on Wednesday, 27 June 2007 12:26:18 UTC