W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2008

html5/spec Overview.html,1.1266,1.1267

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 21 Aug 2008 09:46:50 +0000
To: public-html-commits@w3.org
Message-Id: <E1KW6kk-0000s0-EJ@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv3283

Modified Files:
	Overview.html 
Log Message:
Turns out that Zs isn't what we want; we want White_Space. (credit: w) (whatwg r2094)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1266
retrieving revision 1.1267
diff -u -d -r1.1266 -r1.1267
--- Overview.html	21 Aug 2008 09:35:56 -0000	1.1266
+++ Overview.html	21 Aug 2008 09:46:47 -0000	1.1267
@@ -3100,6 +3100,10 @@
    TABULATION (tab), U+000A LINE FEED (LF), U+000C FORM FEED (FF), and U+000D
    CARRIAGE RETURN (CR).
 
+  <p>The <dfn id=whitespace title=White_Space>White_Space characters</dfn>
+   are those that have the Unicode property "White_Space". <a
+   href="#references">[UNICODE]</a>
+
   <p>Some of the micro-parsers described below follow the pattern of having
    an <var title="">input</var> variable that holds the string being parsed,
    and having a <var title="">position</var> variable pointing at the next
@@ -3134,10 +3138,11 @@
   <p>The step <dfn id=skip-whitespace>skip whitespace</dfn> means that the
    user agent must <a href="#collect">collect a sequence of characters</a>
    that are <a href="#space" title="space character">space characters</a>.
-   The step <dfn id=skip->skip Zs characters</dfn> means that the user agent
-   must <a href="#collect">collect a sequence of characters</a> that are in
-   the Unicode character class Zs. In both cases, the collected characters
-   are not used. <a href="#references">[UNICODE]</a>
+   The step <dfn id=skip->skip White_Space characters</dfn> means that the
+   user agent must <a href="#collect">collect a sequence of characters</a>
+   that are <a href="#whitespace">White_Space</a> characters. In both cases,
+   the collected characters are not used. <a
+   href="#references">[UNICODE]</a>
 
   <h4 id=boolean><span class=secno>2.4.2 </span>Boolean attributes</h4>
 
@@ -3493,9 +3498,9 @@
     sub-algorithm in step 2.
 
    <li>Starting with the character immediately after the last one examined by
-    the sub-algorithm in step 2, skip any characters in the string that are
-    in the Unicode character class Zs (this might match zero characters). <a
-    href="#references">[UNICODE]</a>
+    the sub-algorithm in step 2, skip all <a
+    href="#whitespace">White_Space</a> characters in the string (this might
+    match zero characters).
 
    <li>If there are still further characters in the string, and the next
     character in the string is a <a href="#valid2">valid denominator
@@ -3521,9 +3526,9 @@
     sub-algorithm in step 9.
 
    <li>Starting with the character immediately after the last one examined by
-    the sub-algorithm in step 9, skip any characters in the string that are
-    in the Unicode character class Zs (this might match zero characters). <a
-    href="#references">[UNICODE]</a>
+    the sub-algorithm in step 9, skip all <a
+    href="#whitespace">White_Space</a> characters in the string (this might
+    match zero characters).
 
    <li>If there are still further characters in the string, and the next
     character in the string is a <a href="#valid2">valid denominator
@@ -4222,9 +4227,9 @@
    <!-- LEADING WHITESPACE -->
 
    <li>
-    <p>For the "in content" variant: <a href="#skip-">skip Zs characters</a>;
-     for the "in attributes" variant: <a href="#skip-whitespace">skip
-     whitespace</a>.
+    <p>For the "in content" variant: <a href="#skip-">skip White_Space
+     characters</a>; for the "in attributes" variant: <a
+     href="#skip-whitespace">skip whitespace</a>.
    </li>
    <!-- XXX skip whitespace in attribute?
    really? -->
@@ -4329,7 +4334,7 @@
      <!-- WHITESPACE -->
 
      <li>
-      <p>For the "in content" variant: <a href="#skip-">skip Zs
+      <p>For the "in content" variant: <a href="#skip-">skip White_Space
        characters</a>; for the "in attributes" variant: <a
        href="#skip-whitespace">skip whitespace</a>.
 
@@ -4339,7 +4344,7 @@
        character.
 
      <li>
-      <p>For the "in content" variant: <a href="#skip-">skip Zs
+      <p>For the "in content" variant: <a href="#skip-">skip White_Space
        characters</a>; for the "in attributes" variant: <a
        href="#skip-whitespace">skip whitespace</a>.
      </li>
@@ -4448,7 +4453,7 @@
 
     <ol>
      <li>
-      <p>For the "in content" variant: <a href="#skip-">skip Zs
+      <p>For the "in content" variant: <a href="#skip-">skip White_Space
        characters</a>; for the "in attributes" variant: <a
        href="#skip-whitespace">skip whitespace</a>.
 
@@ -4554,9 +4559,9 @@
     </ol>
 
    <li>
-    <p>For the "in content" variant: <a href="#skip-">skip Zs characters</a>;
-     for the "in attributes" variant: <a href="#skip-whitespace">skip
-     whitespace</a>.
+    <p>For the "in content" variant: <a href="#skip-">skip White_Space
+     characters</a>; for the "in attributes" variant: <a
+     href="#skip-whitespace">skip whitespace</a>.
 
    <li>
     <p>If <var title="">position</var> is <em>not</em> past the end of <var
@@ -26227,9 +26232,8 @@
    href="#empty0" title="empty data cell">empty data cells</a>.
 
   <p>A data cell is said to be an <dfn id=empty0>empty data cell</dfn> if it
-   contains no elements and its text content, if any, consists only of
-   characters in the Unicode character class Zs. <a
-   href="#references">[UNICODE]</a>
+   contains no elements and its text content, if any, consists only of <a
+   href="#whitespace">White_Space</a> characters.
 
   <p>User agents may remove <a href="#empty0" title="empty data cell">empty
    data cells</a> when analyzing data in a <a href="#table1"
Received on Thursday, 21 August 2008 09:47:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT