W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > June 2003

Re: XInclude: Interpretation of IURIs depends on how the document is included?

From: Peter McCracken <peterjm@ca.ibm.com>
Date: Thu, 26 Jun 2003 16:04:55 -0400
To: www-xml-xinclude-comments@w3.org
Message-ID: <OF38F270FC.20FE59AC-ON85256D51.006E1A4F@torolab.ibm.com>

><?xml version='1.0'?>
><root xmlns:xi="http://www.w3.org/2001/XInclude">
>  <root xml:base="file:///d:/XmlBaseTest/inc1.xml">
>    <element xml:base="file:///d:/XmlBaseTest/Dir/ ">
>      <Included_Element xml:base="file:///d:/XmlBaseTest/Dir/xinc2.xml"/>
>    </element>
>  </root>
>  <element xml:base="file:///d:/XmlBaseTest/Dir/">
>      <Included_Element xml:base="file:///d:/XmlBaseTest/Dir/xinc2.xml"/>
>  </element>
></root>

Hi,

In your provided correct result, is the xml:base attribute on the second
<root> element strictly necessary, since inc1.xml is in the same directory
as test.xml?  Your message at [1] seems to imply not.  Just figured I'd
check.

[1]
http://lists.w3.org/Archives/Member/w3c-xml-core-wg/2003AprJun/0256.html

Cheers,
Peter McCracken/Toronto/IBM
Received on Thursday, 26 June 2003 16:05:09 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:09 GMT