[Bug 6252] New: Un-enclosed <IMG> tag not detected on direct input

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

           Summary: Un-enclosed <IMG> tag not detected on direct input
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: dave.null@w3.org
        ReportedBy: cpwinter@rahul.net
         QAContact: www-validator-cvs@w3.org


Recently I began validating HTML 4.0 Strict pages by direct input, as opposed
to uploading them and then checking by URI.

Several files were passed as clean on direct input. But the same files, once
installed on my Web site, failed validation by URI with a single error:
<IMG> tag not enclosed in a block element.

The actual error message is: "document type does not allow element "IMG" here;
missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "DIV", "ADDRESS"
start-tag."

It seems to me that this is the sort of error that should be picked up by the
validator no matter which input method is used.

Searching did not disclose any previous instance of this bug.

I've since fixed the problem in the on-line files. If you need a test case, let
me know and I'll re-create it.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 27 November 2008 19:00:58 UTC