W3C home > Mailing lists > Public > www-validator@w3.org > January 2011

Bullet entity undeclared in HTML5 Meta description

From: Greg Lauver <GregLauver@msn.com>
Date: Sun, 16 Jan 2011 14:59:06 -0500
Message-ID: <BLU152-ds466F3BEA240C1F2C9DB7CCBF50@phx.gbl>
To: <www-validator@w3.org>
Character entities in an HTML5 meta description tag: ampersand (&) is OK. Bullet () and other entities generate an error:

Validation Output: 1 Error 
Line 5, Column 56: reference to undeclared general entity bull 
<meta name="description" content="This &amp; that &bull; Something else" />

_______________________  Here is the example:

<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><title>Possible oversight in the HTML5 Validator</title>
<meta charset="utf-8" />
<meta name="description" content="This &amp; that &bull; Something else" />
</head>
<body>
<p>Character entities in an HTML5 meta description tag: ampersand (&amp;) is OK. Bullet (&bull;) and other entities generate an error:</p>
<span style="color:#F00">Validation Output: 1 Error</span>
<br /><i>Line 5, Column 56:</i> <b>reference to undeclared general entity bull</b>
<br />&lt;meta name="description" content="This &amp;amp; that &amp;bull<span style="color:#F00">;</span> Something else" /&gt;
</body>
</html>
Received on Sunday, 16 January 2011 21:09:30 GMT

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