[html5] r5926 - [e] (0) simplify the CDATA syntax description
whatwg at whatwg.org
whatwg at whatwg.org
Thu Mar 3 14:54:59 PST 2011
Author: ianh
Date: 2011-03-03 14:54:58 -0800 (Thu, 03 Mar 2011)
New Revision: 5926
Modified:
complete.html
index
source
Log:
[e] (0) simplify the CDATA syntax description
Modified: complete.html
===================================================================
--- complete.html 2011-03-02 01:06:25 UTC (rev 5925)
+++ complete.html 2011-03-03 22:54:58 UTC (rev 5926)
@@ -239,7 +239,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>Web Applications 1.0</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 2 March 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 3 March 2011</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -76150,7 +76150,7 @@
document ensures that the browser makes a best-effort attempt at
following the relevant specifications.</p>
- <p>A DOCTYPE must consist of the following characters, in this
+ <p>A DOCTYPE must consist of the following components, in this
order:</p>
<ol class=brief><li>A string that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title=""><!DOCTYPE</code>".</li>
@@ -76896,22 +76896,19 @@
<h4 id=cdata-sections><span class=secno>12.1.5 </span>CDATA sections</h4>
- <p><dfn id=syntax-cdata title=syntax-cdata>CDATA sections</dfn> must start with
- the character sequence U+003C LESS-THAN SIGN, U+0021 EXCLAMATION
- MARK, U+005B LEFT SQUARE BRACKET, U+0043 LATIN CAPITAL LETTER C,
- U+0044 LATIN CAPITAL LETTER D, U+0041 LATIN CAPITAL LETTER A, U+0054
- LATIN CAPITAL LETTER T, U+0041 LATIN CAPITAL LETTER A, U+005B LEFT
- SQUARE BRACKET (<code title=""><![CDATA[</code>). Following this
- sequence, the CDATA section may have <a href=#syntax-text title=syntax-text>text</a>, with the additional restriction
- that the text must not contain the three character sequence U+005D
- RIGHT SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E
- GREATER-THAN SIGN (<code title="">]]></code>). Finally, the CDATA
- section must be ended by the three character sequence U+005D RIGHT
- SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E GREATER-THAN
- SIGN (<code title="">]]></code>).</p>
+ <p><dfn id=syntax-cdata title=syntax-cdata>CDATA sections</dfn> must consist of
+ the following components, in this order:</p>
- <div class=example>
+ <ol><li>The string "<code title=""><![CDATA[</code>".</li>
+ <li>Optionally, <a href=#syntax-text title=syntax-text>text</a>, with the
+ additional restriction that the text must not contain the string
+ "<code title="">]]></code>".</li>
+
+ <li>The string "<code title="">]]></code>".</li>
+
+ </ol><div class=example>
+
<p>CDATA sections can only be used in foreign content (MathML or
SVG). In this example, a CDATA section is used to escape the
contents of an <code>ms</code> element:</p>
Modified: index
===================================================================
--- index 2011-03-02 01:06:25 UTC (rev 5925)
+++ index 2011-03-03 22:54:58 UTC (rev 5926)
@@ -243,7 +243,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 2 March 2011</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 3 March 2011</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -72121,7 +72121,7 @@
document ensures that the browser makes a best-effort attempt at
following the relevant specifications.</p>
- <p>A DOCTYPE must consist of the following characters, in this
+ <p>A DOCTYPE must consist of the following components, in this
order:</p>
<ol class=brief><li>A string that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code title=""><!DOCTYPE</code>".</li>
@@ -72867,22 +72867,19 @@
<h4 id=cdata-sections><span class=secno>10.1.5 </span>CDATA sections</h4>
- <p><dfn id=syntax-cdata title=syntax-cdata>CDATA sections</dfn> must start with
- the character sequence U+003C LESS-THAN SIGN, U+0021 EXCLAMATION
- MARK, U+005B LEFT SQUARE BRACKET, U+0043 LATIN CAPITAL LETTER C,
- U+0044 LATIN CAPITAL LETTER D, U+0041 LATIN CAPITAL LETTER A, U+0054
- LATIN CAPITAL LETTER T, U+0041 LATIN CAPITAL LETTER A, U+005B LEFT
- SQUARE BRACKET (<code title=""><![CDATA[</code>). Following this
- sequence, the CDATA section may have <a href=#syntax-text title=syntax-text>text</a>, with the additional restriction
- that the text must not contain the three character sequence U+005D
- RIGHT SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E
- GREATER-THAN SIGN (<code title="">]]></code>). Finally, the CDATA
- section must be ended by the three character sequence U+005D RIGHT
- SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E GREATER-THAN
- SIGN (<code title="">]]></code>).</p>
+ <p><dfn id=syntax-cdata title=syntax-cdata>CDATA sections</dfn> must consist of
+ the following components, in this order:</p>
- <div class=example>
+ <ol><li>The string "<code title=""><![CDATA[</code>".</li>
+ <li>Optionally, <a href=#syntax-text title=syntax-text>text</a>, with the
+ additional restriction that the text must not contain the string
+ "<code title="">]]></code>".</li>
+
+ <li>The string "<code title="">]]></code>".</li>
+
+ </ol><div class=example>
+
<p>CDATA sections can only be used in foreign content (MathML or
SVG). In this example, a CDATA section is used to escape the
contents of an <code>ms</code> element:</p>
Modified: source
===================================================================
--- source 2011-03-02 01:06:25 UTC (rev 5925)
+++ source 2011-03-03 22:54:58 UTC (rev 5926)
@@ -86176,7 +86176,7 @@
document ensures that the browser makes a best-effort attempt at
following the relevant specifications.</p>
- <p>A DOCTYPE must consist of the following characters, in this
+ <p>A DOCTYPE must consist of the following components, in this
order:</p>
<ol class="brief">
@@ -87033,21 +87033,21 @@
<h4>CDATA sections</h4>
- <p><dfn title="syntax-cdata">CDATA sections</dfn> must start with
- the character sequence U+003C LESS-THAN SIGN, U+0021 EXCLAMATION
- MARK, U+005B LEFT SQUARE BRACKET, U+0043 LATIN CAPITAL LETTER C,
- U+0044 LATIN CAPITAL LETTER D, U+0041 LATIN CAPITAL LETTER A, U+0054
- LATIN CAPITAL LETTER T, U+0041 LATIN CAPITAL LETTER A, U+005B LEFT
- SQUARE BRACKET (<code title=""><![CDATA[</code>). Following this
- sequence, the CDATA section may have <span
- title="syntax-text">text</span>, with the additional restriction
- that the text must not contain the three character sequence U+005D
- RIGHT SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E
- GREATER-THAN SIGN (<code title="">]]></code>). Finally, the CDATA
- section must be ended by the three character sequence U+005D RIGHT
- SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E GREATER-THAN
- SIGN (<code title="">]]></code>).</p>
+ <p><dfn title="syntax-cdata">CDATA sections</dfn> must consist of
+ the following components, in this order:</p>
+ <ol>
+
+ <li>The string "<code title=""><![CDATA[</code>".</li>
+
+ <li>Optionally, <span title="syntax-text">text</span>, with the
+ additional restriction that the text must not contain the string
+ "<code title="">]]></code>".</li>
+
+ <li>The string "<code title="">]]></code>".</li>
+
+ </ol>
+
<div class="example">
<p>CDATA sections can only be used in foreign content (MathML or
More information about the Commit-Watchers
mailing list