Bugzilla – Bug 758
Wrong line number for "Bad value Content-Type for attribute http-equiv on XHTML element" error
Last modified: 2011-05-17 11:43:32 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.
For some reason, the line break between </title> and <meta doesn't become a text run on its own right.
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!