Re: Support data URI scheme.

On Mon, 2003-01-20 at 01:59, Russell O'Connor wrote:

> I think it would be useful (for me at least) to support the data URI
> scheme (as in
> <data:text/html;charset=utf-8,%3C!DOCTYPE%20HTML%20PUBLIC%20%22ISO/IEC%2015445:2000//DTD%20HyperText%20Markup%20Language//EN%22%3E%0D%0A%3Chtml%20lang=%22en-CA%22%3E%0D%0A%3Chead%3E%0D%0A%3Ctitle%3ETest%3C/title%3E%0D%0A%3C/head%3E%0D%0A%3Cbody%3E%0D%0A%3Cp%3EThis%20uses%20a%20non&%238209;breaking%20hyphen%3C/p%3E%0D%0A%3C/body%3E%0D%0A%3C/html%3E%0D%0A>).

The Validator code does support it through the LWP Perl module, but only
http and https are allowed in the default configuration (which, I guess,
v.w.o is running).  I just tried out your sample above on a local
validator instance, and it validates as ISO-HTML nicely :)

Maybe the data: scheme could be enabled in the default config.  I don't
know if there are any possible security implications, though.

Filing an enhancement request at <http://www.w3.org/Bugs/Public/> would
be a good idea.

Cheers,
-- 
\/ille Skyttä
ville.skytta at iki.fi

Received on Monday, 20 January 2003 15:21:07 UTC