NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 758 - Wrong line number for "Bad value Content-Type for attribute http-equiv on XHTML element" error
Wrong line number for "Bad value Content-Type for attribute http-equiv on XHT...
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: Browser-based UI
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-23 23:53 CEST by Ian 'Hixie' Hickson
Modified: 2011-05-17 11:43 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian 'Hixie' Hickson 2010-07-23 23:53:48 CEST
Validating http://w3.org/ gives:

   Error: Bad value Content-Type for attribute http-equiv on XHTML element meta.
   From line 5, column 47; to line 6, column 69
   C)</title>↩<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />↩<link

...however, the <meta> is all on line 6, so it's unclear why the error message refers to the end of line 5.
Comment 1 Henri Sivonen 2011-05-17 11:22:36 CEST
For some reason, the line break between </title> and <meta doesn't become a text run on its own right.
Comment 2 Henri Sivonen 2011-05-17 11:43:32 CEST
The XML parser is so sad that I'm going to de-prioritize this one for now. Some day, I'm gonna write my own XML parser properly!