W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > April 2002

XInclude question

From: by way of Paul Grosso <richard@cogsci.ed.ac.uk>
Date: Mon, 22 Apr 2002 10:57:42 -0500
Message-Id: <4.3.2.7.2.20020422105707.018f9d70@172.27.10.30>
To: www-xml-xinclude-comments@w3.org
Cc: Richard Tobin <richard@cogsci.ed.ac.uk>
[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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:56 UTC