Re: [media-types] registering vnd.qt.*qml types

Julian Reschke <julian.reschke@gmx.de> Tue, 29 January 2013 14:54 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B86921F8A09 for <media-types@ietfa.amsl.com>; Tue, 29 Jan 2013 06:54:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.012
X-Spam-Level:
X-Spam-Status: No, score=-105.012 tagged_above=-999 required=5 tests=[AWL=-2.640, BAYES_00=-2.599, SARE_SUB_OBFU_Q1=0.227, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v3APzRlwtx+8 for <media-types@ietfa.amsl.com>; Tue, 29 Jan 2013 06:54:26 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by ietfa.amsl.com (Postfix) with ESMTP id 652CF21F8A08 for <media-types@ietfa.amsl.com>; Tue, 29 Jan 2013 06:54:23 -0800 (PST)
Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MDjlo-1UDwci1594-00H9C9 for <media-types@ietfa.amsl.com>; Tue, 29 Jan 2013 15:54:22 +0100
Received: (qmail invoked by alias); 29 Jan 2013 14:54:22 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.102]) [217.91.35.233] by mail.gmx.net (mp032) with SMTP; 29 Jan 2013 15:54:22 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18pn7k5lWkpYztYjMgKVg97CDNJAXS3Ax4s7F1zcW pHxuhPTqHc8lWe
Message-ID: <5107E29D.5060506@gmx.de>
Date: Tue, 29 Jan 2013 15:54:21 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: Mohamed Fawzi <Fawzi.Mohamed@digia.com>
References: <D932B8DA-88F9-447A-A0A1-AA1D1BB7D3A8@digia.com> <5107DB33.6090301@gmx.de> <1A6074EA-AFB4-44FD-AE8A-1D64B0412F49@digia.com>
In-Reply-To: <1A6074EA-AFB4-44FD-AE8A-1D64B0412F49@digia.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Cc: "media-types@ietfa.amsl.com" <media-types@ietfa.amsl.com>
Subject: Re: [media-types] registering vnd.qt.*qml types
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/media-types>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jan 2013 14:54:28 -0000

On 2013-01-29 15:43, Mohamed Fawzi wrote:
>
> On 29 Jan 2013, at 15:22, Julian Reschke <julian.reschke@gmx.de
> <mailto:julian.reschke@gmx.de>>
>   wrote:
>
>> On 2013-01-29 15:15, Mohamed Fawzi wrote:
>>> …
>>> We would like to register
>>>
>>> text/vnd.qt.qml => a file adhering to the QML grammar/syntax .qml
>>> suffix, subclass of text/plain; charset=utf-8
>>>
>>> and as subclasses of that
>>>
>>>   text/vnd.qt.qbs+qml => .qbs suffix
>>>   text/vnd.qt.meta-info+qml => .qmltypes suffix
>>>   text/vnd.qt.project+qml => .qmlproject suffix
>>>
>>> I have also a patch for the free desktop shared-mime-info that reflects
>>> that change.
>>> I am pasting it at the end of this email for reference.
>>> …
>
> Hi Julian thanks for the comment,
>
>> Regarding the "+qml" suffix -- you should consult
>> <http://tools.ietf.org/html/draft-ietf-appsawg-media-type-regs-14>.
>> You will likely realize that the use of the "+" notation isn't
>> justified in this case.
>
> Qml is actually a language with a well defined grammar
> http://qt.gitorious.org/qt/qtdeclarative/blobs/stable/src/qml/qml/parser/qqmljs.g
> that is basically an extended javascript syntax.
>
> All those documents share that syntax (and parser).
> So I thought it was ok to use +qml for them.
>
>  From the document it seems that is allowed, you mean that it should not
> be done because
> 1) qml definition is not performed by a standard body, or similar
> 2) one should register also the base type without the qml syntax

If you want to use the suffix, you'll have to register the base type 
first (I believe).

> 3) not worth it/correct in the vmd tree or because it is the only syntax
> available for those documents
> 4)?
>
> Best regards
>
> Fawzi

Best regards, Julian