Skip to content

Commit

Permalink
[e] (0) Correct mistakes pointed out overnight.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2677 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 16, 2009
1 parent c0365de commit d344438
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 54 deletions.
51 changes: 24 additions & 27 deletions index
Expand Up @@ -7788,9 +7788,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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%3D%201)%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
Expand Down Expand Up @@ -10192,19 +10189,19 @@ o............A....e
ABNF. <a href=#refsABNF>[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
<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 ::= &lt; a U+0020 SPACE character &gt;
tab ::= &lt; a U+0009 TAB character &gt;
newline ::= &lt; a U+000A LINE FEED character &gt;
star ::= &lt; a U+002A ASTERISK character &gt;
slash ::= &lt; a U+002F SOLIDUS character &gt;
not-newline ::= &lt; a single Unicode character other than U+000A LINE FEED &gt;
not-star ::= &lt; a single Unicode character other than U+002A ASTERISK &gt;
not-slash ::= &lt; a single Unicode character other than U+002F SOLIDUS &gt;</pre>
space = &lt; a U+0020 SPACE character &gt;
tab = &lt; a U+0009 TAB character &gt;
newline = &lt; a U+000A LINE FEED character &gt;
star = &lt; a U+002A ASTERISK character &gt;
slash = &lt; a U+002F SOLIDUS character &gt;
not-newline = &lt; a single Unicode character other than U+000A LINE FEED &gt;
not-star = &lt; a single Unicode character other than U+002A ASTERISK &gt;
not-slash = &lt; a single Unicode character other than U+002F SOLIDUS &gt;</pre>

<div class=example>

Expand Down Expand Up @@ -44135,21 +44132,21 @@ XXX Once we resolve the style="" issue, address these:
<p>The event stream format is as described by the <code title="">stream</code> production of the following ABNF. <a href=#refsABNF>[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 ::= &lt; matches repeatedly at the end of the stream &gt;</pre>
<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 = &lt; matches repeatedly at the end of the stream &gt;</pre>

; characters
bom ::= &lt; a single U+FEFF BYTE ORDER MARK character &gt;
space ::= &lt; a single U+0020 SPACE character &gt;
colon ::= &lt; a single U+003A COLON character &gt;
cr ::= &lt; a single U+000D CARRIAGE RETURN character &gt;
lf ::= &lt; a single U+000A LINE FEED character &gt;
name-char ::= &lt; a single Unicode character other than U+003A COLON, U+000D CARRIAGE RETURN and U+000A LINE FEED &gt;
any-char ::= &lt; a single Unicode character other than U+000D CARRIAGE RETURN and U+000A LINE FEED &gt;
bom = &lt; a single U+FEFF BYTE ORDER MARK character &gt;
space = &lt; a single U+0020 SPACE character &gt;
colon = &lt; a single U+003A COLON character &gt;
cr = &lt; a single U+000D CARRIAGE RETURN character &gt;
lf = &lt; a single U+000A LINE FEED character &gt;
name-char = &lt; a single Unicode character other than U+003A COLON, U+000D CARRIAGE RETURN and U+000A LINE FEED &gt;
any-char = &lt; a single Unicode character other than U+000D CARRIAGE RETURN and U+000A LINE FEED &gt;

<p>Event streams in this format must always be encoded as
UTF-8.</p>
Expand Down
51 changes: 24 additions & 27 deletions source
Expand Up @@ -8001,9 +8001,6 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
parser</span>'s <span>tokenization</span> stage's <span>content
model flag</span> 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%3D%201)%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
Expand Down Expand Up @@ -10799,19 +10796,19 @@ o............A....e
ABNF. <a href="#refsABNF">[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
<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 ::= &lt; a U+0020 SPACE character >
tab ::= &lt; a U+0009 TAB character >
newline ::= &lt; a U+000A LINE FEED character >
star ::= &lt; a U+002A ASTERISK character >
slash ::= &lt; a U+002F SOLIDUS character >
not-newline ::= &lt; a single Unicode character other than U+000A LINE FEED >
not-star ::= &lt; a single Unicode character other than U+002A ASTERISK >
not-slash ::= &lt; a single Unicode character other than U+002F SOLIDUS ></pre>
space = &lt; a U+0020 SPACE character >
tab = &lt; a U+0009 TAB character >
newline = &lt; a U+000A LINE FEED character >
star = &lt; a U+002A ASTERISK character >
slash = &lt; a U+002F SOLIDUS character >
not-newline = &lt; a single Unicode character other than U+000A LINE FEED >
not-star = &lt; a single Unicode character other than U+002A ASTERISK >
not-slash = &lt; a single Unicode character other than U+002F SOLIDUS ></pre>

<div class="example">

Expand Down Expand Up @@ -50362,21 +50359,21 @@ XXX Once we resolve the style="" issue, address these:
href="#refsABNF">[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 ::= &lt; matches repeatedly at the end of the stream ></pre>
<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 = &lt; matches repeatedly at the end of the stream ></pre>

; characters
bom ::= &lt; a single U+FEFF BYTE ORDER MARK character >
space ::= &lt; a single U+0020 SPACE character >
colon ::= &lt; a single U+003A COLON character >
cr ::= &lt; a single U+000D CARRIAGE RETURN character >
lf ::= &lt; a single U+000A LINE FEED character >
name-char ::= &lt; a single Unicode character other than U+003A COLON, U+000D CARRIAGE RETURN and U+000A LINE FEED >
any-char ::= &lt; a single Unicode character other than U+000D CARRIAGE RETURN and U+000A LINE FEED >
bom = &lt; a single U+FEFF BYTE ORDER MARK character >
space = &lt; a single U+0020 SPACE character >
colon = &lt; a single U+003A COLON character >
cr = &lt; a single U+000D CARRIAGE RETURN character >
lf = &lt; a single U+000A LINE FEED character >
name-char = &lt; a single Unicode character other than U+003A COLON, U+000D CARRIAGE RETURN and U+000A LINE FEED >
any-char = &lt; 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>
Expand Down

0 comments on commit d344438

Please sign in to comment.