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

Re: Validation error from base 64 encoded data in an object element.

From: Michael[tm] Smith <mike@w3.org>
Date: Fri, 29 Nov 2013 14:12:22 +0900
To: Peter Easthope <peasthope@shaw.ca>
Cc: www-validator@w3.org
Message-ID: <20131129051219.GE97222@sideshowbarker>
Hi Peter,

Peter Easthope <peasthope@shaw.ca>, 2013-11-28 14:50 -0800:

> ...
> http://members.shaw.ca/peasthope/Category2.html
> 
> When checking that document, the Validator refers to
> 
> <object id="Prod0x0Test0" type="img/png" data="data:image/png;base64,
> iVBORw0KGgoAAAANSUhEU ...
> ...
> and states "Bad value for attribute data on element object: Control
> character in path component."
> 
> From everything I've read, the syntax of the object element is correct. Is
> the message from the Validator correct?

The validator's correct. The values of the "data" attributes of your
<object> elements contain literal newlines. Valid URLs aren't allowed to
contain literal newlines. So to make them valid URLs you need make each
of your "data" attribute values a single line, without the line breaks.

  --Mike

-- 
Michael[tm] Smith http://people.w3.org/mike
Received on Friday, 29 November 2013 05:12:36 UTC

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