W3C home > Mailing lists > Public > www-tag@w3.org > June 2002

RE: [URIEquivalence-15] Namespaces in XML -- URI, IRIs and equivalence

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 7 Jun 2002 20:15:49 +0200
To: "Tim Bray" <tbray@textuality.com>, <www-tag@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCIEJHELAA.julian.reschke@gmx.de>

> From: www-tag-request@w3.org [mailto:www-tag-request@w3.org]On Behalf Of
> Tim Bray
> Sent: Friday, June 07, 2002 7:17 PM
> To: www-tag@w3.org
> Subject: Re: [URIEquivalence-15] Namespaces in XML -- URI, IRIs and
> equivalence
>
>
>
> Bjoern Hoehrmann wrote:
>
> >>AGREED: The Namespaces specification should make clear whether:
> >>-  "%6A" is the same as "j"
> >
> > According to the Namespace specification it is not, those are different
> > character sequences.
>
> Hmm.  I quote from REC-xml-names:
>
>    [Definition:] URI references which identify namespaces are
>    considered identical when they are exactly the same
>    character-for-character.
>
> Fortunately <snicker> "character-by-character" is a sufficiently elastic
> phrase to leave us an escape hatch.  I think we can coherently assert
> and (probably should) that character-by-character means that %6a and %6A
> and 'j' are the same character. -Tim

I'm not convinced.

Can you name a single namespace-compliant XML processor that will reject
this document because of [1]?

<foo
	xmlns:n1="http://sample.org/%5a"
	xmlns:n2="http://sample.org/%5A"
	xmlns:n3="http://sample.org/Z"

	n1:x="1"
	n2:x="2"
	n3:x="3"
/>

?


[1] <http://www.w3.org/TR/1999/REC-xml-names-19990114/#uniqAttrs>
Received on Friday, 7 June 2002 14:16:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:52 UTC