> In case of webservers attaching a mime-type this is mostly not a
> problem,  because the server administrator knows which format the
> served .mol files have.

If I understand you correctly, you are saying that a web administrator
might map the extension .mol to something other than
chemical/x-mdl-molfile.OK ... that seems curious ... but I guess I asked for it :-)

So, in an applet context, does jmol use the mime-type information? Or does
it try to deduce the file type from the input stream using the
ReaderFactory mechanism?
> On Tuesday 10 September 2002 10:23, Michael T Howard wrote:
>> I am somewhat puzzled by your comment that file extensions are
>> unreliable. Web servers use file extensions to generate MIME types. If
>> file extensions are wrong (or imprecise) that seems to imply that the
>> files are generally unusable in a web context.
>> Can you point me to some examples/documents that I can investigate?
>
> Some simple examples are the use of the .log, .mol and .xml extensions,
> which are one by one used by more than one file format.
>
> In case of webservers attaching a mime-type this is mostly not a
> problem,  because the server administrator knows which format the
> served .mol files have... but for Jmol this is different: Jmol does not
> have this prior  knowledge...
>
> Egon
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Jmol-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers


--------------------------------------------------
Miguel Howard                   [EMAIL PROTECTED]
c/Peņa Primera 11-13 esc dcha 6B
37002 Salamanca
Espaņa Spain
--------------------------------------------------
telefono casa 923 27 10 82 movil 650 52 54 58
--------------------------------------------------
To call from the US dial    9:00 am Pacific US   =
home 011 34 923 271 082    12:00 noon Eastern US =
cell 011 34 650 525 458     6:00 pm Spain
--------------------------------------------------




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to