Re: proposal for MIME behavior in GNOME



On Fri, Dec 05, 2003 at 09:41:01AM -0500, Jonathan Blandford wrote:
> Murray Cumming Comneon com writes:
> 
> > Doesn't this mean that all unknown files, which happen to be formatted as
> > XML, will have a primary application of gedit or similar, without the user
> > being aware that that is probably inappropriate. If it was a binary format
> > then the user would quickly see that he didn't have the necessary
> > application installed .
> > 
> > In general, I think that XML-formatted files should be opened with a
> > suitable application, and not edited directly unless the user requests that
> > explicitly. And if there's no suitable application already associated then
> > the user should be told that.
> 
> Presumably valid xml files will appear as text/xml, and not as
> text/plain.  If we know something about how to open it, we will.  It's
> only files which cannot be identified at all that fall back to
> text/plain in the case that the first 256 bytes are valid UTF-8.

  Hum, ... preferably application/xml , since text/xml seems to start
being deprecated (XML document are not often processed as "text").
Can you also check RFC 3023 for the +xml extension of Mime-types
  http://www.ietf.org/rfc/rfc3023.txt
I'm not sure this may affect your proposal, but ...

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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