[VE][libxml2-5] Confusing error when validating

Hello,

Validating the following fails.  Is that correct?

Thanks,

    Don

Line 15: Extra content at the end of the document 
</html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
        <title>Test</title>
    </head>
    <body style="width:980px; margin-left:auto; margin-right:auto">
        <select id="WhichSelect" name="which">
            <option value="volvo">Volvo</option>
            <option value="saab">Saab</option>
            <option value="mercedes"selected='selected'>Mercedes</option> 
<!-- put a space between {value="mercedes"} and {selected='selected'} to 
remove the error: Error  Line 15: Extra content at the end of the 
document.-->
            <option value="audi">Audi</option>
        </select>
    </body> 
</html>

Received on Monday, 8 March 2010 13:21:27 UTC