Re: proposal for MIME behavior in GNOME

On Fri, 2003-12-05 at 09:47, Daniel Veillard wrote:
> On Fri, Dec 05, 2003 at 11:54:29AM -0500, Jonathan Blandford wrote:
> > Murray Cumming Comneon com writes:
> > 
> > > > Presumably valid xml files will appear as text/xml, and not 
> > > > as text/plain.
> > > 
> > > And will that be handled the same as application/octet-stream files, or just
> > > opened silently with a default XML-editing application such as gedit?
> > 
> > What do you want it to do?  What's the 'right' behavior when you get an
> > unknown xml file.  Should it open in an application like conglomerate or
> > in a text editor.
>   Unfortunately Mime-Type is clearly inadequate now for specifying
> the default processing of a resource in the face of XML usage.
> One way is to try to detect namespaces in the document first kbyte
> or so, grepping for common strings might be sufficient. But it is
> outside purely Mime-Type handling...
> Daniel

Isn't this what "subtype" (I'm not sure of the exact term here) for?
i.e. for SVG application/xml+svg rather than application/xml,
application/svg or image/svg?
Shahms King <shahms shahms com>

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