[html5] r5125 - [giow] (0) Captions - Stage 13: Change WebSRT timestamp parsing rules to be more [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jun 30 12:40:57 PDT 2010


Author: ianh
Date: 2010-06-30 12:40:56 -0700 (Wed, 30 Jun 2010)
New Revision: 5125

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Captions - Stage 13: Change WebSRT timestamp parsing rules to be more consistent with the error handling done by existing UAs.

Modified: complete.html
===================================================================
--- complete.html	2010-06-30 19:25:33 UTC (rev 5124)
+++ complete.html	2010-06-30 19:40:56 UTC (rev 5125)
@@ -26745,7 +26745,7 @@
    <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <a href=#websrt-cue-settings>WebSRT cue settings</a>.</li>
    <li>A <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
    <li>Optionally, a <a href=#websrt-voice-declaration>WebSRT voice declaration</a> followed by zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters.</li>
-   <li>One or more <a href=#websrt-cue-text-line title="WebSRT cue text line">WebSRT cue text lines</a>, each separated from the next by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
+   <li><span title="WebSRT cue text line">WebSRT cue text</span>.</li>
   </ol><p>A <dfn id=websrt-line-terminator>WebSRT line terminator</dfn> consists of one of the
   following:</p>
 
@@ -26883,8 +26883,9 @@
      <li>The string "<code title="">credit</code>".</li>
     </ul></li>
    <li>A U+003E GREATER-THAN SIGN character (>).</li>
-  </ol><p>A <dfn id=websrt-cue-text-line>WebSRT cue text line</dfn> consists of one or more of the
-  following components, in any order:</p>
+  </ol><p><dfn id=websrt-cue-text>WebSRT cue text</dfn> consists of one or more of the
+  following components, in any order, each optionally separated from
+  the next by a <a href=#websrt-line-terminator>WebSRT line terminator</a>:</p>
 
   <ul><li>A <a href=#websrt-cue-text-span>WebSRT cue text span</a>, representing text of the cue.</li>
    <li>A <a href=#websrt-cue-amp-escape>WebSRT cue amp escape</a>, representing a "&" character in the text of the cue.</li>
@@ -26920,16 +26921,16 @@
 
   <p>A <dfn id=websrt-cue-italics-span>WebSRT cue italics span</dfn> consists of a U+003C
   LESS-THAN SIGN character (<), a U+0069 LATIN SMALL LETTER I
-  character, and a U+003E GREATER-THAN SIGN character (>), then a
-  <a href=#websrt-cue-text-line>WebSRT cue text line</a> representing the italicized text, and finally a U+003C LESS-THAN
-  SIGN character (<), a U+002F SOLIDUS character (/), a U+0069 LATIN
-  SMALL LETTER I character, and a U+003E GREATER-THAN SIGN character
-  (>).</p>
+  character, and a U+003E GREATER-THAN SIGN character (>), then
+  <a href=#websrt-cue-text>WebSRT cue text</a> representing the italicized text, and
+  finally a U+003C LESS-THAN SIGN character (<), a U+002F SOLIDUS
+  character (/), a U+0069 LATIN SMALL LETTER I character, and a U+003E
+  GREATER-THAN SIGN character (>).</p>
 
   <p>A <dfn id=websrt-cue-bold-span>WebSRT cue bold span</dfn> consists of a U+003C LESS-THAN
-  SIGN character (<), a U+0062 LATIN SMALL LETTER B character, and a
-  U+003E GREATER-THAN SIGN character (>), then a <a href=#websrt-cue-text-line>WebSRT cue text
-  line</a> representing the bolded text, and finally a U+003C
+  SIGN character (<), a U+0062 LATIN SMALL LETTER B character, and
+  a U+003E GREATER-THAN SIGN character (>), then <a href=#websrt-cue-text>WebSRT cue
+  text</a> representing the bolded text, and finally a U+003C
   LESS-THAN SIGN character (<), a U+002F SOLIDUS character (/), a
   U+0062 LATIN SMALL LETTER B character, and a U+003E GREATER-THAN
   SIGN character (>).</p>
@@ -26939,9 +26940,9 @@
 
   <ol><li>The string "<code title=""><ruby></code>".</li>
    <li>One or more occurances of the following group of components, in the order given:
-    <ol><li>A <a href=#websrt-cue-text-line>WebSRT cue text line</a>, representing the ruby base.</li>
+    <ol><li><a href=#websrt-cue-text>WebSRT cue text</a>, representing the ruby base.</li>
      <li>The string "<code title=""><rt></code>".</li>
-     <li>A <a href=#websrt-cue-text-line>WebSRT cue text line</a>, representing the ruby text component of th ruby annotation.</li>
+     <li><a href=#websrt-cue-text>WebSRT cue text</a>, representing the ruby text component of th ruby annotation.</li>
      <li>The string "<code title=""></rt></code>".</li>
     </ol></li>
    <li>Zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters.</li>
@@ -27409,10 +27410,10 @@
 
    <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li>
-
+<!--(should only do this check for minutes, not hours, if we ever bring it back)
    <li><p>If <var title="">string</var> is not exactly two characters
-   in length, return an error and abort these steps.</li>
-
+   in length, return an error and abort these steps.</p></li>
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>1</sub></var> be that
    integer.</li>
@@ -27426,22 +27427,25 @@
 
    <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li>
-
+<!--
    <li><p>If <var title="">string</var> is not exactly two characters
-   in length, return an error and abort these steps.</li>
-
+   in length, return an error and abort these steps.</p></li>
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>2</sub></var> be that
    integer.</li>
 
    <li>
 
-    <p>If <var title="">value<sub>1</sub></var> is greater than 59, or
-    if <var title="">position</var> is not beyond the end of <var title="">input</var> and the character at <var title="">position</var> is not a U+003A COLON character (:), run
+    <p>If <!--<var title="">value<sub>1</sub></var> is greater than
+    59, or if--> <var title="">position</var> is not beyond the end of
+    <var title="">input</var> and the character at <var title="">position</var> is not a U+003A COLON character (:), run
     these substeps:</p>
 
-    <ol><li><p>If <var title="">position</var> is beyond the end of <var title="">input</var> or if the character at <var title="">position</var> is not a U+003A COLON character (:), then
-     return an error and abort these steps. Otherwise, move <var title="">position</var> forwards one character.</li>
+    <ol><li><p><!--If <var title="">position</var> is beyond the end of <var
+     title="">input</var> or if the character at <var
+     title="">position</var> is not a U+003A COLON character (:), then
+     return an error and abort these steps. Otherwise, move--> Move <var title="">position</var> forwards one character.</li>
 
      <li><p>If the character indicated by <var title="">position</var>
      is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), then
