- From: poot <cvsmail@w3.org>
- Date: Sat, 17 Jan 2009 06:10:08 +0900 (JST)
- To: public-html-diffs@w3.org
Correct mistakes pointed out overnight. (whatwg r2677) 7.2.3 Parsing an event stream http://people.w3.org/mike/diffs/html5/spec/Overview.1.1847.html#parsing-an-event-stream last event ID string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1847.html#concept-event-stream-last-event-id 4.3.1.2 Inline documentation for external scripts http://people.w3.org/mike/diffs/html5/spec/Overview.1.1847.html#inline-documentation-for-external-scripts script-created parser http://people.w3.org/mike/diffs/html5/spec/Overview.1.1847.html#script-created-parser http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1846&r2=1.1847&f=h http://html5.org/tools/web-apps-tracker?from=2676&to=2677 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1846 retrieving revision 1.1847 diff -u -d -r1.1846 -r1.1847 --- Overview.html 16 Jan 2009 06:18:09 -0000 1.1846 +++ Overview.html 16 Jan 2009 21:07:19 -0000 1.1847 @@ -6335,9 +6335,6 @@ parser</a>'s <a href=#tokenization>tokenization</a> stage's <a href=#content-model-flag>content model flag</a> to <i>PLAINTEXT</i>.</p> - <p class=note>All other values are treated as - <code>text/html</code>.</p> - <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Ciframe%3E%3C%2Fiframe%3E%3Cscript%3Eonload%20%3D%20function%20()%20%7B%20%0D%0A%20%20var%20d%20%3D%20document.getElementsByTagName('iframe')%5B0%5D.contentDocument%3B%0D%0A%20%20d.open('image%2Fsvg%2Bxml')%3B%0D%0A%20%20d.write(%22%3Cinput%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%20value%3D'(x)html'%2F%3E%22)%3B%0D%0A%20%20d.close()%3B%0D%0A%7D%3B%3C%2Fscript%3E http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E...%3Ciframe%3E%3C%2Fiframe%3E%3Cscript%3Eonload%20%3D%20function%20()%20%7B%20%0D%0A%20%20var%20d%20%3D%20document.getElementsByTagName('iframe')%5B0%5D.contentDocument%3B%0D%0A%20%20d.open('image%2Fgif')%3B%0D%0A%20%20var%20a%20%3D%20%5B%200x47%2C%200x49%2C%200x46%2C%200x38%2C%200x39%2C%200x61%2C%200x01%2C%200x00%2C%200x01%2C%200x00%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%200x80%2C%200xff%2C%200x00%2C%200xc0%2C%200xc0%2C%200xc0%2C%200x00%2C%200x00%2C%200x00%2C%200x21%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%200xf9%2C%200x04%2C%200x01%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x2c%2C%200x00%2C%200x00%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%200x00%2C%200x00%2C%200x01%2C%200x00%2C%200x01%2C%200x00%2C%200x00%2C%200x02%2C%200x02%2C%200x44%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%200x01%2C%200x00%2C%200x3b%20%5D%3B%0D%0A%20%20var%20s%20%3D%20%22%22%3B%0D%0A%20%20for%20(var%20i%20%3D%200%3B%20i%20%3C%20a.length%3B%20i%20%2B%3D201)%0D%0A%20%20%20%20s%20%2B%3D%20String.fromCharCode(a%5Bi%5D)%3B%0D%0A%20%20d.write(s)%3B%0D%0A%20%20d.close()%3B%0D%0A%7D%3B%3C%2Fscript%3E @@ -8372,19 +8369,19 @@ attribute, which is derived from the element's contents, matches the <code title="">documentation</code> production in the following ABNF. <a href=#references>[ABNF]</a></p><!-- XXX - ftp://ftp.rfc-editor.org/in-notes/std/std68.txt --><pre>documentation ::= *( *( space / tab / comment ) [ line-comment ] newline ) -comment ::= slash star *( not-star / star not-slash ) 1*star slash -line-comment ::= slash slash *not-newline + ftp://ftp.rfc-editor.org/in-notes/std/std68.txt --><pre>documentation = *( *( space / tab / comment ) [ line-comment ] newline ) +comment = slash star *( not-star / star not-slash ) 1*star slash +line-comment = slash slash *not-newline ; characters -space ::= < a U+0020 SPACE character > -tab ::= < a U+0009 TAB character > -newline ::= < a U+000A LINE FEED character > -star ::= < a U+002A ASTERISK character > -slash ::= < a U+002F SOLIDUS character > -not-newline ::= < a single Unicode character other than U+000A LINE FEED > -not-star ::= < a single Unicode character other than U+002A ASTERISK > -not-slash ::= < a single Unicode character other than U+002F SOLIDUS ></pre><div class=example> +space = < a U+0020 SPACE character > +tab = < a U+0009 TAB character > +newline = < a U+000A LINE FEED character > +star = < a U+002A ASTERISK character > +slash = < a U+002F SOLIDUS character > +not-newline = < a single Unicode character other than U+000A LINE FEED > +not-star = < a single Unicode character other than U+002A ASTERISK > +not-slash = < a single Unicode character other than U+002F SOLIDUS ></pre><div class=example> <p>This allows authors to include documentation, such as license information or API information, inside their documents while still @@ -35521,21 +35518,21 @@ Service Unavailable, 504 Gateway Timeout, and 505 HTTP Version Not Supported responses --><p>For non-HTTP protocols, UAs should act in equivalent ways.<h4 id=parsing-an-event-stream><span class=secno>7.2.3 </span>Parsing an event stream</h4><!-- XXX Wladimir Palant pointed out problems with HTTP chunking with server-sent-events --><p>This event stream format's MIME type is <code>text/event-stream</code>.<p>The event stream format is as described by the <code title="">stream</code> production of the following ABNF. <a href=#references>[ABNF]</a></p><!-- XXX - ftp://ftp.rfc-editor.org/in-notes/std/std68.txt --><pre>stream ::= [ bom ] *event -event ::= *( comment / field ) end-of-line -comment ::= colon *any-char end-of-line -field ::= 1*name-char [ colon [ space ] *any-char ] end-of-line -end-of-line ::= ( cr lf / cr / lf / eof ) -eof ::= < matches repeatedly at the end of the stream ></pre> + ftp://ftp.rfc-editor.org/in-notes/std/std68.txt --><pre>stream = [ bom ] *event +event = *( comment / field ) end-of-line +comment = colon *any-char end-of-line +field = 1*name-char [ colon [ space ] *any-char ] end-of-line +end-of-line = ( cr lf / cr / lf / eof ) +eof = < matches repeatedly at the end of the stream ></pre> ; characters -bom ::= < a single U+FEFF BYTE ORDER MARK character > -space ::= < a single U+0020 SPACE character > -colon ::= < a single U+003A COLON character > -cr ::= < a single U+000D CARRIAGE RETURN character > -lf ::= < a single U+000A LINE FEED character > -name-char ::= < a single Unicode character other than U+003A COLON, U+000D CARRIAGE RETURN and U+000A LINE FEED > -any-char ::= < a single Unicode character other than U+000D CARRIAGE RETURN and U+000A LINE FEED > +bom = < a single U+FEFF BYTE ORDER MARK character > +space = < a single U+0020 SPACE character > +colon = < a single U+003A COLON character > +cr = < a single U+000D CARRIAGE RETURN character > +lf = < a single U+000A LINE FEED character > +name-char = < a single Unicode character other than U+003A COLON, U+000D CARRIAGE RETURN and U+000A LINE FEED > +any-char = < a single Unicode character other than U+000D CARRIAGE RETURN and U+000A LINE FEED > <p>Event streams in this format must always be encoded as UTF-8.<p>Lines must be separated by either a U+000D CARRIAGE RETURN U+000A
Received on Friday, 16 January 2009 21:10:47 UTC