W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 27 Nov 2008 19:00:47 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-6252-169@http.www.w3.org/Bugs/Public/>

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

           Summary: Un-enclosed &lt;IMG&gt; 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:
&lt;IMG&gt; 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:34 UTC