@@ -27449,19 +27453,20 @@
 
      <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
      U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li>
-
+<!--
      <li><p>If <var title="">string</var> is not exactly two
      characters in length, return an error and abort these
-     steps.</li>
-
+     steps.</p></li>
+-->
      <li><p>Interpret <var title="">string</var> as a base-ten
      integer. Let <var title="">value<sub>3</sub></var> be that
      integer.</li>
 
-    </ol><p>Otherwise (if <var title="">value<sub>1</sub></var> is less
-    than or equal to 59 and <var title="">position</var> is not beyond
-    the end of <var title="">input</var> and the character at <var title="">position</var> is not a U+003A COLON character (:)), let
-    <var title="">value<sub>3</sub></var> have the value of <var title="">value<sub>2</sub></var>, then <var title="">value<sub>2</sub></var> have the value of <var title="">value<sub>1</sub></var>, then let <var title="">value<sub>1</sub></var> equal zero.</p>
+    </ol><p>Otherwise (if <!--<var title="">value<sub>1</sub></var> is less
+    than or equal to 59, and either--> <var title="">position</var> is
+    beyond the end of <var title="">input</var>, or the character at
+    <var title="">position</var> is not a U+003A COLON character (:)),
+    let <var title="">value<sub>3</sub></var> have the value of <var title="">value<sub>2</sub></var>, then <var title="">value<sub>2</sub></var> have the value of <var title="">value<sub>1</sub></var>, then let <var title="">value<sub>1</sub></var> equal zero.</p>
 
    </li>
 
@@ -27476,15 +27481,19 @@
 
    <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li>
-
+<!--
    <li><p>If <var title="">string</var> is not exactly three
    characters in length, return an error and abort these
-   steps.</li>
-
+   steps.</p></li>
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>4</sub></var> be that
    integer.</li>
 
