[html5] r5435 - [acgiow] (0) Allow a BOM in WebSRT.

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 7 17:37:01 PDT 2010


Author: ianh
Date: 2010-09-07 17:37:00 -0700 (Tue, 07 Sep 2010)
New Revision: 5435

Modified:
   complete.html
   index
   source
Log:
[acgiow] (0) Allow a BOM in WebSRT.

Modified: complete.html
===================================================================
--- complete.html	2010-09-08 00:33:51 UTC (rev 5434)
+++ complete.html	2010-09-08 00:37:00 UTC (rev 5435)
@@ -28111,7 +28111,8 @@
   body</a> encoded as UTF-8 and labeled with the <a href=#mime-type>MIME
   type</a> <code><a href=#text/srt>text/srt</a></code>. <a href=#refsRFC3629>[RFC3629]</a></p>
 
-  <p>A <dfn id=websrt-file-body>WebSRT file body</dfn> consists of zero or more <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line terminators</a>,
+  <p>A <dfn id=websrt-file-body>WebSRT file body</dfn> consists of an optional U+FEFF BYTE
+  ORDER MARK (BOM) character, followed by zero or more <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line terminators</a>,
   followed by zero or more <a href=#websrt-cue title="WebSRT cue">WebSRT cues</a>
   separated from each other by two or more <a href=#websrt-line-terminator title="WebSRT line
   terminator">WebSRT line terminators</a>, followed by zero or more
@@ -28412,6 +28413,9 @@
    been added to <var title="">input</var>, then the <var title="">position</var> pointer may, when so instructed by the
    algorithms, be moved past the end of <var title="">input</var>.</li>
 
+   <li><p>If the character indicated by <var title="">position</var>
+   is a U+FEFF BYTE ORDER MARK (BOM) character, advance <var title="">position</var> to the next character in <var title="">input</var>.</li>
+
    <li><p><i>Cue loop</i>: <a href=#collect-a-sequence-of-characters>Collect a sequence of
    characters</a> that are either U+000D CARRIAGE RETURN (CR) or
    U+000A LINE FEED (LF) characters.</li>

Modified: index
===================================================================
--- index	2010-09-08 00:33:51 UTC (rev 5434)
+++ index	2010-09-08 00:37:00 UTC (rev 5435)
@@ -28091,7 +28091,8 @@
   body</a> encoded as UTF-8 and labeled with the <a href=#mime-type>MIME
   type</a> <code><a href=#text/srt>text/srt</a></code>. <a href=#refsRFC3629>[RFC3629]</a></p>
 
-  <p>A <dfn id=websrt-file-body>WebSRT file body</dfn> consists of zero or more <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line terminators</a>,
+  <p>A <dfn id=websrt-file-body>WebSRT file body</dfn> consists of an optional U+FEFF BYTE
+  ORDER MARK (BOM) character, followed by zero or more <a href=#websrt-line-terminator title="WebSRT line terminator">WebSRT line terminators</a>,
   followed by zero or more <a href=#websrt-cue title="WebSRT cue">WebSRT cues</a>
   separated from each other by two or more <a href=#websrt-line-terminator title="WebSRT line
   terminator">WebSRT line terminators</a>, followed by zero or more
@@ -28392,6 +28393,9 @@
    been added to <var title="">input</var>, then the <var title="">position</var> pointer may, when so instructed by the
    algorithms, be moved past the end of <var title="">input</var>.</li>
 
+   <li><p>If the character indicated by <var title="">position</var>
+   is a U+FEFF BYTE ORDER MARK (BOM) character, advance <var title="">position</var> to the next character in <var title="">input</var>.</li>
+
    <li><p><i>Cue loop</i>: <a href=#collect-a-sequence-of-characters>Collect a sequence of
    characters</a> that are either U+000D CARRIAGE RETURN (CR) or
    U+000A LINE FEED (LF) characters.</li>

Modified: source
===================================================================
--- source	2010-09-08 00:33:51 UTC (rev 5434)
+++ source	2010-09-08 00:37:00 UTC (rev 5435)
@@ -30580,7 +30580,8 @@
   body</span> encoded as UTF-8 and labeled with the <span>MIME
   type</span> <code>text/srt</code>. <a href="#refsRFC3629">[RFC3629]</a></p>
 
-  <p>A <dfn>WebSRT file body</dfn> consists of zero or more <span
+  <p>A <dfn>WebSRT file body</dfn> consists of an optional U+FEFF BYTE
+  ORDER MARK (BOM) character, followed by zero or more <span
   title="WebSRT line terminator">WebSRT line terminators</span>,
   followed by zero or more <span title="WebSRT cue">WebSRT cues</span>
   separated from each other by two or more <span title="WebSRT line
@@ -30974,6 +30975,11 @@
    algorithms, be moved past the end of <var
    title="">input</var>.</p></li>
 
+   <li><p>If the character indicated by <var title="">position</var>
+   is a U+FEFF BYTE ORDER MARK (BOM) character, advance <var
+   title="">position</var> to the next character in <var
+   title="">input</var>.</p></li>
+
    <li><p><i>Cue loop</i>: <span>Collect a sequence of
    characters</span> that are either U+000D CARRIAGE RETURN (CR) or
    U+000A LINE FEED (LF) characters.</p></li>




More information about the Commit-Watchers mailing list