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

><?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 UTC