+<!--
+   (this is where checks of the ranges of the data would go, to make sure thousandsth < 1000, seconds < 60, minutes < 60)
+-->
+
    <li><p>Let <var title="">result</var> be <span title=""><var title="">value<sub>1</sub></var>×60×60 + <var title="">value<sub>2</sub></var>×60 + <var title="">value<sub>3</sub></var> + <var title="">value<sub>4</sub></var>∕1000</span>. <!-- &#x00f7;
    is the division sign if people prefer that to the slash
    --></li>

Modified: index
===================================================================
--- index	2010-06-30 19:25:33 UTC (rev 5124)
+++ index	2010-06-30 19:40:56 UTC (rev 5125)
@@ -26672,7 +26672,7 @@
    <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <a href=#websrt-cue-settings>WebSRT cue settings</a>.</li>
    <li>A <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
    <li>Optionally, a <a href=#websrt-voice-declaration>WebSRT voice declaration</a> followed by zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters.</li>
-   <li>One or more <a href=#websrt-cue-text-line title="WebSRT cue text line">WebSRT cue text lines</a>, each separated from the next by a <a href=#websrt-line-terminator>WebSRT line terminator</a>.</li>
+   <li><span title="WebSRT cue text line">WebSRT cue text</span>.</li>
   </ol><p>A <dfn id=websrt-line-terminator>WebSRT line terminator</dfn> consists of one of the
   following:</p>
 
@@ -26810,8 +26810,9 @@
      <li>The string "<code title="">credit</code>".</li>
     </ul></li>
    <li>A U+003E GREATER-THAN SIGN character (>).</li>
-  </ol><p>A <dfn id=websrt-cue-text-line>WebSRT cue text line</dfn> consists of one or more of the
-  following components, in any order:</p>
+  </ol><p><dfn id=websrt-cue-text>WebSRT cue text</dfn> consists of one or more of the
+  following components, in any order, each optionally separated from
+  the next by a <a href=#websrt-line-terminator>WebSRT line terminator</a>:</p>
 
   <ul><li>A <a href=#websrt-cue-text-span>WebSRT cue text span</a>, representing text of the cue.</li>
    <li>A <a href=#websrt-cue-amp-escape>WebSRT cue amp escape</a>, representing a "&" character in the text of the cue.</li>
@@ -26847,16 +26848,16 @@
 
   <p>A <dfn id=websrt-cue-italics-span>WebSRT cue italics span</dfn> consists of a U+003C
   LESS-THAN SIGN character (<), a U+0069 LATIN SMALL LETTER I
-  character, and a U+003E GREATER-THAN SIGN character (>), then a
-  <a href=#websrt-cue-text-line>WebSRT cue text line</a> representing the italicized text, and finally a U+003C LESS-THAN
-  SIGN character (<), a U+002F SOLIDUS character (/), a U+0069 LATIN
-  SMALL LETTER I character, and a U+003E GREATER-THAN SIGN character
-  (>).</p>
+  character, and a U+003E GREATER-THAN SIGN character (>), then
+  <a href=#websrt-cue-text>WebSRT cue text</a> representing the italicized text, and
+  finally a U+003C LESS-THAN SIGN character (<), a U+002F SOLIDUS
+  character (/), a U+0069 LATIN SMALL LETTER I character, and a U+003E
+  GREATER-THAN SIGN character (>).</p>
 
   <p>A <dfn id=websrt-cue-bold-span>WebSRT cue bold span</dfn> consists of a U+003C LESS-THAN
-  SIGN character (<), a U+0062 LATIN SMALL LETTER B character, and a
-  U+003E GREATER-THAN SIGN character (>), then a <a href=#websrt-cue-text-line>WebSRT cue text
-  line</a> representing the bolded text, and finally a U+003C
+  SIGN character (<), a U+0062 LATIN SMALL LETTER B character, and
+  a U+003E GREATER-THAN SIGN character (>), then <a href=#websrt-cue-text>WebSRT cue
+  text</a> representing the bolded text, and finally a U+003C
   LESS-THAN SIGN character (<), a U+002F SOLIDUS character (/), a
   U+0062 LATIN SMALL LETTER B character, and a U+003E GREATER-THAN
   SIGN character (>).</p>
