[Bug 3438] The validator issue an error where it shouldn't

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3438

           Summary: The validator issue an error where it shouldn't
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: rapsys@free.fr
         QAContact: www-validator-cvs@w3.org


I use the following html code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
        <title>Some title</title>
</head>
<body>
        <p>
                <ul>
                        <li>test</li>
                        <li>test1</li>
                </ul>
        </p>
</body>
</html>

And the validation show me that error, where it shouldn't I think...

I don't understand that stupid invalid error, because the <ul> (same for a
<ol>) il closed properly and is IN a <p> which is an element of type block...

May you plz correct the validatior to handle such change ?

Thank's in advance.

The error :
Line 8 column 5: document type does not allow element "ul" here; missing one of
"button", "map", "object", "ins", "del", "noscript" start-tag.
                <ul>
 The mentioned element is not allowed to appear in the context in which you've
placed it; the other mentioned elements are the only ones that are both allowed
there and can contain the element mentioned. This might mean that you need a
containing element, or possibly that you've forgotten to close a previous
element. 
 One possible cause for this message is that you have attempted to put a
block-level element (such as "<p>" or "<table>") inside an inline element (such
as "<a>", "<span>", or "<font>").

Received on Friday, 7 July 2006 07:11:53 UTC