W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > January 2004

Inclusion loops rely only on href, not on xpointer

From: Jonathan Marsh <jmarsh@microsoft.com>
Date: Wed, 7 Jan 2004 11:55:20 -0800
Message-ID: <DF1BAFBC28DF694A823C9A8400E71EA2022F3860@RED-MSG-30.redmond.corp.microsoft.com>
To: <www-xml-xinclude-comments@w3.org>

Just noticed that our loop detection can reject perfectly good
inclusions such as this one:

<xi:include xpointer="foo"/>
<x id="foo">
  <xi:include xpointer="bar"/>
</x>
<x id="bar"/>

The "bar" inclusion has the same include location (empty string) as the
foo inclusion.  We need to say loops are detected by comparing both the
include location and the xpointer attribute value.
Received on Wednesday, 7 January 2004 14:55:22 GMT

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