@@ -26866,9 +26867,9 @@
 
   <ol><li>The string "<code title=""><ruby></code>".</li>
    <li>One or more occurances of the following group of components, in the order given:
-    <ol><li>A <a href=#websrt-cue-text-line>WebSRT cue text line</a>, representing the ruby base.</li>
+    <ol><li><a href=#websrt-cue-text>WebSRT cue text</a>, representing the ruby base.</li>
      <li>The string "<code title=""><rt></code>".</li>
-     <li>A <a href=#websrt-cue-text-line>WebSRT cue text line</a>, representing the ruby text component of th ruby annotation.</li>
+     <li><a href=#websrt-cue-text>WebSRT cue text</a>, representing the ruby text component of th ruby annotation.</li>
      <li>The string "<code title=""></rt></code>".</li>
     </ol></li>
    <li>Zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters.</li>
@@ -27336,10 +27337,10 @@
 
    <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li>
-
+<!--(should only do this check for minutes, not hours, if we ever bring it back)
    <li><p>If <var title="">string</var> is not exactly two characters
-   in length, return an error and abort these steps.</li>
-
+   in length, return an error and abort these steps.</p></li>
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>1</sub></var> be that
    integer.</li>
@@ -27353,22 +27354,25 @@
 
    <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li>
-
+<!--
    <li><p>If <var title="">string</var> is not exactly two characters
-   in length, return an error and abort these steps.</li>
-
+   in length, return an error and abort these steps.</p></li>
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>2</sub></var> be that
    integer.</li>
 
    <li>
 
-    <p>If <var title="">value<sub>1</sub></var> is greater than 59, or
-    if <var title="">position</var> is not beyond the end of <var title="">input</var> and the character at <var title="">position</var> is not a U+003A COLON character (:), run
+    <p>If <!--<var title="">value<sub>1</sub></var> is greater than
+    59, or if--> <var title="">position</var> is not beyond the end of
+    <var title="">input</var> and the character at <var title="">position</var> is not a U+003A COLON character (:), run
     these substeps:</p>
 
-    <ol><li><p>If <var title="">position</var> is beyond the end of <var title="">input</var> or if the character at <var title="">position</var> is not a U+003A COLON character (:), then
-     return an error and abort these steps. Otherwise, move <var title="">position</var> forwards one character.</li>
+    <ol><li><p><!--If <var title="">position</var> is beyond the end of <var
+     title="">input</var> or if the character at <var
+     title="">position</var> is not a U+003A COLON character (:), then
+     return an error and abort these steps. Otherwise, move--> Move <var title="">position</var> forwards one character.</li>
 
      <li><p>If the character indicated by <var title="">position</var>
      is not one of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), then
@@ -27376,19 +27380,20 @@
 
      <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
      U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li>
-
+<!--
      <li><p>If <var title="">string</var> is not exactly two
      characters in length, return an error and abort these
-     steps.</li>
-
+     steps.</p></li>
+-->
      <li><p>Interpret <var title="">string</var> as a base-ten
      integer. Let <var title="">value<sub>3</sub></var> be that
      integer.</li>
 
-    </ol><p>Otherwise (if <var title="">value<sub>1</sub></var> is less
-    than or equal to 59 and <var title="">position</var> is not beyond
-    the end of <var title="">input</var> and the character at <var title="">position</var> is not a U+003A COLON character (:)), let
-    <var title="">value<sub>3</sub></var> have the value of <var title="">value<sub>2</sub></var>, then <var title="">value<sub>2</sub></var> have the value of <var title="">value<sub>1</sub></var>, then let <var title="">value<sub>1</sub></var> equal zero.</p>
+    </ol><p>Otherwise (if <!--<var title="">value<sub>1</sub></var> is less
+    than or equal to 59, and either--> <var title="">position</var> is
+    beyond the end of <var title="">input</var>, or the character at
+    <var title="">position</var> is not a U+003A COLON character (:)),
+    let <var title="">value<sub>3</sub></var> have the value of <var title="">value<sub>2</sub></var>, then <var title="">value<sub>2</sub></var> have the value of <var title="">value<sub>1</sub></var>, then let <var title="">value<sub>1</sub></var> equal zero.</p>
 
    </li>
 
@@ -27403,15 +27408,19 @@
 
    <li><p><a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var title="">string</var> be the collected substring.</li>
