OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] OT: data url scheme

[ Lists Home | Date Index | Thread Index ]

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>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS