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

[Bug 14732] New: some quotes are not shown when showing part of code containing errors

From: <bugzilla@jessica.w3.org>
Date: Tue, 08 Nov 2011 17:47:19 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-14732-169@http.www.w3.org/Bugs/Public/>

           Summary: some quotes are not shown when showing part of code
                    containing errors
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: check
        AssignedTo: dave.null@w3.org
        ReportedBy: matteosistisette@gmail.com
         QAContact: www-validator-cvs@w3.org

I am validating a page that contains:

<label for="username">Usuario</label>

This is correctly triggering a validation error because I have no form element
with that name.

However, when the error message is shown, it reads:

 Line 41, Column 24: The for attribute of the label element must refer to a
form control.
        <label for="username>Usuario</label>

NOTE the absence of the closing quotes. This is very confusing because one at
first thinks that the missing quotes ARE the error.

However, if I copy and paste the error message, I find out that the quotes are
actually there!!! So it must be some issue in the stylesheet (probably related
to highlighting in red the character just next to them) that somehow makes the
" character invisible.

Note that I've marked this bug as "critical" (I may even say this is a
blocker). The very purpose of validation is spotting errors. If the mere
displaying of an error introduces extra errors that are not in the code being
validated, you cannot trust what you're reading, you end up having to
discriminate real errors by yourself and hence the whole validator becomes

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 Tuesday, 8 November 2011 17:47:21 UTC

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