-
+<!--
    <li><p>If <var title="">string</var> is not exactly three
    characters in length, return an error and abort these
-   steps.</li>
-
+   steps.</p></li>
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>4</sub></var> be that
    integer.</li>
 
+<!--
+   (this is where checks of the ranges of the data would go, to make sure thousandsth < 1000, seconds < 60, minutes < 60)
+-->
+
    <li><p>Let <var title="">result</var> be <span title=""><var title="">value<sub>1</sub></var>×60×60 + <var title="">value<sub>2</sub></var>×60 + <var title="">value<sub>3</sub></var> + <var title="">value<sub>4</sub></var>∕1000</span>. <!-- &#x00f7;
    is the division sign if people prefer that to the slash
    --></li>

Modified: source
===================================================================
--- source	2010-06-30 19:25:33 UTC (rev 5124)
+++ source	2010-06-30 19:40:56 UTC (rev 5125)
@@ -28949,7 +28949,7 @@
    <li>Optionally, one or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters followed by <span>WebSRT cue settings</span>.</li>
    <li>A <span>WebSRT line terminator</span>.</li>
    <li>Optionally, a <span>WebSRT voice declaration</span> followed by zero or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters.</li>
-   <li>One or more <span title="WebSRT cue text line">WebSRT cue text lines</span>, each separated from the next by a <span>WebSRT line terminator</span>.</li>
+   <li><span title="WebSRT cue text line">WebSRT cue text</span>.</li>
   </ol>
 
   <p>A <dfn>WebSRT line terminator</dfn> consists of one of the
@@ -29140,8 +29140,9 @@
    <li>A U+003E GREATER-THAN SIGN character (>).</li>
   </ol>
 
-  <p>A <dfn>WebSRT cue text line</dfn> consists of one or more of the
-  following components, in any order:</p>
+  <p><dfn>WebSRT cue text</dfn> consists of one or more of the
+  following components, in any order, each optionally separated from
+  the next by a <span>WebSRT line terminator</span>:</p>
 
   <ul>
    <li>A <span>WebSRT cue text span</span>, representing text of the cue.</li>
@@ -29181,16 +29182,16 @@
 
   <p>A <dfn>WebSRT cue italics span</dfn> consists of a U+003C
   LESS-THAN SIGN character (<), a U+0069 LATIN SMALL LETTER I
-  character, and a U+003E GREATER-THAN SIGN character (>), then a
-  <span>WebSRT cue text line</span> representing the italicized text, and finally a U+003C LESS-THAN
-  SIGN character (<), a U+002F SOLIDUS character (/), a U+0069 LATIN
-  SMALL LETTER I character, and a U+003E GREATER-THAN SIGN character
-  (>).</p>
+  character, and a U+003E GREATER-THAN SIGN character (>), then
+  <span>WebSRT cue text</span> representing the italicized text, and
+  finally a U+003C LESS-THAN SIGN character (<), a U+002F SOLIDUS
+  character (/), a U+0069 LATIN SMALL LETTER I character, and a U+003E
+  GREATER-THAN SIGN character (>).</p>
 
   <p>A <dfn>WebSRT cue bold span</dfn> consists of a U+003C LESS-THAN
-  SIGN character (<), a U+0062 LATIN SMALL LETTER B character, and a
-  U+003E GREATER-THAN SIGN character (>), then a <span>WebSRT cue text
-  line</span> representing the bolded text, and finally a U+003C
+  SIGN character (<), a U+0062 LATIN SMALL LETTER B character, and
+  a U+003E GREATER-THAN SIGN character (>), then <span>WebSRT cue
+  text</span> representing the bolded text, and finally a U+003C
   LESS-THAN SIGN character (<), a U+002F SOLIDUS character (/), a
   U+0062 LATIN SMALL LETTER B character, and a U+003E GREATER-THAN
   SIGN character (>).</p>
@@ -29202,9 +29203,9 @@
    <li>The string "<code title=""><ruby></code>".</li>
    <li>One or more occurances of the following group of components, in the order given:
     <ol>
-     <li>A <span>WebSRT cue text line</span>, representing the ruby base.</li>
+     <li><span>WebSRT cue text</span>, representing the ruby base.</li>
      <li>The string "<code title=""><rt></code>".</li>
