W3C home > Mailing lists > Public > xml-uri@w3.org > May 2000

Re: Are *relative* URIs as namespace nemes considered harmful?

From: Paul Grosso <pgrosso@arbortext.com>
Date: Tue, 23 May 2000 13:49:28 -0500
Message-Id: <3.0.32.20000523132811.0215c8d8@pophost.arbortext.com>
To: xml-uri@w3.org
At 09:16 2000 05 23 -0400, Paul W. Abrahams wrote:
>James Clark wrote:
>> The problematic case is when you have
>> two URI references that are identical when compared as strings but refer
>> to different resources (because they have different base URIs).  This is
>> like having obj1 == obj2 but not obj1.equals(obj2). 
>
>But can that case arise in the namespace spec itself?  Comparison occurs
in only
>one context: verifying the uniqueness of attributes.  And that comparison
>necessarily occurs within a single element, thus ensuring that both
elements being
>compared have the same context and therefore would absolutize identically.
>
>If I've overlooked something, do you have an example showing how the
uniqueness
>test can give misleading results because of different absolutizations of the
>attributes being compared?

Yes, you have overlooked something.  For example, see:

  http://lists.w3.org/Archives/Public/xml-uri/2000May/0056

paul
Received on Tuesday, 23 May 2000 14:49:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:42 UTC