W3C home > Mailing lists > Public > xml-names-editor@w3.org > January 2003

issue with IRI equality

From: david stephenson <david_stephenson@hp.com>
Date: Tue, 14 Jan 2003 10:44:53 -0500 (EST)
Message-ID: <00aa01c2bbe3$d1c23050$bda8f40f@stephensond1>
To: <xml-names-editor@w3.org>
Hi xml-names,
    it is never a good begining when a specification starts of explaining why things don't work as you would expect them to:)
    That IRI are case sensitive if fine but the current rules for equality of IRI references leave much to be desired.
    It should be a requirement on the specifciation that "the specific character encoding used to encode IRI NOT effect there equality when used as namespace names ", specifically the IRI to URI encoding rules, so (using your example) the following should bind p to the same IRI reference:

a.. <p:foo xmlns:p="http://example.org/rosť"> 

a.. <p:foo xmlns:p="http://example.org/ros&#xe9;"> 

a.. <p:foo xmlns:p="http://example.org/ros&#xE9;"> 

a.. <p:foo xmlns:p="http://example.org/ros&#233;"> 

a.. <p:foo xmlns:p="http://example.org/ros%C3%A9;"> 

Cheers
    David

----------------------------------
David Stephenson
Technology Leadership Group
HPC&I
Hewlett Packard
Fixed: +44  117 3129106
Mobile: +44 7766 230220
----------------------------------
Received on Tuesday, 14 January 2003 10:49:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:43 GMT