[Marble-devel] Registering the mimetype application/gpx+xml? Icon for this mimetype (and kml)?
Friedrich W. H. Kossebau
kossebau at kde.org
Thu Oct 20 18:05:20 UTC 2011
Mercredi, le 19 octobre 2011, à 21:01, Friedrich W. H. Kossebau a écrit:
> There is also the tag root-XML, to help identifying xml-based formats.
> Would be
> <root-XML namespaceURI="http://www.topografix.com/GPX/1/0"
> localName="gpx"/>
> but only for version 1.0, not also 1.1. No idea how to support two
> versions. Perhaps they also need to be two different mimetypes? Will ask
> once I approach the people for the shared-mime-info inclusion.
Ah, should learn again about DTDs :)
The element root-XML can exist multiple times, so no problem with that, see
the DTD at the top of the freedesktop.org.xml:
<!ELEMENT mime-type (comment+, (acronym,expanded-acronym)? , (generic-icon?
| glob | magic | treemagic | root-XML | alias | sub-class-of)*)>
Cheers
Friedrich
More information about the Marble-devel
mailing list