XInclude question

[Forwarding Richard's comment to the archive. paul]

Suppose I have a document

  <outer xmlns="http://example.org"
         xmlns:xi="http://www.w3.org/2001/XInclude">
    <xi:include href="inner.xml"/>
  </outer>

where inner.xml contains

    <inner/>

Presumably the desired serialized result is

  <outer xmlns="http://example.org"
         xmlns:xi="http://www.w3.org/2001/XInclude">
    <inner xmlns=""/>
  </outer>

The Namespace Fixup section appears to imply that - since there is no
namespace info item for the null prefix on the included item - the
namepace info item for the null prefix should be copied onto inner from
outer, which would be wrong.

[I'm actually in favour of getting rid of the namespace fixup, but if
it stays this should be corrected.]

-- Richard

Received on Monday, 22 April 2002 11:59:58 UTC