[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: OT: data url scheme


data url scheme
you learn something every day - this is cool

so i click on the url below and read the rfc. then write the following
simple html page (not 100% pure, but good enough to test)

<html>
<body>
<IMG
   SRC="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
   AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz
   ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp
   a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl
   ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis
   F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH
   hhx4dbgYKAAA7"
   ALT="Larry">
<a href="data:,A%20brief%20note">note</a>

</body>
</html>

and it works like a charm in mozilla 1.4, and galeon something; but not
the text based lynx :(

rick

On Thu, 2003-07-24 at 23:53, Jim Ancona wrote:
> bryan wrote:
> > Okay it seems that Mozilla implements the data url scheme,
> > ftp://ftp.isi.edu/in-notes/rfc2397.txt I'm somewhat unclear on this
> > though, it seems to me that the implementation is wrong from reading the
> > text of the rfc, if I have the data url  data:,A%20brief%20note as shown
> > in the rfc I suppose that when a link with that url is clicked on that a
> > new virtual document should be created and the value of the data
> > fragment is written to this document.body 
> > 
> > Instead Mozilla opens up a dialoque box asking me if I want to open this
> > file using another file. Tried to choose to open it with notepad but it
> > didn't seem to work. 
> 
> When I clicked on the URL in your message above, Mozilla 1.4 (Win32) 
> opened up a page with the text "A brief note" displayed. Perhaps you ran 
> into a bug that's been fixed?
> 
> Jim
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.