W3C home > Mailing lists > Public > www-validator@w3.org > September 2005

Validator doesn't complain about & in meta content

From: Edmondson, Michael <Michael.Edmondson@turner.com>
Date: Tue, 27 Sep 2005 18:19:27 -0400
To: <www-validator@w3.org>
Message-ID: <BF5F3DAF.1E7EC%Michael.Edmondson@turner.com>

Sample HTML
-----------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <title>Testing</title>
    <meta name="Title" content="I like XML & XSL!">
    <meta name="Description" content="I like M&Ms.  Yum!">
</head>
<body>
    ...
</body>
</html>


Expectation
-----------
The Validator should complain about ampersands not represented as entities.


Actual Results
--------------
The Validator only complains about the second mistake, finding an invalid
entity.


Question
--------
Are my expectations faulty?  Or is the Validator?
 
Received on Wednesday, 28 September 2005 01:03:28 GMT

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