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

[Bug 5661] <noscript> problem

From: <bugzilla@farnsworth.w3.org>
Date: Thu, 24 Apr 2008 22:02:27 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Jp9WN-00062K-0g@farnsworth.w3.org>


           Summary: <noscript> problem
           Product: Validator
           Version: HEAD
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: dave.null@w3.org
        ReportedBy: andre4s_y@yahoo.com
         QAContact: www-validator-cvs@w3.org

This following HTML code :
<html xmlns="http://www.w3.org/1999/xhtml">
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript">
document.write("Hello World!")
<noscript>Your browser does not support JavaScript!</noscript></p>

has 2 errors on validator output, using validator with  XHTML 1.1 doctype.
Line 14, Column 10: character data is not allowed here . 
<noscript>Your browser does not support JavaScript!</noscript></p>
Line 14, Column 61: end tag for "noscript" which is not finished . 
…ript>Your browser does not support JavaScript!</noscript></p>

I think :
1. the <noscript> has wrapped in a container element, <noscript> has no
attribut, <noscript> is not using XHTML-style self-closing tags. So why the
first error is occured?
2. i have closed the <noscript> tag properly. I also have closed the <p> tag
properly. So why the second error is occured??

Do the code invalid or the validator's bug?
Thank you for giving me more and more reference on this problem.

Received on Thursday, 24 April 2008 22:02:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:28 UTC