- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 11 Oct 2010 22:47:01 +0000
- To: public-html-commits@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>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 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&world=2</code>":</p>
+ <p>In this fragment, the attribute's value is "<code title="">?bill&ted</code>":</p>
- <pre class="bad"><a href="?hello=1&world=2">Demo</a></pre>
+ <pre class="bad"><a href="?bill&ted">Bill and Ted</a></pre>
<p>In the following fragment, however, the attribute's value is
- actually "<code title="">?original=1©=2</code>",
- <em>not</em> the intended "<code title="">?original=1&copy=2</code>":</p>
+ actually "<code title="">?art©</code>",
+ <em>not</em> the intended "<code title="">?art&copy</code>":</p>
- <pre class="bad"><a href="?original=1&copy=2">Compare</a></pre>
+ <pre class="bad"><a href="?art&copy">Art and Copy</a></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
follows:</p>
- <pre><a href="?hello=1&world=2">Demo</a> <!-- &world is ok, since it's not a named character reference --></pre>
- <pre><a href="?original=1&amp;copy=2">Compare</a> <!-- the & has to be escaped, since &copy <em>is</em> a named character reference --></pre>
+ <pre><a href="?bill&ted">Bill and Ted</a> <!-- &ted is ok, since it's not a named character reference --></pre>
+ <pre><a href="?art&amp;copy">Art and Copy</a> <!-- the & has to be escaped, since &copy <em>is</em> a named character reference --></pre>
</div>
Received on Monday, 11 October 2010 22:47:03 UTC