W3C home > Mailing lists > Public > www-validator@w3.org > July 2009

Re: Using • for bullets.

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 9 Jul 2009 18:48:03 +0300
Message-ID: <A7420EAA6B164D40A3D94E082C4D2773@JukanPC>
To: "John F. Collins" <jfca@jfc3.com>, <www-validator@w3.org>
John F. Collins wrote:

> Using &#149; for bullets.

It's a bad idea. If you really need bullets as characters (instead of using 
HTML and CSS constructs that generate them for "bulleted lists"), use either 
the BULLET character as such, in the encoding of the document, or the entity 
reference &bull; or the character reference &#x2022;, or &#8226; (these are 
the correct references).

The validation issue with them is more or less theoretical, and you can read 
about in past discussions in the archive, e.g.
http://www.w3.org/Search/Mail/Public/search?type-index=www-validator&index-type=t&keywords=149&search=Search+Mail+Archives

> Errors found while checking this document as HTML 4.01 Strict!

That's because of something else on your page. Note that if you try to 
validate an XHTML document with HTML doctype override, you will quite often 
get error messages, as e.g.
<meta http-equiv="content-language" content="en" />
is _not_ valid in HTML (the thing that makes it invalid is actually the 
greater than sign '>', no matter how odd this may sound).

> reference to non-SGML character
> &#149;

That's a warning, not an error message. By HTML rules, the meaning of that 
construct is undefined, but it is not a reportable markup error.

> Errors found while checking this document as HTML5!
> A numeric character reference expanded to the C1 controls range.
> &#149;

This is yet another proof of the pointlessness of the HTML5 project. The 
construct &#149; works in the desired way in the vast majority of browsing 
situations, and new browsers are more or less compelled to support it, as it 
is so widely used. It's theoretically wrong (though not invalid) and you 
should not use it in new documents, but surely any reasonable browser should 
support it.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Thursday, 9 July 2009 15:48:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:36 GMT