[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mozilla and XML



JT> Dear all,
JT> I was highly pleased when I found that mozilla (0.9.5) formats my XML
JT> files nicely according to a CSS2 style sheet (well, not all, but most
JT> features seems to be implemented). Imagine my surprise when I put a
JT> file online and mozilla asked if I wanted to download the file or if I
JT> wanted to use an application ...

JT> Is it possible to let mozilla handle xml files like html files? In the
JT> settings there seems to be no way.

JT> BTW, Internet Explorer (on Win2k) does this by default, but has lesser
JT> features implemented.

It looks like your web server doesn't issue correct Content-Type (IIRC
text/xml) header for your XML files.

Why IE works? IE tries to guess content type from url in some
cases. For example if IE sees .html at the end of url it will always
assume that it is HTML.

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)                                    |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)                          |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply to: