[Bug 3060] XHTML Parser misinterprets code

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

           Summary: XHTML Parser misinterprets code
           Product: Validator
           Version: HEAD
          Platform: PC
               URL: http://www.enkon.com/
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: kjopc@hotmail.com
         QAContact: www-validator-cvs@w3.org


The validator reports a bogus XHTML error because it is incorrectly parsing the
original markup.

Validate http://www.enkon.com/ and you see an error report for the line:

Error Line 568, column 199: there is no attribute "border" . 
...f=1','_blank');return false;" border="0" />

However, if you look at the actual code, border="0" does not exist!

Here's the real HTML output from the site:

f=1','_blank');return false;" style="border-width:0px;" />

It looks like the parser is misinterpreting the original code and therefore
reporting a bogus error.

Received on Thursday, 30 March 2006 07:04:41 UTC