W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2010

html5/spec introduction.html,1.1008,1.1009 spec.html,1.1280,1.1281

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 11 Oct 2010 22:47:01 +0000
To: public-html-commits@w3.org
Message-Id: <E1P5R93-0004Mc-Vl@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv16755

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

[updated by splitter]

Index: spec.html
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1280
retrieving revision 1.1281
diff -u -d -r1.1280 -r1.1281
--- spec.html	11 Oct 2010 22:16:58 -0000	1.1280
+++ spec.html	11 Oct 2010 22:46:59 -0000	1.1281
@@ -341,7 +341,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.4476.
+This is revision 1.4477.
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide

Index: introduction.html
RCS file: /sources/public/html5/spec/introduction.html,v
retrieving revision 1.1008
retrieving revision 1.1009
diff -u -d -r1.1008 -r1.1009
--- introduction.html	29 Sep 2010 22:46:35 -0000	1.1008
+++ introduction.html	11 Oct 2010 22:46:59 -0000	1.1009
@@ -835,15 +835,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&#169;=2</code>",
-     <em>not</em> the intended "<code title="">?original=1&amp;copy=2</code>":</p>
+     actually "<code title="">?art&#169;</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
@@ -852,8 +852,8 @@
      <p>Thus, the correct way to express the above cases is as
-     <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>
Received on Monday, 11 October 2010 22:47:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 11 October 2010 22:47:08 GMT