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

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

From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 29 Nov 2013 09:54:05 +0000
Message-ID: <5298643D.7040601@Rhul.Ac.Uk>
To: "Michael[tm] Smith" <mike@w3.org>, Peter Easthope <peasthope@shaw.ca>
CC: www-validator@w3.org

Michael[tm] Smith wrote:

> 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.

The value of the data attributes in the example under discussion is a
data URI encoded in base64.  According to Wikipedia [1],

	"data URIs encoded with base64 may contain whitespace for readability."

Is Wikipedia therefore incorrect in its assertion ?

Philip Taylor
[1] http://en.wikipedia.org/wiki/Data_URI_scheme
Received on Friday, 29 November 2013 09:54:40 UTC

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