html5/spec Overview.html,1.4476,1.4477

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv15130

Modified Files:
	Overview.html 
Log Message:
Update the syntax error example in light of changes to the conformance rules. (whatwg r5599)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4476
retrieving revision 1.4477
diff -u -d -r1.4476 -r1.4477
--- Overview.html	11 Oct 2010 22:12:40 -0000	1.4476
+++ Overview.html	11 Oct 2010 22:32:40 -0000	1.4477
@@ -1789,15 +1789,15 @@
      are changed to a string that <em>does</em> form a named character
      reference, they will be interpreted as that character instead.</p>
 
-     <p>In this fragment, the attribute's value is "<code title="">?hello=1&amp;world=2</code>":</p>
+     <p>In this fragment, the attribute's value is "<code title="">?bill&amp;ted</code>":</p>
 
-     <pre class="bad">&lt;a href="?hello=1&amp;world=2"&gt;Demo&lt;/a&gt;</pre>
+     <pre class="bad">&lt;a href="?bill&amp;ted"&gt;Bill and Ted&lt;/a&gt;</pre>
 
      <p>In the following fragment, however, the attribute's value is
-     actually "<code title="">?original=1&copy;=2</code>",
-     <em>not</em> the intended "<code title="">?original=1&amp;copy=2</code>":</p>
+     actually "<code title="">?art&copy;</code>",
+     <em>not</em> the intended "<code title="">?art&amp;copy</code>":</p>
 
-     <pre class="bad">&lt;a href="?original=1&amp;copy=2"&gt;Compare&lt;/a&gt;</pre>
+     <pre class="bad">&lt;a href="?art&amp;copy"&gt;Art and Copy&lt;/a&gt;</pre>
 
      <p>To avoid this problem, all named character references are
      required to end with a semicolon, and uses of named character
@@ -1806,8 +1806,8 @@
      <p>Thus, the correct way to express the above cases is as
      follows:</p>
 
-     <pre>&lt;a href="?hello=1&amp;world=2"&gt;Demo&lt;/a&gt; &lt;!-- &amp;world is ok, since it's not a named character reference --&gt;</pre>
-     <pre>&lt;a href="?original=1&amp;amp;copy=2"&gt;Compare&lt;/a&gt; &lt;!-- the &amp; has to be escaped, since &amp;copy <em>is</em> a named character reference --&gt;</pre>
+     <pre>&lt;a href="?bill&amp;ted"&gt;Bill and Ted&lt;/a&gt; &lt;!-- &amp;ted is ok, since it's not a named character reference --&gt;</pre>
+     <pre>&lt;a href="?art&amp;amp;copy"&gt;Art and Copy&lt;/a&gt; &lt;!-- the &amp; has to be escaped, since &amp;copy <em>is</em> a named character reference --&gt;</pre>
 
     </div>
 

Received on Monday, 11 October 2010 22:32:45 UTC