W3C home > Mailing lists > Public > www-validator@w3.org > December 2010

Re: [VE][libxml2-65] attributes construct error because of empty GET variable

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Sun, 19 Dec 2010 15:58:14 +0200
To: www-validator@w3.org
Message-Id: <201012191558.14803.ville.skytta@iki.fi>
On Saturday 18 December 2010, Benjamin Hawkes-Lewis wrote:
> However, there also seems to be an error in the validator, in that
> it's misreporting the "attributes construct error" as though it was in
> the earlier "href" attributes on the same lines.
> Test case C does not validate (with the location of the "attributes
> construct error" misreported):
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head><title></title></head>
> <body><div>
> <a href="index.php?regio=&amp;zoekveld=&amp;dir=ASC&amp;sort=reis_naam&amp;staat=">Naam
> van de reis:</a> <img width="12" alt="spacer"src="images/spacer.gif" />
> </div></body></html>

When I try that test case with validator.w3.org's "direct input" option,
it reports these messages:

| Line 7, Column 45: attributes construct error
| van de reis:</a> <img width="12" alt="spacer*"*src="images/spacer.gif"
| Line 7, Column 45: Couldn't find end of Start Tag img line 7
| van de reis:</a> <img width="12" alt="spacer*"*src="images/spacer.gif"

(I've put a * around the error marker validator gave me, they're not in
the actual output.)  Is this what you consider misreported, and if yes,
how?  Or do you receive some other error?
Received on Sunday, 19 December 2010 13:58:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:02 UTC