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

Mohamed Fawzi <Fawzi.Mohamed@digia.com> Wed, 30 January 2013 13:11 UTC

Return-Path: <Fawzi.Mohamed@digia.com>
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 37FD921F899E for <media-types@ietfa.amsl.com>; Wed, 30 Jan 2013 05:11:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.698
X-Spam-Level:
X-Spam-Status: No, score=-1.698 tagged_above=-999 required=5 tests=[AWL=0.674, BAYES_00=-2.599, SARE_SUB_OBFU_Q1=0.227]
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 DVuN7xnq4GO6 for <media-types@ietfa.amsl.com>; Wed, 30 Jan 2013 05:11:18 -0800 (PST)
Received: from smtp1.digia.com (smtp1.digia.com [82.118.214.156]) by ietfa.amsl.com (Postfix) with ESMTP id 348B121F8984 for <media-types@ietfa.amsl.com>; Wed, 30 Jan 2013 05:11:17 -0800 (PST)
Received: from smtp1.digia.com (unknown [127.0.0.1]) by IMSVA80 (Postfix) with ESMTP id 30CEA370061; Wed, 30 Jan 2013 15:11:15 +0200 (EET)
Received: from IT-EXCAS02-HKI.it.local (unknown [10.9.52.71]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp1.digia.com (Postfix) with ESMTP id 1813C37004C; Wed, 30 Jan 2013 15:11:15 +0200 (EET)
Received: from IT-EXMB01-HKI.it.local ([fe80::78ea:e84d:88b4:9f3d]) by IT-EXCAS02-HKI.it.local ([fe80::5efe:10.9.52.71%11]) with mapi id 14.02.0283.003; Wed, 30 Jan 2013 15:11:15 +0200
From: Mohamed Fawzi <Fawzi.Mohamed@digia.com>
To: Julian Reschke <julian.reschke@gmx.de>
Thread-Topic: [media-types] registering vnd.qt.*qml types
Thread-Index: AQHN/isRbf+YPdtIf0WHN3jLdAiGNZhgOlaAgAAF2wCAAAL8gIABdXQA
Date: Wed, 30 Jan 2013 13:11:01 +0000
Message-ID: <FE4E752A-2897-4C0B-B038-87893D2CA5A7@digia.com>
References: <D932B8DA-88F9-447A-A0A1-AA1D1BB7D3A8@digia.com> <5107DB33.6090301@gmx.de> <1A6074EA-AFB4-44FD-AE8A-1D64B0412F49@digia.com> <5107E29D.5060506@gmx.de>
In-Reply-To: <5107E29D.5060506@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.9.78.17]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <2EA83AE246C04E46B3207662C39E8600@it.local>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.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: Wed, 30 Jan 2013 13:11:19 -0000

On 29 Jan 2013, at 15:54, Julian Reschke <julian.reschke@gmx.de> wrote:

> 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).

looking at the just released documents by Björn Höhrmann it looks to me,
that the main problem is not that, but rather that I should formalise the +qml
suffix, probably with an RFC, to use it.

If that is the case would changing the +qml to -qml in the name be a good solution?

Fawzi
> 
>> 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