W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2010

[Bug 8651] [SER] What does it mean to compare without consideration of case?

From: <bugzilla@wiggum.w3.org>
Date: Tue, 05 Jan 2010 15:25:23 +0000
To: public-qt-comments@w3.org
Message-Id: <E1NSBHf-0002ZB-Rs@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8651


Henry Zongaro <zongaro@ca.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Henry Zongaro <zongaro@ca.ibm.com>  2010-01-05 15:25:23 ---
I propose the following resolution to this problem:

In section 1.1,[5] add the definition:

. [Definition:  Where this specification indicates that two strings are to be
<b>compared without regard to case</b>, the serializer <rfc2119>MUST</rfc2119>
translate any characters in the range #x41 (LATIN CAPITAL LETTER A) to #x5A
(LATIN CAPITAL LETTER Z), inclusive, to the corresponding lower-case letters in
the range #x61 (LATIN SMALL LETTER A) to #x7A (LATIN SMALL LETTER Z) only for
the purposes of making the comparison.  The comparison succeeds if the two
strings are the same length and the code point of each characters in the first
string is equal to the code point of the character in the corresponding
position in the second string.

In section 7.1,[1] change "regardless of case" to "<termref
def="caseless-compare">making the comparison without regard to case</termref>".

In section 6.1.13,[2] change "making the comparison without consideration of
casing and leading/trailing spaces" to "<termref def="caseless-compare">making
the comparison without regard to case</termref>, after first stripping leading
and trailing spaces from the value of the attribute solely for the purposes of
comparison."

In section 7.4.13 as modified by erratum SE.E5,[3] change "making the
comparison without consideration of case and leading or trailing spaces" to to
"<termref def="caseless-compare">making the comparison without regard to
case</termref>, after first stripping leading and trailing spaces from the
value of the attribute solely for the purposes of comparison."

In section 7.2 as modified by erratum SE.E14,[4] change "is equal to the name
of
the attribute without regard to case" to "is equal to the name of the
attribute, <termref def="caseless-compare">making the comparison without regard
to case</termref>."

[5]
http://www.w3.org/TR/2007/REC-xslt-xquery-serialization-20070123/#terminology


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 5 January 2010 15:25:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:29 UTC