[Bug 2406] when link tag is ended with / in header validator parses off by one

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

           Summary: when link tag is ended with / in header validator parses
                    off by one
           Product: Validator
           Version: 0.7.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: arl@lemmke.org
         QAContact: www-validator-cvs@w3.org


-	tested with https page
-	noticed validator parses off by one (validator thinks attributes
	are "loose" content.

original page:
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
	<html>
	<head>
	<meta name="robots" content="noindex,nofollow">	
	<link rel="stylesheet" type="text/css" href="../themes/css/XP_BlueSky.css" />
	...
	</head>
	<title>FOO</title>

output:
	1.Error Line 7 column 76: character data is not allowed here.

parse three:
<HTML>
  <HEAD>
      ANAME TOKEN ROBOTS
      ACONTENT CDATA noindex,nofollow
    <META>
    </META>
      AHREF CDATA ../themes/css/XP_BlueSky.css
      ATYPE CDATA text/css
      AREL CDATA stylesheet
    <LINK>
    </LINK>
     > 
    <TITLE>
       FOO
    </TITLE>

	...

Validator version: 0.7.1 (missing within Bugzilla...)

Received on Friday, 21 October 2005 15:18:13 UTC