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

Mohamed Fawzi <Fawzi.Mohamed@digia.com> Tue, 29 January 2013 14:43 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 3397D21F8904 for <media-types@ietfa.amsl.com>; Tue, 29 Jan 2013 06:43:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.563
X-Spam-Level:
X-Spam-Status: No, score=-1.563 tagged_above=-999 required=5 tests=[AWL=0.808, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 i+dW3UFUX5bE for <media-types@ietfa.amsl.com>; Tue, 29 Jan 2013 06:43:51 -0800 (PST)
Received: from smtp1.digia.com (smtp1.digia.com [82.118.214.156]) by ietfa.amsl.com (Postfix) with ESMTP id 2648D21F889D for <media-types@ietfa.amsl.com>; Tue, 29 Jan 2013 06:43:50 -0800 (PST)
Received: from smtp1.digia.com (unknown [127.0.0.1]) by IMSVA80 (Postfix) with ESMTP id C1C5C3700BB; Tue, 29 Jan 2013 16:43:41 +0200 (EET)
Received: from IT-EXCAS01-HKI.it.local (unknown [10.9.52.70]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp1.digia.com (Postfix) with ESMTP id ABD863700B8; Tue, 29 Jan 2013 16:43:41 +0200 (EET)
Received: from IT-EXMB01-HKI.it.local ([fe80::78ea:e84d:88b4:9f3d]) by IT-EXCAS01-HKI.it.local ([fe80::880f:35fb:7fe4:a7cf%14]) with mapi id 14.02.0283.003; Tue, 29 Jan 2013 16:43:41 +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+YPdtIf0WHN3jLdAiGNZhgOlaAgAAF2wA=
Date: Tue, 29 Jan 2013 14:43:40 +0000
Message-ID: <1A6074EA-AFB4-44FD-AE8A-1D64B0412F49@digia.com>
References: <D932B8DA-88F9-447A-A0A1-AA1D1BB7D3A8@digia.com> <5107DB33.6090301@gmx.de>
In-Reply-To: <5107DB33.6090301@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: multipart/alternative; boundary="_000_1A6074EAAFB444FDAE8A1D64B0412F49digiacom_"
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: Tue, 29 Jan 2013 14:43:52 -0000

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
3) not worth it/correct in the vmd tree or because it is the only syntax available for those documents
4)?

Best regards

Fawzi