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

RE: Posted draft of URI comparison finding

From: Richard Tobin <richard@cogsci.ed.ac.uk>
Date: Fri, 29 Nov 2002 16:23:42 GMT
Message-Id: <200211291623.QAA14895@mcpherson.cogsci.ed.ac.uk>
To: www-tag@w3.org
Cc: Misha.Wolf@reuters.com, xml-names-editor@w3.org, w3c-i18n-ig@w3.org

I am somewhat baffled by the suggestion that it is not clear what a
character is in the context of IRI comparison.  IRIs are defined by a
BNF; an IRI is a sequence of characters - a string - matching that
BNF.

To talk of a binary comparison seems quite wrong to me.  Two namespace
IRIs that are compared do not always come from the normalized
attribute values in two namespace declarations.  In fact, the
canonical case is surely comparing an IRI that does come from a
namespace declaration with one that is specified in a spec.  There is
no reason to suppose that these will be encoded in the same way (the
former might well be a UTF-16 string, while the latter might well be a
literal 8-bit string in a C program, for example).

The current namespace draft states that in a namespace declaration,
the IRI reference is the normalized value of the attribute.  This is
clearly a sequence of characters; what the characters are is described
in section 3.3.3 of the XML spec.

-- Richard
Received on Friday, 29 November 2002 11:23:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:13 GMT