W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2005

[Bug 1172] New: Nesting errors accepted for HTML 2.0, 3.2, 4.01

From: <bugzilla@wiggum.w3.org>
Date: Fri, 18 Mar 2005 17:05:23 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1DCKuZ-00038J-DM@wiggum.w3.org>


           Summary: Nesting errors accepted for HTML 2.0, 3.2, 4.01
           Product: Validator
           Version: 0.6.7
          Platform: Other
               URL: http://validator.w3.org
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: martin@martinultima.cjb.net
         QAContact: www-validator-cvs@w3.org

I was recently going through an old book I had teaching how to write HTML and
creating a Web site explaining all the problems with its code (horribly invalid
is the nicest way I can say it), and discovered a bug with paragraph nesting.  I
had uploaded the file from my hard disk and set up a few overrides:


(the original had no valid DOCTYPE declaration) and oddly enough it accepted the
following code:

<P>I made it...</P>
<BR>to tell everyone about me

I believe this is a nesting error (the paragraph tag is specifically closed, yet
the line break is allowed outside of it), but am not entirely sure.  At any
rate, I tried it with HTML 3.2, then 4.01 Transitional, then XHTML 1.0
Transitional, and only the last one failed to validate (and that was only
because the document was in all uppercase, which I understand is not allowed in
Received on Friday, 18 March 2005 17:05:23 UTC

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