[html5] r4187 - [e] (0) Make more consistent use of '..' vs 'to' for ranges of Unicode character [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Oct 19 18:32:35 PDT 2009
Author: ianh
Date: 2009-10-19 18:32:32 -0700 (Mon, 19 Oct 2009)
New Revision: 4187
Modified:
complete.html
index
source
Log:
[e] (0) Make more consistent use of '..' vs 'to' for ranges of Unicode characters and bytes.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7809
Modified: complete.html
===================================================================
--- complete.html 2009-10-20 01:27:40 UTC (rev 4186)
+++ complete.html 2009-10-20 01:32:32 UTC (rev 4187)
@@ -2542,9 +2542,9 @@
<p>Comparing two strings in an <dfn id=ascii-case-insensitive>ASCII case-insensitive</dfn>
manner means comparing them exactly, code point for code point, except
- that the characters in the range U+0041 .. U+005A (i.e. LATIN
+ that the characters in the range U+0041 to U+005A (i.e. LATIN
CAPITAL LETTER A to LATIN CAPITAL LETTER Z) and the corresponding
- characters in the range U+0061 .. U+007A (i.e. LATIN SMALL LETTER A
+ characters in the range U+0061 to U+007A (i.e. LATIN SMALL LETTER A
to LATIN SMALL LETTER Z) are considered to also match.</p>
<p>Comparing two strings in a <dfn id=compatibility-caseless>compatibility caseless</dfn>
@@ -2556,15 +2556,15 @@
<p><dfn id=converted-to-ascii-uppercase title="converted to ASCII uppercase">Converting a string to
ASCII uppercase</dfn> means replacing all characters in the range
- U+0061 .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z)
- with the corresponding characters in the range U+0041 .. U+005A
+ U+0061 to U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z)
+ with the corresponding characters in the range U+0041 to U+005A
(i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z).</p>
<p><dfn id=converted-to-ascii-lowercase title="converted to ASCII lowercase">Converting a string to
ASCII lowercase</dfn> means replacing all characters in the range
- U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
+ U+0041 to U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
LETTER Z) with the corresponding characters in the range U+0061
- .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
+ to U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
</div>
@@ -3381,7 +3381,7 @@
<!-- <dt>A U+002E FULL STOP character</dt> -->
- <dt>A character in the range U+0001 .. U+001F, <!-- space --> U+0021 .. U+002B, <!-- comma --> U+002D .. U+002F, <!-- digits --> U+003A, <!-- semicolon --> U+003C .. U+0040, <!-- a-z --> U+005B .. U+0060, <!-- A-Z --> U+007b .. U+007F
+ <dt>A character in the range U+0001 to U+001F, <!-- space --> U+0021 to U+002B, <!-- comma --> U+002D to U+002F, <!-- digits --> U+003A, <!-- semicolon --> U+003C to U+0040, <!-- a-z --> U+005B to U+0060, <!-- A-Z --> U+007b to U+007F
(i.e. any other non-alphabetic ASCII character)</dt>
<!--
@@ -8286,7 +8286,7 @@
<p>A <dfn id=custom-data-attribute>custom data attribute</dfn> is an attribute in no
namespace whose name starts with the string "<dfn id=attr-data-* title=attr-data-*><code>data-</code></dfn>", has at least one
character after the hyphen, is <a href=#xml-compatible>XML-compatible</a>, and
- contains no characters in the range U+0041 .. U+005A (LATIN CAPITAL
+ contains no characters in the range U+0041 to U+005A (LATIN CAPITAL
LETTER A to LATIN CAPITAL LETTER Z).</p>
<p class=note>All attributes in <a href=#html-documents>HTML documents</a> get
@@ -20798,7 +20798,7 @@
<p>Any (namespace-less) attribute may be specified on the
<code><a href=#the-embed-element>embed</a></code> element, so long as its name is
<a href=#xml-compatible>XML-compatible</a> and contains no characters in the range
- U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
+ U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
Z). These attributes are then passed as parameters to the
<a href=#plugin>plugin</a>.</p>
@@ -39629,8 +39629,8 @@
following subsubsteps:</p>
<ol><!-- * - . _ 0-9 a-z A-Z --><li><p>If the character isn't in the range U+0020, U+002A,
- U+002D, U+002E, U+0030 .. U+0039, U+0041 .. U+005A, U+005F,
- U+0061 .. U+007A then replace the character with a string
+ U+002D, U+002E, U+0030 to U+0039, U+0041 to U+005A, U+005F,
+ U+0061 to U+007A then replace the character with a string
formed as follows: Start with the empty string, and then,
taking each byte of the character when expressed in the
selected character encoding in turn, append to the string a
@@ -66200,9 +66200,9 @@
\|/
Frame type byte <-------------------------------------.
| | |
- | `-- (0x00 .. 0x7F) --> Data... --> 0xFF -->-+
+ | `-- (0x00 to 0x7F) --> Data... --> 0xFF -->-+
| |
- `-- (0x80 .. 0xFF) --> Length --> Data... ------->-'</pre>
+ `-- (0x80 to 0xFF) --> Length --> Data... ------->-'</pre>
<h6 id=design-philosophy><span class=secno>10.3.4.1.3 </span>Design philosophy</h6>
@@ -66307,7 +66307,7 @@
<ol><li><p>If <var title="">protocol</var> is specified but is either
the empty string or contains characters that are not in the range
- U+0021 .. U+007E, then fail this algorithm.</li>
+ U+0021 to U+007E, then fail this algorithm.</li>
<li><p>If the <var title="">url</var> string is not an
<a href=#absolute-url>absolute URL</a>, then fail this algorithm. <a href=#refsWEBADDRESSES>[WEBADDRESSES]</a></li>
@@ -66725,7 +66725,7 @@
<dd>Move on to the next step.</dd>
- <dt>If the byte is in the range 0x41 .. 0x5A (ASCII A .. Z)</dt>
+ <dt>If the byte is in the range 0x41 to 0x5A (ASCII A-Z)</dt>
<dd>Append a byte whose value is the byte's value plus 0x20 to
the <var title="">name</var> byte array and redo this step for
@@ -68394,8 +68394,8 @@
<p>Many strings in the HTML syntax (e.g. the names of elements and
their attributes) are case-insensitive, but only for characters in
- the ranges U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL
- LETTER Z) and U+0061 .. U+007A (LATIN SMALL LETTER A to LATIN SMALL
+ the ranges U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL
+ LETTER Z) and U+0061 to U+007A (LATIN SMALL LETTER A to LATIN SMALL
LETTER Z). For convenience, in this section this is just referred to
as "case-insensitive".</p>
Modified: index
===================================================================
--- index 2009-10-20 01:27:40 UTC (rev 4186)
+++ index 2009-10-20 01:32:32 UTC (rev 4187)
@@ -2371,9 +2371,9 @@
<p>Comparing two strings in an <dfn id=ascii-case-insensitive>ASCII case-insensitive</dfn>
manner means comparing them exactly, code point for code point, except
- that the characters in the range U+0041 .. U+005A (i.e. LATIN
+ that the characters in the range U+0041 to U+005A (i.e. LATIN
CAPITAL LETTER A to LATIN CAPITAL LETTER Z) and the corresponding
- characters in the range U+0061 .. U+007A (i.e. LATIN SMALL LETTER A
+ characters in the range U+0061 to U+007A (i.e. LATIN SMALL LETTER A
to LATIN SMALL LETTER Z) are considered to also match.</p>
<p>Comparing two strings in a <dfn id=compatibility-caseless>compatibility caseless</dfn>
@@ -2385,15 +2385,15 @@
<p><dfn id=converted-to-ascii-uppercase title="converted to ASCII uppercase">Converting a string to
ASCII uppercase</dfn> means replacing all characters in the range
- U+0061 .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z)
- with the corresponding characters in the range U+0041 .. U+005A
+ U+0061 to U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z)
+ with the corresponding characters in the range U+0041 to U+005A
(i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z).</p>
<p><dfn id=converted-to-ascii-lowercase title="converted to ASCII lowercase">Converting a string to
ASCII lowercase</dfn> means replacing all characters in the range
- U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
+ U+0041 to U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
LETTER Z) with the corresponding characters in the range U+0061
- .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
+ to U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
</div>
@@ -3210,7 +3210,7 @@
<!-- <dt>A U+002E FULL STOP character</dt> -->
- <dt>A character in the range U+0001 .. U+001F, <!-- space --> U+0021 .. U+002B, <!-- comma --> U+002D .. U+002F, <!-- digits --> U+003A, <!-- semicolon --> U+003C .. U+0040, <!-- a-z --> U+005B .. U+0060, <!-- A-Z --> U+007b .. U+007F
+ <dt>A character in the range U+0001 to U+001F, <!-- space --> U+0021 to U+002B, <!-- comma --> U+002D to U+002F, <!-- digits --> U+003A, <!-- semicolon --> U+003C to U+0040, <!-- a-z --> U+005B to U+0060, <!-- A-Z --> U+007b to U+007F
(i.e. any other non-alphabetic ASCII character)</dt>
<!--
@@ -8115,7 +8115,7 @@
<p>A <dfn id=custom-data-attribute>custom data attribute</dfn> is an attribute in no
namespace whose name starts with the string "<dfn id=attr-data-* title=attr-data-*><code>data-</code></dfn>", has at least one
character after the hyphen, is <a href=#xml-compatible>XML-compatible</a>, and
- contains no characters in the range U+0041 .. U+005A (LATIN CAPITAL
+ contains no characters in the range U+0041 to U+005A (LATIN CAPITAL
LETTER A to LATIN CAPITAL LETTER Z).</p>
<p class=note>All attributes in <a href=#html-documents>HTML documents</a> get
@@ -20627,7 +20627,7 @@
<p>Any (namespace-less) attribute may be specified on the
<code><a href=#the-embed-element>embed</a></code> element, so long as its name is
<a href=#xml-compatible>XML-compatible</a> and contains no characters in the range
- U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
+ U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
Z). These attributes are then passed as parameters to the
<a href=#plugin>plugin</a>.</p>
@@ -39458,8 +39458,8 @@
following subsubsteps:</p>
<ol><!-- * - . _ 0-9 a-z A-Z --><li><p>If the character isn't in the range U+0020, U+002A,
- U+002D, U+002E, U+0030 .. U+0039, U+0041 .. U+005A, U+005F,
- U+0061 .. U+007A then replace the character with a string
+ U+002D, U+002E, U+0030 to U+0039, U+0041 to U+005A, U+005F,
+ U+0061 to U+007A then replace the character with a string
formed as follows: Start with the empty string, and then,
taking each byte of the character when expressed in the
selected character encoding in turn, append to the string a
@@ -59452,8 +59452,8 @@
<p>Many strings in the HTML syntax (e.g. the names of elements and
their attributes) are case-insensitive, but only for characters in
- the ranges U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL
- LETTER Z) and U+0061 .. U+007A (LATIN SMALL LETTER A to LATIN SMALL
+ the ranges U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL
+ LETTER Z) and U+0061 to U+007A (LATIN SMALL LETTER A to LATIN SMALL
LETTER Z). For convenience, in this section this is just referred to
as "case-insensitive".</p>
Modified: source
===================================================================
--- source 2009-10-20 01:27:40 UTC (rev 4186)
+++ source 2009-10-20 01:32:32 UTC (rev 4187)
@@ -1397,9 +1397,9 @@
<p>Comparing two strings in an <dfn>ASCII case-insensitive</dfn>
manner means comparing them exactly, code point for code point, except
- that the characters in the range U+0041 .. U+005A (i.e. LATIN
+ that the characters in the range U+0041 to U+005A (i.e. LATIN
CAPITAL LETTER A to LATIN CAPITAL LETTER Z) and the corresponding
- characters in the range U+0061 .. U+007A (i.e. LATIN SMALL LETTER A
+ characters in the range U+0061 to U+007A (i.e. LATIN SMALL LETTER A
to LATIN SMALL LETTER Z) are considered to also match.</p>
<p>Comparing two strings in a <dfn>compatibility caseless</dfn>
@@ -1412,15 +1412,15 @@
<p><dfn title="converted to ASCII uppercase">Converting a string to
ASCII uppercase</dfn> means replacing all characters in the range
- U+0061 .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z)
- with the corresponding characters in the range U+0041 .. U+005A
+ U+0061 to U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z)
+ with the corresponding characters in the range U+0041 to U+005A
(i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z).</p>
<p><dfn title="converted to ASCII lowercase">Converting a string to
ASCII lowercase</dfn> means replacing all characters in the range
- U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
+ U+0041 to U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
LETTER Z) with the corresponding characters in the range U+0061
- .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
+ to U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
</div>
@@ -2411,7 +2411,7 @@
<!-- <dt>A U+002E FULL STOP character</dt> -->
- <dt>A character in the range U+0001 .. U+001F, <!-- space --> U+0021 .. U+002B, <!-- comma --> U+002D .. U+002F, <!-- digits --> U+003A, <!-- semicolon --> U+003C .. U+0040, <!-- a-z --> U+005B .. U+0060, <!-- A-Z --> U+007b .. U+007F
+ <dt>A character in the range U+0001 to U+001F, <!-- space --> U+0021 to U+002B, <!-- comma --> U+002D to U+002F, <!-- digits --> U+003A, <!-- semicolon --> U+003C to U+0040, <!-- a-z --> U+005B to U+0060, <!-- A-Z --> U+007b to U+007F
(i.e. any other non-alphabetic ASCII character)</dt>
<!--
@@ -8228,7 +8228,7 @@
namespace whose name starts with the string "<dfn
title="attr-data-*"><code>data-</code></dfn>", has at least one
character after the hyphen, is <span>XML-compatible</span>, and
- contains no characters in the range U+0041 .. U+005A (LATIN CAPITAL
+ contains no characters in the range U+0041 to U+005A (LATIN CAPITAL
LETTER A to LATIN CAPITAL LETTER Z).</p>
<p class="note">All attributes in <span>HTML documents</span> get
@@ -22095,7 +22095,7 @@
<p>Any (namespace-less) attribute may be specified on the
<code>embed</code> element, so long as its name is
<span>XML-compatible</span> and contains no characters in the range
- U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
+ U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER
Z). These attributes are then passed as parameters to the
<span>plugin</span>.</p>
@@ -44226,8 +44226,8 @@
<!-- * - . _ 0-9 a-z A-Z -->
<li><p>If the character isn't in the range U+0020, U+002A,
- U+002D, U+002E, U+0030 .. U+0039, U+0041 .. U+005A, U+005F,
- U+0061 .. U+007A then replace the character with a string
+ U+002D, U+002E, U+0030 to U+0039, U+0041 to U+005A, U+005F,
+ U+0061 to U+007A then replace the character with a string
formed as follows: Start with the empty string, and then,
taking each byte of the character when expressed in the
selected character encoding in turn, append to the string a
@@ -74348,9 +74348,9 @@
\|/
Frame type byte <-------------------------------------.
| | |
- | `-- (0x00 .. 0x7F) --> Data... --> 0xFF -->-+
+ | `-- (0x00 to 0x7F) --> Data... --> 0xFF -->-+
| |
- `-- (0x80 .. 0xFF) --> Length --> Data... ------->-'</pre>
+ `-- (0x80 to 0xFF) --> Length --> Data... ------->-'</pre>
<h6>Design philosophy</h6>
@@ -74449,9 +74449,9 @@
<p><dfn title="converted to ASCII lowercase">Converting a string to
ASCII lowercase</dfn> means replacing all characters in the range
- U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
+ U+0041 to U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL
LETTER Z) with the corresponding characters in the range U+0061
- .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
+ to U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z).</p>
<p>The term "URL" is used in this section in a manner consistent
with the terminology used in HTML, namely, to denote a string that
@@ -74476,7 +74476,7 @@
<li><p>If <var title="">protocol</var> is specified but is either
the empty string or contains characters that are not in the range
- U+0021 .. U+007E, then fail this algorithm.</p></li>
+ U+0021 to U+007E, then fail this algorithm.</p></li>
<li><p>If the <var title="">url</var> string is not an
<span>absolute URL</span>, then fail this algorithm. <a
@@ -74950,7 +74950,7 @@
<dd>Move on to the next step.</dd>
- <dt>If the byte is in the range 0x41 .. 0x5A (ASCII A .. Z)</dt>
+ <dt>If the byte is in the range 0x41 to 0x5A (ASCII A-Z)</dt>
<dd>Append a byte whose value is the byte's value plus 0x20 to
the <var title="">name</var> byte array and redo this step for
@@ -76911,8 +76911,8 @@
<p>Many strings in the HTML syntax (e.g. the names of elements and
their attributes) are case-insensitive, but only for characters in
- the ranges U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL
- LETTER Z) and U+0061 .. U+007A (LATIN SMALL LETTER A to LATIN SMALL
+ the ranges U+0041 to U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL
+ LETTER Z) and U+0061 to U+007A (LATIN SMALL LETTER A to LATIN SMALL
LETTER Z). For convenience, in this section this is just referred to
as "case-insensitive".</p>
More information about the Commit-Watchers
mailing list