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

[Bug 949] New: incorrect "End tag for element"-error in JavaScript

From: <bugzilla@wiggum.w3.org>
Date: Mon, 22 Nov 2004 10:56:04 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1CWBrY-00080v-Kv@wiggum.w3.org>


           Summary: incorrect "End tag for element"-error in JavaScript
           Product: Validator
           Version: 0.7.0
          Platform: Other
               URL: http://www.bouwgilde-zzp.net/cgi-bin/zzp-cust-login.php
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: P.Elbertse@ppros.nl
         QAContact: www-validator-cvs@w3.org

When a javascript string is built up with the "+"-sign, the HTML validation 
will not be done upon the complete string, but on the substrings. For this 

myHint.innerHTML     = "<center><small>" + text + "</small></center>" ;

Will result in the following errors like:

Line 15, column 68: end tag for element "CENTER" which is not open

... = "<center><small>" + text + "</small></center>" ;

------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Received on Monday, 22 November 2004 10:56:05 UTC

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