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

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