Validator doesn't complain about & in meta content

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 UTC