OT Re: MIME type for RELAX NG
Frans Englich <[email protected]> Mon, 13 Dec 2004 18:50:16 +0000
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
On Monday 13 December 2004 18:26, John Cowan wrote: > Frans Englich scripsit: > > I think the "Right" answer to that is that the user agent should be > > properly configured to handle that mimetype in a suitable/preferrable > > way. In practice, it's another matter, though. > > AFAIK there is no way to tell browsers "Display this type as text/plain". Not what I know either, but should they at all tell that? MIME types are not for communicating how a file should be treated in a certain GUI; I think it would be to misuse MIME and to rely on certain de-facto behaviors on certain browsers -- the web server should only serve files and tell what types they are, /how/ they are treated is a user agent thing. AFAICT. In KDE it's solved by MIME inheritance, that a MIME type can also be another type, in this case text/xml(if no program is registered for RNG, use an editor which can handle text/xml). IIRC. Cheers, Frans