Summary: | Patch to add many sub-class-of definitions | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | David Faure <faure> |
Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
patch
Patch with just the subclasses |
Description
David Faure
2004-05-14 23:46:37 UTC
Created attachment 286 [details] [review] patch XSLT is certainly XML. Don't know about XMI, but I expect so. There are two versions of RSS. One is a subclass of RDF, the other isn't. Looks like text/directory should indeed have a glob. I'm not sure that the explicit subclassing of all the text types is necessary. The spec already says that all text/* are text/plain. This is pretty much the requirement for a type to be in the text/* group in the first place. Some plain text formats are elsewhere, eg application/x-python, precisely because they shouldn't be opened in a text editor by default. While you might not agree with all such choices, having two mechanisms for this is clearly wrong. I'd be perfectly happy to show a VCARD in a text editor, for example. I think that for all text files, opening them in a text editor is better than refusing to open them at all. The more interesting question is whether they should appear on the menu as possible actions, given that more suitable programs exist. Eg, if I have an RDF editor and an XML editor, I might want them both listed as options for an RDF file, but I might not want a text editor there. It depends a lot on the users, though. Created attachment 459 [details] [review] Patch with just the subclasses I've applied the parts of the patch that fix the duplicate types. Here's the rest of the original patch. Committed to CVS. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.