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

RE: uri-comp draft necessary?

From: Dan Connolly <connolly@w3.org>
Date: 18 Dec 2002 22:24:12 -0600
To: Misha Wolf <Misha.Wolf@reuters.com>
Cc: www-tag@w3.org
Message-Id: <1040271852.19708.15.camel@dirk.dm93.org>

On Wed, 2002-12-18 at 08:43, Misha Wolf wrote:
> The main question for me is on which strings do you carry 
> out the strcmp:
> 1.  The strings as they appear in (an) XML document(s)
> 2.  The strings processed in accordance with:
>     http://www.w3.org/TR/REC-xml#AVNormalize
> The first is wrong; the second is right.

Well, provided the string contains only US-ASCII characters,
that's pretty much the end of the story.

But if it has other characters (i.e. if it's not actually
a URI), you have to reduce
it to the URI character set before doing the

And if what's in the XML document is a relative
URI reference, you need to combine it with the
base before doing the strcmp().

So yes, I think there's something worth saying.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Wednesday, 18 December 2002 23:24:19 UTC

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