W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2012

[Bug 17418] & did not start a character reference and Errors involving fragile syntax constructs

From: <bugzilla@jessica.w3.org>
Date: Fri, 26 Oct 2012 12:48:52 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-17418-169-BdOA8CHGRp@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17418

--- Comment #4 from Michael[tm] Smith <mike@w3.org> ---
(In reply to comment #3)
> Tested with the attached test case. The error never showed up where it
> shouldn't. Tested it on other sites as well. Looks like the patch is working.

Excellent. Thanks very much for taking the time to test -- I really appreciate
it.

> Based on http://www.w3.org/TR/html5/named-character-references.html, an
> error should have shown up for "&dollar" and "&minus", but the live
> validator (http://validator.w3.org) does not recognize them as named
> character references, so I imagine that is a separate bug.

Yes, I can confirm from inspection of the current validator source code that
the code currently does not recognize "dollar" and "minuss" as named
characters. The only characters it recognizes as such are the ones in the NAMES
array in this file:

 
http://hg.mozilla.org/projects/htmlparser/raw-file/default/src/nu/validator/htmlparser/impl/NamedCharacters.java

So please do file a bug noting that "dollar" and "minus" are missing from that
(along with any other missing ones you might find).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 26 October 2012 12:48:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:52 UTC