W3C home > Mailing lists > Public > www-validator@w3.org > October 2013

Re: W3C XHTML Validator - Control Character Error

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sun, 27 Oct 2013 00:05:21 +0300
Message-ID: <526C2E91.8070400@cs.tut.fi>
To: "www-validator@w3.org" <www-validator@w3.org>, Cribsheet@aol.com
2013-10-26 23:48, David Dorward wrote:

> On 26 Oct 2013, at 0:20, Cribsheet@aol.com wrote:
>> A screenshot of  the error messages is shown—I can't find any control
>> characters in the URL.
> You appear to be trying to close your attribute value with a ” (Right
> double quotation mark, U+201D) instead of a " (Quotation mark, U+0022).
> I suspect this is the cause of your error.

Good guess, but probably not the right one. U+201D is not a control 
character, and I suppose the quotation marks are really U+0022, just 
with slanted glyphs (naughty font!).

The clue seems to be the character “↩” in the error message. It seems 
that it indicates a line break inside the href attribute value. And the 
problem can be reconstructed by using such a value. So the fix is simply 
to remove the line break there. It makes the HTML source line 
inconveniently long, but there’s no way to avoid that if the URL is long.

P.S. Posting the URL of the page being validated would have saved us 
from some guessing.

Received on Saturday, 26 October 2013 21:05:50 UTC

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