- From: James Clark <jjc@jclark.com>
- Date: Thu, 15 Jun 2000 15:37:52 +0700
- To: Henrik Frystyk Nielsen <frystyk@microsoft.com>
- CC: John Cowan <cowan@locke.ccil.org>, David Carlisle <david@dcarlisle.demon.co.uk>, David Turner <dturner@microsoft.com>, XML-uri@w3.org, Andrew Layman <andrewl@microsoft.com>
Henrik Frystyk Nielsen wrote: > > That turns out not to be the case, as I said before. Single documents > > can and do contain more than one external entity with more than one > > base URI. > > If retrieving an external entity, the context may change when resolving > relative references depending on the URI of the external entity. [1] > seems in fact to indicate this for the system identifier itself which > presumeably can be nested? > > In this case relative URIs have to be compared with the two (or more) > contexts in mind. In the case of external entities, the only thing that an XML processor needs to do with the system identifier is to fetch the resource it identifies. It doesn't have to compare it for equality with other system identifiers. In the case of namespace names, the namespace processor doesn't have to fetch the resource it identifies, but it has to compare it with other namespace names with possible different contexts, in order to determine whether attributes are unique (in accordance with section 5.3 of the namespaces Rec). James
Received on Thursday, 15 June 2000 05:34:40 UTC