CVS html5/html-polyglot

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>&lt;[CDATA[</code>section<code>&#x5d;]></code></th><th>if outside <code>&lt;[CDATA[</code>section<code>&#x5d;]></code></th>
+            <tr><th>if inside <code>&lt;![CDATA[</code>section<code>&#x5d;]></code></th><th>if outside <code>&lt;![CDATA[</code>section<code>&#x5d;]></code></th>
             </tr>
             </thead>
             <tbody>
@@ -724,7 +724,7 @@
             <tr><td><code>&amp;</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>&lt;!&#x2d;-</code></td><td>start of comment</td><td>partly unintepreted</td><td>uninterpreted</td><td>interpreted</td></tr>
             <tr><td><code>&#x2d;-></code></td><td>end of comment</td><td>partly unintepreted</td><td>uninterpreted</td><td>interpreted</td></tr>
-            <tr><td><code>&lt;[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>&lt;![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>&#93;]></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>&lt;/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>//&lt;![CDATA[</code> - pure scripting language level commenting out. Comment starts in the node before the CDATA section:
-                    <pre class="example highlight">&lt;script>//&lt;[CDATA[ FOO; //]]&gt;&lt;/script></pre>
+                    <pre class="example highlight">&lt;script>//&lt;![CDATA[ FOO; //]]&gt;&lt;/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