- From: <bugzilla@jessica.w3.org>
- Date: Tue, 05 Jun 2012 15:31:46 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17418
Summary: & did not start a character reference and Errors
involving fragile syntax constructs
Product: Validator
Version: HEAD
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: HTML5
AssignedTo: mike+validator@w3.org
ReportedBy: rasamassen@gmail.com
QAContact: www-validator-cvs@w3.org
As explained in the non-normative section of HTML5 (obviously based on
normative sections),
http://www.w3.org/TR/html5/introduction.html#syntax-errors, under "Errors
involving fragile syntax constructs":
The correct way to express the above cases is as follows:
<a href="?bill&ted">Bill and Ted</a> <!-- &ted is ok, since it's not a named
character reference -->
<a href="?art&copy">Art and Copy</a> <!-- the & has to be escaped, since
© is a named character reference -->
Thus, the error "& did not start a character reference" should only appear when
the "&" precedes a named character reference.
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 5 June 2012 15:31:52 UTC