-     <li>A <span>WebSRT cue text line</span>, representing the ruby text component of th ruby annotation.</li>
+     <li><span>WebSRT cue text</span>, representing the ruby text component of th ruby annotation.</li>
      <li>The string "<code title=""></rt></code>".</li>
     </ol>
    </li>
@@ -29754,10 +29755,10 @@
    <li><p><span>Collect a sequence of characters</span> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var
    title="">string</var> be the collected substring.</p></li>
-
+<!--(should only do this check for minutes, not hours, if we ever bring it back)
    <li><p>If <var title="">string</var> is not exactly two characters
    in length, return an error and abort these steps.</p></li>
-
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>1</sub></var> be that
    integer.</p></li>
@@ -29775,28 +29776,28 @@
    <li><p><span>Collect a sequence of characters</span> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var
    title="">string</var> be the collected substring.</p></li>
-
+<!--
    <li><p>If <var title="">string</var> is not exactly two characters
    in length, return an error and abort these steps.</p></li>
-
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>2</sub></var> be that
    integer.</p></li>
 
    <li>
 
-    <p>If <var title="">value<sub>1</sub></var> is greater than 59, or
-    if <var title="">position</var> is not beyond the end of <var
-    title="">input</var> and the character at <var
+    <p>If <!--<var title="">value<sub>1</sub></var> is greater than
+    59, or if--> <var title="">position</var> is not beyond the end of
+    <var title="">input</var> and the character at <var
     title="">position</var> is not a U+003A COLON character (:), run
     these substeps:</p>
 
     <ol>
 
-     <li><p>If <var title="">position</var> is beyond the end of <var
+     <li><p><!--If <var title="">position</var> is beyond the end of <var
      title="">input</var> or if the character at <var
      title="">position</var> is not a U+003A COLON character (:), then
-     return an error and abort these steps. Otherwise, move <var
+     return an error and abort these steps. Otherwise, move--> Move <var
      title="">position</var> forwards one character.</p></li>
 
      <li><p>If the character indicated by <var title="">position</var>
@@ -29806,22 +29807,22 @@
      <li><p><span>Collect a sequence of characters</span> in the range
      U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var
      title="">string</var> be the collected substring.</p></li>
-
+<!--
      <li><p>If <var title="">string</var> is not exactly two
      characters in length, return an error and abort these
      steps.</p></li>
-
+-->
      <li><p>Interpret <var title="">string</var> as a base-ten
      integer. Let <var title="">value<sub>3</sub></var> be that
      integer.</p></li>
 
     </ol>
 
-    <p>Otherwise (if <var title="">value<sub>1</sub></var> is less
-    than or equal to 59 and <var title="">position</var> is not beyond
-    the end of <var title="">input</var> and the character at <var
-    title="">position</var> is not a U+003A COLON character (:)), let
-    <var title="">value<sub>3</sub></var> have the value of <var
+    <p>Otherwise (if <!--<var title="">value<sub>1</sub></var> is less
+    than or equal to 59, and either--> <var title="">position</var> is
+    beyond the end of <var title="">input</var>, or the character at
+    <var title="">position</var> is not a U+003A COLON character (:)),
+    let <var title="">value<sub>3</sub></var> have the value of <var
     title="">value<sub>2</sub></var>, then <var
     title="">value<sub>2</sub></var> have the value of <var
     title="">value<sub>1</sub></var>, then let <var
@@ -29843,15 +29844,19 @@
    <li><p><span>Collect a sequence of characters</span> in the range
    U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), and let <var
    title="">string</var> be the collected substring.</p></li>
-
+<!--
    <li><p>If <var title="">string</var> is not exactly three
    characters in length, return an error and abort these
    steps.</p></li>
-
+-->
    <li><p>Interpret <var title="">string</var> as a base-ten
    integer. Let <var title="">value<sub>4</sub></var> be that
    integer.</p></li>
 
+<!--
+   (this is where checks of the ranges of the data would go, to make sure thousandsth < 1000, seconds < 60, minutes < 60)
+-->
+
    <li><p>Let <var title="">result</var> be <span title=""><var
    title="">value<sub>1</sub></var>×60×60 + <var
    title="">value<sub>2</sub></var>×60 + <var




More information about the Commit-Watchers mailing list