Re: Inclusions and other gotchas (was:Re: inclusion)

At 01:50 PM 2000-05-26 -0400, John Cowan wrote:
>Al Gilman wrote:
>
>> Is there a case where literal comparison of _two ns-attr values occurring
>> in the same document_ will find them the same whereas abolutizing as
>> URI-references per URI RFC will determine them to be different?
>
>Yes, because an XML *document* may contain more than one external entity.
>If XBase passes, it can even happen within the same external entity
>in different scopes of the "xml:base" attribute.
>
>> If the only risk on literal comparison is that things will be treated as
>> different that in the ultimate analysis later get recognized as the same,
>
>No, the risk is that things get treated as the same that are later recognized
>as different, either because of the cases above, or because the application
>by nature must process more than one document.

Well, the multi-document application issue could be handled in a
muddle-through compromise by saying comparison across documents is to be
performed in a post-syntactic layer within the application.  

But the external-entity vs. XBase conflict is something else.

Al

>-- 
>
>Schlingt dreifach einen Kreis um dies! || John Cowan
<jcowan@reutershealth.com>
>Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
>Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
>Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)
> 

Received on Friday, 26 May 2000 14:14:59 UTC