W3C home > Mailing lists > Public > xml-uri@w3.org > May 2000

Re: The "data:" URI scheme considered helpful

From: Simon St.Laurent <simonstl@simonstl.com>
Date: Fri, 19 May 2000 17:06:21 -0400
Message-Id: <200005192104.RAA00469@hesketh.net>
To: John Cowan <jcowan@reutershealth.com>, "xml-uri@w3.org" <xml-uri@w3.org>
At 04:53 PM 5/19/00 -0400, John Cowan wrote:
>The "data:" URI scheme can be used to serve the purpose of ephemeral
>namespace names quite nicely.  In its simplest form, it is "data:,"
>followed by an arbitrary string of URL-safe characters and %xx escapes.
>If dereferenced, it returns the URL-decoded string as a text/plain document.
>(Try it in your Netscape browsers.)

Hmmm... so if I URL-encoded an entire schema I could put it in a namespace
URI using the data: scheme?  And then use it with XML documents?

Now there's a possibility I hadn't considered before...

Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
Building XML Applications
Inside XML DTDs: Scientific and Technical
Cookies / Sharing Bandwidth
http://www.simonstl.com
Received on Friday, 19 May 2000 17:04:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:42 UTC