- From: CVS User egraff <cvsmail@w3.org>
- Date: Tue, 07 Jan 2014 21:48:39 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-polyglot
In directory roscoe:/tmp/cvs-serv27904
Modified Files:
html-polyglot.html
Log Message:
Added missing "!" in CDATA opening, per bug 24206
--- /sources/public/html5/html-polyglot/html-polyglot.html 2014/01/07 21:42:37 1.18
+++ /sources/public/html5/html-polyglot/html-polyglot.html 2014/01/07 21:48:39 1.19
@@ -713,7 +713,7 @@
<tr>
<th rowspan="2">Ambiguous string</th><th rowspan="2">Info</th><th rowspan="2">HTML interpretation</th><th colspan="2">XML interpretation</th>
</tr>
- <tr><th>if inside <code><[CDATA[</code>section<code>]]></code></th><th>if outside <code><[CDATA[</code>section<code>]]></code></th>
+ <tr><th>if inside <code><![CDATA[</code>section<code>]]></code></th><th>if outside <code><![CDATA[</code>section<code>]]></code></th>
</tr>
</thead>
<tbody>
@@ -724,7 +724,7 @@
<tr><td><code>&</code></td><td>AMPERSAND</td><td>uninterpreted</td><td>uninterpreted</td><td>interpreted <small>commences character reference or entity</small></td></tr>
<tr><td><code><!--</code></td><td>start of comment</td><td>partly unintepreted</td><td>uninterpreted</td><td>interpreted</td></tr>
<tr><td><code>--></code></td><td>end of comment</td><td>partly unintepreted</td><td>uninterpreted</td><td>interpreted</td></tr>
- <tr><td><code><[CDATA[</code></td><td>start of CDATA declaration</td><td>uninterpreted</td><td>uninterpreted</td><td>interpreted <small>(begins CDATA block)</small></td></tr>
+ <tr><td><code><![CDATA[</code></td><td>start of CDATA declaration</td><td>uninterpreted</td><td>uninterpreted</td><td>interpreted <small>(begins CDATA block)</small></td></tr>
<tr><td><code>]]></code></td><td>end of CDATA declaration</td><td>uninterpreted</td><td>uninterpreted</td><td>interpreted <small>(ends CDATA block)</small></td></tr>
<tr><td><code>cdata content</code></td><td>the content of CDATA sections</td><td></td><td>uninterpreted</td><td>—</td></tr>
<tr><td><code></script</code> </td><td>if occuring inside <code>script</code> element and followed by one of "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), "CR" (U+000D), U+0020 SPACE, ">" (U+003E), or "/" (U+002F)</td><td>terminates parent</td><td>uninterpreted</td><td>interpreted</td></tr>
@@ -842,7 +842,7 @@
<li> Disadvantage: scripting languages might need to be tuned to support it.</li></ul>
</li>
<li><code>//<![CDATA[</code> - pure scripting language level commenting out. Comment starts in the node before the CDATA section:
- <pre class="example highlight"><script>//<[CDATA[ FOO; //]]></script></pre>
+ <pre class="example highlight"><script>//<![CDATA[ FOO; //]]></script></pre>
<ul>
<li> Advantage: Well known in JavaScript. Much used.</li>
<li> Disadvantage: Less safe for templating since the comment could become treated as part of the template.</li>
Received on Tuesday, 7 January 2014 21:48:40 UTC