[Development] Qml mime types

Marc Mutz marc.mutz at kdab.com
Tue Dec 11 17:03:50 CET 2012


On Tuesday December 11 2012, Mohamed Fawzi wrote:
> would
>   text/vnd.qt.qml-base
> for the superclass of all files with qml syntax, and
>   text/vnd.qt.qml
> for the qml runtime specific files
> sound better?

For XML, which has the same problem exponentiated, IETF introduced the +xml 
suffix, to be used by all mimetypes that use XML. This is considerably harder 
to do than a mere .vnd-tree registration, though, as you'd need to write an 
RFC draft :)

You might try to sneak +qml in through the side-lines, of course:

  text/vnd.qt.quick+qml
  text/vnd.rim.cascades+qml (assuming that's what you meant with BB above)

Mentioning in each (because you don't have a separate document) that +qml is 
supposed to be used for all qml formats.

Something like that.

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions



More information about the Development mailing list