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

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