
From nobody Thu Jun  9 08:31:38 2016
Return-Path: <dev+ietf@seantek.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 3A6E112D11C for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 08:31:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kM3ZsN4XHEl1 for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 08:31:36 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 02B4B12B009 for <media-types@ietf.org>; Thu,  9 Jun 2016 08:31:34 -0700 (PDT)
Received: from fallback-in2.mxes.net (fallback-out2.mxes.net [216.86.168.191]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u59FVEkd012566 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Thu, 9 Jun 2016 15:31:34 GMT
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in2.mxes.net (Postfix) with ESMTP id 0A6172FDC2B for <media-types@iana.org>; Thu,  9 Jun 2016 11:31:13 -0400 (EDT)
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E0112509B6; Thu,  9 Jun 2016 11:30:31 -0400 (EDT)
To: "media-types@iana.org" <media-types@iana.org>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <46fc6302-ad89-a185-330d-d7ef8318740c@seantek.com>
Date: Thu, 9 Jun 2016 08:31:00 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [192.0.33.73]); Thu, 09 Jun 2016 15:31:34 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/Xz66pdGpwfyF7MxyfI9ASzqe1VI>
Cc: Julian Reschke <julian.reschke@greenbytes.de>, RFC Editor <rfc-editor@rfc-editor.org>
Subject: [media-types] The styling of media types in IETF specifications
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 09 Jun 2016 15:31:37 -0000

  During the publication of draft-seantek-windows-image-03 (soon to be=20
RFC 7903), the RFC Editor questioned:

> 2) We note that the names of the media types being registered
> sometimes appear without quotation marks (e.g., image/x-wmf) and a
> couple of times appear enclosed in double quotation marks (e.g.,
> "image/x-wmf"). Should the usage be consistent?

I checked RFC 6838, and RFC 6838 is itself inconsistent between quoting=20
and unquoting media types.

How shall media types in IETF specifications be stylized in plain text,=20
and in xml2rfc? Specifically: shall they be quoted "application/pdf", or =

unquoted application/pdf? In xml2rfc, shall they be quoted or unquoted,=20
shall the quotes be curly quotes or straight quotes, and shall the text=20
be in <tt> elements or plain?

My 2=C2=A2:

When referring to the media type as a string in a protocol element, in=20
plain text "application/pdf" is correct (possibly with other elements,=20
e.g., "text/plain; charset=3DISO-8859-1". In xml2rfc, the same situations=
=20
should be covered by <tt>application/pdf</tt> (no quotes).

When referring to the media type as a prose statement of the contents or =

using the media type for its semantics, do not use quotes and do not=20
encase in <tt>. Examples:

   An application that renders application/pdf data needs to put it in a =

window with scroll bars.

   When a generator generates text/html, it SHOULD balance the tags.

Basically the use of the media type can be substituted by a prose and=20
possibly more unwieldy description, such as:

   An application that renders PDFs needs to put it in a window with=20
scroll bars.

   When a generator generates HTML documents, it SHOULD balance the tags.=



Thank you,

Sean



From nobody Thu Jun  9 10:43:04 2016
Return-Path: <tony@att.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 8766812D6A7 for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 10:43:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VE2ZXv2uMj9C for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 10:43:01 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 208C312D526 for <media-types@ietf.org>; Thu,  9 Jun 2016 10:43:01 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0a-00191d01.pphosted.com [67.231.149.140]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u59HgeYe023900 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Thu, 9 Jun 2016 17:43:01 GMT
Received: from pps.filterd (m0048589.ppops.net [127.0.0.1]) by m0048589.ppops.net-00191d01. (8.16.0.11/8.16.0.11) with SMTP id u59HdIH2039349; Thu, 9 Jun 2016 13:42:36 -0400
Received: from alpi155.enaf.aldc.att.com (sbcsmtp7.sbc.com [144.160.229.24]) by m0048589.ppops.net-00191d01. with ESMTP id 23fcny0rf8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Jun 2016 13:42:35 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id u59HgXKK028029; Thu, 9 Jun 2016 13:42:34 -0400
Received: from mlpi408.sfdc.sbc.com (mlpi408.sfdc.sbc.com [130.9.128.240]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id u59HgPYJ027867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 9 Jun 2016 13:42:30 -0400
Received: from MISOUT7MSGHUBAC.ITServices.sbc.com (MISOUT7MSGHUBAC.itservices.sbc.com [130.9.129.147]) by mlpi408.sfdc.sbc.com (RSA Interceptor); Thu, 9 Jun 2016 17:42:07 GMT
Received: from MISOUT7MSGUSRCG.ITServices.sbc.com ([169.254.7.125]) by MISOUT7MSGHUBAC.ITServices.sbc.com ([130.9.129.147]) with mapi id 14.03.0294.000; Thu, 9 Jun 2016 13:42:07 -0400
From: "HANSEN, TONY L" <tony@att.com>
To: Sean Leonard <dev+ietf@seantek.com>, "media-types@iana.org" <media-types@iana.org>
Thread-Topic: [media-types] The styling of media types in IETF specifications
Thread-Index: AQHRwmQJAGqZwPSrPkysq8qRqBkItp/hZ7IA
Date: Thu, 9 Jun 2016 17:42:07 +0000
Message-ID: <E6CDE6D7-5713-4100-8E56-522632D78B37@att.com>
References: <46fc6302-ad89-a185-330d-d7ef8318740c@seantek.com>
In-Reply-To: <46fc6302-ad89-a185-330d-d7ef8318740c@seantek.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.91.110.223]
Content-Type: text/plain; charset="utf-8"
Content-ID: <18050093F89A82489865CB0E84ED0716@LOCAL>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-06-09_05:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1606090194
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [192.0.33.73]); Thu, 09 Jun 2016 17:43:01 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/EsQy5jUGK-ySUJENs9Mnknm5joM>
Cc: RFC Editor <rfc-editor@rfc-editor.org>, Julian Reschke <julian.reschke@greenbytes.de>
Subject: Re: [media-types] The styling of media types in IETF specifications
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 09 Jun 2016 17:43:03 -0000

SU1POiBXaXRoaW4gYSBkb2N1bWVudCwgYW4gYXV0aG9yIHNob3VsZCBiZSBjb25zaXN0ZW50LiBJ
ZiB0aGV5IGFyZSBub3QsIHRoYXQgaXMgd29ydGggcG9pbnRpbmcgb3V0LCBidXQgbm90IHdvcnRo
IHJlamVjdGluZyBhIGRvY3VtZW50IGlmIHRoZXkgY2hvb3NlIG5vdCB0byBiZS4gQnV0IGFkdm9j
YXRpbmcgbW9yZSB0aGFuIHRoYXQgaXMgZ29pbmcgdG9vIGZhci4gQW5kIGl0IGNlcnRhaW5seSBk
b2VzbuKAmXQgbmVlZCB0byBiZSB3cml0dGVuIGd1aWRhbmNlIGFueXdoZXJlLg0KDQoJVG9ueSBI
YW5zZW4NCg0KT24gNi85LzE2LCAxMTozMSBBTSwgIm1lZGlhLXR5cGVzIG9uIGJlaGFsZiBvZiBT
ZWFuIExlb25hcmQiIDxtZWRpYS10eXBlcy1ib3VuY2VzQGlldGYub3JnIG9uIGJlaGFsZiBvZiBk
ZXYraWV0ZkBzZWFudGVrLmNvbT4gd3JvdGU6DQoNCj4gIER1cmluZyB0aGUgcHVibGljYXRpb24g
b2YgZHJhZnQtc2VhbnRlay13aW5kb3dzLWltYWdlLTAzIChzb29uIHRvIGJlIA0KPlJGQyA3OTAz
KSwgdGhlIFJGQyBFZGl0b3IgcXVlc3Rpb25lZDoNCj4NCj4+IDIpIFdlIG5vdGUgdGhhdCB0aGUg
bmFtZXMgb2YgdGhlIG1lZGlhIHR5cGVzIGJlaW5nIHJlZ2lzdGVyZWQNCj4+IHNvbWV0aW1lcyBh
cHBlYXIgd2l0aG91dCBxdW90YXRpb24gbWFya3MgKGUuZy4sIGltYWdlL3gtd21mKSBhbmQgYQ0K
Pj4gY291cGxlIG9mIHRpbWVzIGFwcGVhciBlbmNsb3NlZCBpbiBkb3VibGUgcXVvdGF0aW9uIG1h
cmtzIChlLmcuLA0KPj4gImltYWdlL3gtd21mIikuIFNob3VsZCB0aGUgdXNhZ2UgYmUgY29uc2lz
dGVudD8NCj4NCj5JIGNoZWNrZWQgUkZDIDY4MzgsIGFuZCBSRkMgNjgzOCBpcyBpdHNlbGYgaW5j
b25zaXN0ZW50IGJldHdlZW4gcXVvdGluZyANCj5hbmQgdW5xdW90aW5nIG1lZGlhIHR5cGVzLg0K
Pg0KPkhvdyBzaGFsbCBtZWRpYSB0eXBlcyBpbiBJRVRGIHNwZWNpZmljYXRpb25zIGJlIHN0eWxp
emVkIGluIHBsYWluIHRleHQsIA0KPmFuZCBpbiB4bWwycmZjPyBTcGVjaWZpY2FsbHk6IHNoYWxs
IHRoZXkgYmUgcXVvdGVkICJhcHBsaWNhdGlvbi9wZGYiLCBvciANCj51bnF1b3RlZCBhcHBsaWNh
dGlvbi9wZGY/IEluIHhtbDJyZmMsIHNoYWxsIHRoZXkgYmUgcXVvdGVkIG9yIHVucXVvdGVkLCAN
Cj5zaGFsbCB0aGUgcXVvdGVzIGJlIGN1cmx5IHF1b3RlcyBvciBzdHJhaWdodCBxdW90ZXMsIGFu
ZCBzaGFsbCB0aGUgdGV4dCANCj5iZSBpbiA8dHQ+IGVsZW1lbnRzIG9yIHBsYWluPw0KPg0KPk15
IDLCojoNCj4NCj5XaGVuIHJlZmVycmluZyB0byB0aGUgbWVkaWEgdHlwZSBhcyBhIHN0cmluZyBp
biBhIHByb3RvY29sIGVsZW1lbnQsIGluIA0KPnBsYWluIHRleHQgImFwcGxpY2F0aW9uL3BkZiIg
aXMgY29ycmVjdCAocG9zc2libHkgd2l0aCBvdGhlciBlbGVtZW50cywgDQo+ZS5nLiwgInRleHQv
cGxhaW47IGNoYXJzZXQ9SVNPLTg4NTktMSIuIEluIHhtbDJyZmMsIHRoZSBzYW1lIHNpdHVhdGlv
bnMgDQo+c2hvdWxkIGJlIGNvdmVyZWQgYnkgPHR0PmFwcGxpY2F0aW9uL3BkZjwvdHQ+IChubyBx
dW90ZXMpLg0KPg0KPldoZW4gcmVmZXJyaW5nIHRvIHRoZSBtZWRpYSB0eXBlIGFzIGEgcHJvc2Ug
c3RhdGVtZW50IG9mIHRoZSBjb250ZW50cyBvciANCj51c2luZyB0aGUgbWVkaWEgdHlwZSBmb3Ig
aXRzIHNlbWFudGljcywgZG8gbm90IHVzZSBxdW90ZXMgYW5kIGRvIG5vdCANCj5lbmNhc2UgaW4g
PHR0Pi4gRXhhbXBsZXM6DQo+DQo+ICAgQW4gYXBwbGljYXRpb24gdGhhdCByZW5kZXJzIGFwcGxp
Y2F0aW9uL3BkZiBkYXRhIG5lZWRzIHRvIHB1dCBpdCBpbiBhIA0KPndpbmRvdyB3aXRoIHNjcm9s
bCBiYXJzLg0KPg0KPiAgIFdoZW4gYSBnZW5lcmF0b3IgZ2VuZXJhdGVzIHRleHQvaHRtbCwgaXQg
U0hPVUxEIGJhbGFuY2UgdGhlIHRhZ3MuDQo+DQo+QmFzaWNhbGx5IHRoZSB1c2Ugb2YgdGhlIG1l
ZGlhIHR5cGUgY2FuIGJlIHN1YnN0aXR1dGVkIGJ5IGEgcHJvc2UgYW5kIA0KPnBvc3NpYmx5IG1v
cmUgdW53aWVsZHkgZGVzY3JpcHRpb24sIHN1Y2ggYXM6DQo+DQo+ICAgQW4gYXBwbGljYXRpb24g
dGhhdCByZW5kZXJzIFBERnMgbmVlZHMgdG8gcHV0IGl0IGluIGEgd2luZG93IHdpdGggDQo+c2Ny
b2xsIGJhcnMuDQo+DQo+ICAgV2hlbiBhIGdlbmVyYXRvciBnZW5lcmF0ZXMgSFRNTCBkb2N1bWVu
dHMsIGl0IFNIT1VMRCBiYWxhbmNlIHRoZSB0YWdzLg0KPg0KPg0KPlRoYW5rIHlvdSwNCj4NCj5T
ZWFuDQo+DQo+DQo+X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18NCj5tZWRpYS10eXBlcyBtYWlsaW5nIGxpc3QNCj5tZWRpYS10eXBlc0BpZXRmLm9yZw0KPmh0
dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vbWVkaWEtdHlwZXMNCg0K


From nobody Thu Jun  9 16:46:34 2016
Return-Path: <mnot@mnot.net>
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 1FD4C12D7F1 for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 16:46:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.001, SPF_HELO_PASS=-0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ynOBWlbu_RH1 for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 16:46:32 -0700 (PDT)
Received: from pechora7.dc.icann.org (pechora7.icann.org [IPv6:2620:0:2830:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC75D12D7CE for <media-types@ietf.org>; Thu,  9 Jun 2016 16:46:31 -0700 (PDT)
Received: from fallback-in2.mxes.net (fallback-out2.mxes.net [216.86.168.191]) by pechora7.dc.icann.org (8.13.8/8.13.8) with ESMTP id u59NkA1q015685 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Thu, 9 Jun 2016 23:46:31 GMT
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in2.mxes.net (Postfix) with ESMTP id 8FBD12FDC2B for <media-types@iana.org>; Thu,  9 Jun 2016 19:46:10 -0400 (EDT)
Received: from [192.168.1.101] (unknown [120.149.194.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 861E722E1F3; Thu,  9 Jun 2016 19:45:27 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 10 Jun 2016 09:45:25 +1000
Message-Id: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net>
To: "media-types@iana.org" <media-types@iana.org>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (pechora7.dc.icann.org [192.0.46.73]); Thu, 09 Jun 2016 23:46:31 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/BjEmzQ3Bax1sVUQE0tNbrlBTsO8>
Cc: Benoit Claise <bclaise@cisco.com>, Andy Bierman <andy@yumaworks.com>
Subject: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 09 Jun 2016 23:46:33 -0000

YANG is attempting to register a number of media types that begin with =
"application/yang."; see:
  =
https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2
  =
https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3

E.g., it calls "application/yang.api" a "subtype" of "application/yang".

I read RFC6838 to prohibit this, because the portion of a subtype =
preceded by the first "." indicates the registration tree in a facet, =
and faceted media types are prohibited from being registered in the =
standards tree (unless they're grandfathered in in Appendix A). =
Furthermore, the drafts' use of "subtype" is erroneous.

Is that understanding correct? If so, should they be using different =
media types, or is there some other way to accommodate what they want?

Cheers,


--
Mark Nottingham   https://www.mnot.net/


From nobody Thu Jun  9 19:14:59 2016
Return-Path: <dev+ietf@seantek.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 0ABFF12DA61 for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 19:14:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FdA5BuKQV3H3 for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 19:14:56 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E78412D5BF for <media-types@ietf.org>; Thu,  9 Jun 2016 19:14:56 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5A2EYDd013225 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Fri, 10 Jun 2016 02:14:55 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4536E509B6; Thu,  9 Jun 2016 22:14:33 -0400 (EDT)
To: Mark Nottingham <mnot@mnot.net>, "media-types@iana.org" <media-types@iana.org>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com>
Date: Thu, 9 Jun 2016 19:15:02 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Greylist: Delayed for 10:44:02 by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Fri, 10 Jun 2016 02:14:55 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/87LXmqAfTpqVwuHcJokQDh6YIPI>
Cc: Benoit Claise <bclaise@cisco.com>, Andy Bierman <andy@yumaworks.com>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 10 Jun 2016 02:14:58 -0000

When it comes to Internet media types, "subtype" refers to everything=20
after the "/" and "type" refers to everything prior to the "/".

The field "Subtype name" is a field in the media type registration=20
template--its usage in those drafts is correct.

When referring to the construct as a whole, the term "media type" is=20
generally used, not "media subtype" or "subtype". However, I suppose=20
that "subtype" would be technically correct (although not preferred)=20
because application/xml (for example) is actually a subtype of=20
application. Stylistically it should be called the media type=20
application/xml, etc.

They should be called application/yang-api, application/yang-patch,=20
application/yang-patch-status, etc.

I am assuming that YANG is referring specifically to the language (akin=20
to saying "C++" or "JavaScript"), and not referring specifically to the=20
structured syntax (akin to saying "JSON"). If YANG is referring=20
specifically to a structured syntax, then the media types should end in=20
+yang. My knowledge of YANG is not deep enough to opine further on this=20
point.

Regards,

Sean

On 6/9/2016 4:45 PM, Mark Nottingham wrote:
> YANG is attempting to register a number of media types that begin with =
"application/yang."; see:
>    https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section=
-4.2
>    https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-1=
1.3
>
> E.g., it calls "application/yang.api" a "subtype" of "application/yang"=
=2E
>
> I read RFC6838 to prohibit this, because the portion of a subtype prece=
ded by the first "." indicates the registration tree in a facet, and face=
ted media types are prohibited from being registered in the standards tre=
e (unless they're grandfathered in in Appendix A). Furthermore, the draft=
s' use of "subtype" is erroneous.
>
> Is that understanding correct? If so, should they be using different me=
dia types, or is there some other way to accommodate what they want?
>
> Cheers,
>
>
> --
> Mark Nottingham   https://www.mnot.net/
>
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types




From nobody Thu Jun  9 19:35:24 2016
Return-Path: <mnot@mnot.net>
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 02D0F12D8F4 for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 19:35:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_PASS=-0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GqYLcsAX3yKt for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 19:35:20 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD9DD12D8F5 for <media-types@ietf.org>; Thu,  9 Jun 2016 19:35:20 -0700 (PDT)
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5A2Z0BB008519 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Fri, 10 Jun 2016 02:35:20 GMT
Received: from [192.168.1.101] (unknown [120.149.194.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3C29822E1F3; Thu,  9 Jun 2016 22:34:56 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com>
Date: Fri, 10 Jun 2016 12:34:53 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com>
To: Sean Leonard <dev+ietf@seantek.com>
X-Mailer: Apple Mail (2.3124)
X-Greylist: Delayed for 02:49:31 by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Fri, 10 Jun 2016 02:35:20 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/tw6ExoLR0frrYgUePe_zhNACH88>
Cc: Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, Andy Bierman <andy@yumaworks.com>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 10 Jun 2016 02:35:23 -0000

> On 10 Jun 2016, at 12:15 PM, Sean Leonard <dev+ietf@seantek.com> =
wrote:
>=20
> When it comes to Internet media types, "subtype" refers to everything =
after the "/" and "type" refers to everything prior to the "/".
>=20
> The field "Subtype name" is a field in the media type registration =
template--its usage in those drafts is correct.

Even:

"""
The parent MIME media type for RESTCONF resources is application/yang, =
which is defined in [RFC6020].  This document defines the following =
sub-types for this media type.
"""

? That seems to read as if "application/foo.bar" is a subtype of =
"application/foo".


>=20
> When referring to the construct as a whole, the term "media type" is =
generally used, not "media subtype" or "subtype". However, I suppose =
that "subtype" would be technically correct (although not preferred) =
because application/xml (for example) is actually a subtype of =
application. Stylistically it should be called the media type =
application/xml, etc.
>=20
> They should be called application/yang-api, application/yang-patch, =
application/yang-patch-status, etc.
>=20
> I am assuming that YANG is referring specifically to the language =
(akin to saying "C++" or "JavaScript"), and not referring specifically =
to the structured syntax (akin to saying "JSON"). If YANG is referring =
specifically to a structured syntax, then the media types should end in =
+yang. My knowledge of YANG is not deep enough to opine further on this =
point.
>=20
> Regards,
>=20
> Sean
>=20
> On 6/9/2016 4:45 PM, Mark Nottingham wrote:
>> YANG is attempting to register a number of media types that begin =
with "application/yang."; see:
>>   =
https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2
>>   =
https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>>=20
>> E.g., it calls "application/yang.api" a "subtype" of =
"application/yang".
>>=20
>> I read RFC6838 to prohibit this, because the portion of a subtype =
preceded by the first "." indicates the registration tree in a facet, =
and faceted media types are prohibited from being registered in the =
standards tree (unless they're grandfathered in in Appendix A). =
Furthermore, the drafts' use of "subtype" is erroneous.
>>=20
>> Is that understanding correct? If so, should they be using different =
media types, or is there some other way to accommodate what they want?
>>=20
>> Cheers,
>>=20
>>=20
>> --
>> Mark Nottingham   https://www.mnot.net/
>>=20
>> _______________________________________________
>> media-types mailing list
>> media-types@ietf.org
>> https://www.ietf.org/mailman/listinfo/media-types
>=20
>=20
>=20
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types

--
Mark Nottingham   https://www.mnot.net/


From nobody Thu Jun  9 19:58:04 2016
Return-Path: <dev+ietf@seantek.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 BF8BF12D0F8 for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 19:58:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5mQw2X_dDY_o for <media-types@ietfa.amsl.com>; Thu,  9 Jun 2016 19:58:01 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBF9712B007 for <media-types@ietf.org>; Thu,  9 Jun 2016 19:58:00 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5A2vet7013785 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Fri, 10 Jun 2016 02:58:00 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7293E50A85; Thu,  9 Jun 2016 22:57:39 -0400 (EDT)
To: Mark Nottingham <mnot@mnot.net>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com>
Date: Thu, 9 Jun 2016 19:58:08 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Fri, 10 Jun 2016 02:58:00 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/KqQnOTeRB_UAGyuZVBOUqwdw7qw>
Cc: Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, Andy Bierman <andy@yumaworks.com>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 10 Jun 2016 02:58:03 -0000

On 6/9/2016 7:34 PM, Mark Nottingham wrote:
>> On 10 Jun 2016, at 12:15 PM, Sean Leonard <dev+ietf@seantek.com> wrote=
:
>>
>> When it comes to Internet media types, "subtype" refers to everything =
after the "/" and "type" refers to everything prior to the "/".
>>
>> The field "Subtype name" is a field in the media type registration tem=
plate--its usage in those drafts is correct.
> Even:
>
> """
> The parent MIME media type for RESTCONF resources is application/yang, =
which is defined in [RFC6020].  This document defines the following sub-t=
ypes for this media type.
> """
>
> ? That seems to read as if "application/foo.bar" is a subtype of "appli=
cation/foo".

Sorry, I missed that because I did a search on "subtypes" instead of=20
"sub-types" <g>.

On a technical note: is there a compelling reason why the media type has =

to be application/yang-patch? The fact that it is a patch is obvious by=20
the use of the header "Accept-Patch". Why not just say application/yang, =

or application/xml, or application/json, as appropriate?

It looks (to me) like the content is obviously a patch or patch-status,=20
as evidenced by strings/data elements such as

"ietf-yang-patch:yang-patch-status" and <yang-patch xmlns=3D"urn:ietf:par=
ams:xml:ns:yang:ietf-yang-patch">.


I do not see a compelling reason to use the media type to duplicate=20
obvious information.

****
On a related note: okay, now I am seeing "sub types" in=20
draft-ietf-netconf-restconf-13. Sneaky little devils, eh ;-) (I am=20
referring to the subtypes, not the authors ;-) )

Specifically:

       Subtype name: yang.xxx, where "xxx" is 1 of "api",
       "data", "datastore", "errors", "operation", or "stream"


I have never seen a registration like this. Usually you have one=20
registration per subtype.

What you're trying to do here, is much better served by using required=20
or optional parameters, namely:
Content-Type: application/yang; subtype=3D"xxx"

Where xxx is api, data, datastore, errors, operation, or stream. That=20
way it's extensible without needing another whole RFC for it. Must say=20
whether it's case sensitive; it looks case insensitive. May I suggest=20
renaming the parameter to something other than subtype, although nothing =

better comes to mind...

However, I think it is duplicitous (both redundant, and underhanded) to=20
have a subtype parameter when (as with yang patch) the data itself=20
describes the response very clearly, such as:

<errors xmlns=3D"urn:ietf:params:xml:ns:yang:ietf-restconf">


We have seen this pattern elsewhere: see the registrations for PKCS #7 / =

CMS and the smime-type and encapsulatingContent parameters.

The problem is that this is basically a hint to a receiver of what lies=20
inside. But what if what lies inside doesn't match the parameter? Who=20
wins? You should say which one wins. Ideally, you should only have one=20
place in your protocol say what it is, to avoid divergent behavior.

Regards,

Sean

>
>
>> When referring to the construct as a whole, the term "media type" is g=
enerally used, not "media subtype" or "subtype". However, I suppose that =
"subtype" would be technically correct (although not preferred) because a=
pplication/xml (for example) is actually a subtype of application. Stylis=
tically it should be called the media type application/xml, etc.
>>
>> They should be called application/yang-api, application/yang-patch, ap=
plication/yang-patch-status, etc.
>>
>> I am assuming that YANG is referring specifically to the language (aki=
n to saying "C++" or "JavaScript"), and not referring specifically to the=
 structured syntax (akin to saying "JSON"). If YANG is referring specific=
ally to a structured syntax, then the media types should end in +yang. My=
 knowledge of YANG is not deep enough to opine further on this point.
>>
>> Regards,
>>
>> Sean
>>
>> On 6/9/2016 4:45 PM, Mark Nottingham wrote:
>>> YANG is attempting to register a number of media types that begin wit=
h "application/yang."; see:
>>>    https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#secti=
on-4.2
>>>    https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section=
-11.3
>>>
>>> E.g., it calls "application/yang.api" a "subtype" of "application/yan=
g".
>>>
>>> I read RFC6838 to prohibit this, because the portion of a subtype pre=
ceded by the first "." indicates the registration tree in a facet, and fa=
ceted media types are prohibited from being registered in the standards t=
ree (unless they're grandfathered in in Appendix A). Furthermore, the dra=
fts' use of "subtype" is erroneous.
>>>
>>> Is that understanding correct? If so, should they be using different =
media types, or is there some other way to accommodate what they want?
>>>
>>> Cheers,
>>>
>>>
>>> --
>>> Mark Nottingham   https://www.mnot.net/
>>>
>>> _______________________________________________
>>> media-types mailing list
>>> media-types@ietf.org
>>> https://www.ietf.org/mailman/listinfo/media-types
>>
>>
>> _______________________________________________
>> media-types mailing list
>> media-types@ietf.org
>> https://www.ietf.org/mailman/listinfo/media-types
> --
> Mark Nottingham   https://www.mnot.net/
>
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types




From nobody Fri Jun 10 22:19:37 2016
Return-Path: <mark@coactus.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 5615112D794 for <media-types@ietfa.amsl.com>; Fri, 10 Jun 2016 22:19:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=coactus-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gjJhvWAwnD3S for <media-types@ietfa.amsl.com>; Fri, 10 Jun 2016 22:19:34 -0700 (PDT)
Received: from pechora4.lax.icann.org (pechora4.icann.org [IPv6:2620:0:2d0:201::1:74]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 15D5712D58E for <media-types@ietf.org>; Fri, 10 Jun 2016 22:19:34 -0700 (PDT)
Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) by pechora4.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5B5JDmj014335 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Sat, 11 Jun 2016 05:19:33 GMT
Received: by mail-vk0-x22c.google.com with SMTP id e4so122516741vkb.1 for <media-types@iana.org>; Fri, 10 Jun 2016 22:19:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coactus-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=lHCi9JaCUWEWahd86BSioe7UPxNNBkiTQm9ZdeHqd7g=; b=tI1Y/i7ZXaKzOsf/tJNU4ri7hSg9hWQq7EO8Yf8FHfxkgIYuzy26s/Ly6eloTNiekr 5L9RLTO47kaY12DKX5WxNXywmT4gO8kYqOUbc4Roab7bz8zZQysNGJW1By7vtynsKpuv +DSNhAzTPY3tvp3lJ2Dfx9DREWRyMw8GFwazcY81/bMfW1lkoV1UVgLLVR7EcOEs//jJ wdIk4d2bZY0ZIBlwNyLitacMmidWCBujpcC8eIbAov6PvJvbKGFMQW3JjG0fZ4EvVV1+ wS+JzElEC1+WGObnbfJQ8RgvdQvBGIQ+Ai92Jhgxh79gu9071IqJM6jRrDtCkfYFmt+b ohFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lHCi9JaCUWEWahd86BSioe7UPxNNBkiTQm9ZdeHqd7g=; b=gn7itXMB4Wuu4FW38FwJZ57+XZzITSghtUp/OhEUo/as52KfJ6KTmQKN+Lbd704X3E jdWHNg1Mz+wlnyvPe0BT61gch+ueCOnpHrjnzv8z5dZvZD9u2HNrzRxpi15Gyllromuy JUDwa8+8XYwky0+uCZ3PotqufE2Dguc/9gPuaHZzx2QmTaQ4GNir0euC2k+OofEZm1Sz UBN4CIMSee27G7ZlXywHCA8Da4HNqBqS9VSFNA4/fjsjVzVPzLTmQEQ4sWQmAmDP8Ssj PhZ6wTX1ECnFspE76U3lTXGc+QwPyyH1UiFiLEA9muooiwegb5hKk6OPrRJVpkMTo8pU G0Nw==
X-Gm-Message-State: ALyK8tJ3ZfZnJRCFeR8TKmF6puy9+3Fp+SwyXt4LWy0HZJ2EXp7n4Nevp3cY/doOUud7eB27rqFhBeOkjOGEHA==
X-Received: by 10.159.36.245 with SMTP id 108mr2340797uar.121.1465622352716; Fri, 10 Jun 2016 22:19:12 -0700 (PDT)
MIME-Version: 1.0
Sender: mark@coactus.com
Received: by 10.159.53.70 with HTTP; Fri, 10 Jun 2016 22:19:12 -0700 (PDT)
X-Originating-IP: [23.233.58.109]
In-Reply-To: <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com>
From: Mark Baker <distobj@acm.org>
Date: Sat, 11 Jun 2016 01:19:12 -0400
X-Google-Sender-Auth: PMzyf6_JABEsjR0iBqdCTE8s7MU
Message-ID: <CALcoZipjaLZh2cw65A_GLQ0oPRBM1-HDakgo=qNs32HkrQ=k8w@mail.gmail.com>
To: Sean Leonard <dev+ietf@seantek.com>
Content-Type: text/plain; charset=UTF-8
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora4.lax.icann.org [IPv6:2620:0:2d0:201::1:74]); Sat, 11 Jun 2016 05:19:33 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/77hlstd0MzA3FJapG06xeTHkzbU>
Cc: Benoit Claise <bclaise@cisco.com>, Mark Nottingham <mnot@mnot.net>, "media-types@iana.org" <media-types@iana.org>, Andy Bierman <andy@yumaworks.com>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jun 2016 05:19:35 -0000

On Thu, Jun 9, 2016 at 10:58 PM, Sean Leonard <dev+ietf@seantek.com> wrote:
> On a technical note: is there a compelling reason why the media type has to
> be application/yang-patch? The fact that it is a patch is obvious by the use
> of the header "Accept-Patch". Why not just say application/yang, or
> application/xml, or application/json, as appropriate?

For the same reason we deliver HTML as text/html and not text/sgml or
text/plain.

IMO, these registrations look like they just need a +yang suffix. What
they're currently doing is defining subtype facets as peers to vnd,
prs, and x, and I can't imagine that was the intent.


From nobody Fri Jun 10 23:17:37 2016
Return-Path: <andy@yumaworks.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 15FCC12DA76 for <media-types@ietfa.amsl.com>; Fri, 10 Jun 2016 23:17:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0w_EDV3wnvSs for <media-types@ietfa.amsl.com>; Fri, 10 Jun 2016 23:17:34 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C48AC12DA70 for <media-types@ietf.org>; Fri, 10 Jun 2016 23:17:33 -0700 (PDT)
Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5B6HCT4022094 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Sat, 11 Jun 2016 06:17:32 GMT
Received: by mail-qg0-x235.google.com with SMTP id p34so46587820qgp.1 for <media-types@iana.org>; Fri, 10 Jun 2016 23:17:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=LJetd5C2NpMMdsdRfFWnbr00PSnY7CP9ciRELgYS7RA=; b=E+pdOrbjql/qIEWcghyF5PwwgEOUURIuBqU0WjkAcrXd24cY503Wf7qkRclkYW/IFC 0phE40lM3xn2u2NEJRzqc43lPbt8LmXlAGvgR3cISIKoJmxosgchLhJmLSdzVB4D7Nd1 gTak/LBZbMWPJmeY6VR0nCHg6IU+KFyR6llgUBfIZzJ3eLcJF+Chgad6KjAxbRr63ftx AkQrUERyt5LhRKJzQmFw0unN5HbLmVRWkH4bzzp74d73g2YEA+SyVcaPbBzEP22YUZqx bUnrq7MlhzUx/D2EnDxEGnzqpCRhiUScCWOG03Qjpr5QBcwbZ/k3u90Mp2zzHJfernPZ /UdQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=LJetd5C2NpMMdsdRfFWnbr00PSnY7CP9ciRELgYS7RA=; b=gyyJ1VwyP1gQgughVhDezOCyg7roNM+yk8OxEbGny7ijbH/fXwg2sdnjD6HAZO/6dU B1xosTqFUO32RUujbGHn6K1jxhEWRdDFYBYbU/P0o3s+ovygzcve29b2LpQwZWkLiCrT IZOhrGckTTBdo2uOS8vrk9rLUlK0Sbjcn+bPpumwvVK7RgFcNTzj6E4n480zG7FyLRNN FzaXYT6R1gNyn/pdQXPb4OeQJ0vE0MLcpZKqkhxNHiQoLQbW9+gFB09P62xortPWcZ3L DQNViH5cj0hQ/ddIiwvI/v7ahk9htsjPtGUiGA+HpsOHKI6m5z9r1lQ0G4Y48F5cL+uT 89YQ==
X-Gm-Message-State: ALyK8tITlotc9sbsNawrWrid5CVP1/76zfSEhcUZTUjuAalg7plkR0mAOeCMN0QAMfV5N3GvPTj5GFowyozpsQ==
MIME-Version: 1.0
X-Received: by 10.140.203.213 with SMTP id y204mr5373229qha.45.1465625832358;  Fri, 10 Jun 2016 23:17:12 -0700 (PDT)
Received: by 10.200.56.16 with HTTP; Fri, 10 Jun 2016 23:17:12 -0700 (PDT)
In-Reply-To: <CALcoZipjaLZh2cw65A_GLQ0oPRBM1-HDakgo=qNs32HkrQ=k8w@mail.gmail.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com> <CALcoZipjaLZh2cw65A_GLQ0oPRBM1-HDakgo=qNs32HkrQ=k8w@mail.gmail.com>
Date: Fri, 10 Jun 2016 23:17:12 -0700
Message-ID: <CABCOCHTi3UAzX8LKOmVTRE0KG0NdhZawd3mvM2xTjEc5jXG9Ag@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Mark Baker <distobj@acm.org>
Content-Type: multipart/alternative; boundary=001a114f41181c9b590534fa9ba0
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [IPv6:2620:0:2830:201::1:71]); Sat, 11 Jun 2016 06:17:32 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/rTOAEcNEs97eAVyVfDOXDTbuGRs>
Cc: Benoit Claise <bclaise@cisco.com>, Mark Nottingham <mnot@mnot.net>, "media-types@iana.org" <media-types@iana.org>, Sean Leonard <dev+ietf@seantek.com>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jun 2016 06:17:36 -0000

--001a114f41181c9b590534fa9ba0
Content-Type: text/plain; charset=UTF-8

On Fri, Jun 10, 2016 at 10:19 PM, Mark Baker <distobj@acm.org> wrote:

> On Thu, Jun 9, 2016 at 10:58 PM, Sean Leonard <dev+ietf@seantek.com>
> wrote:
> > On a technical note: is there a compelling reason why the media type has
> to
> > be application/yang-patch? The fact that it is a patch is obvious by the
> use
> > of the header "Accept-Patch". Why not just say application/yang, or
> > application/xml, or application/json, as appropriate?
>
> For the same reason we deliver HTML as text/html and not text/sgml or
> text/plain.
>
> IMO, these registrations look like they just need a +yang suffix. What
> they're currently doing is defining subtype facets as peers to vnd,
> prs, and x, and I can't imagine that was the intent.
>

YANG is not an encoding format. It is a schema language.
Instance documents conforming to YANG schema are encoded in XML or JSON.

Andy

--001a114f41181c9b590534fa9ba0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Jun 10, 2016 at 10:19 PM, Mark Baker <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:distobj@acm.org" target=3D"_blank">distobj@acm.org</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">On Thu, Jun 9, 2016 at 10:58 =
PM, Sean Leonard &lt;<a href=3D"mailto:dev%2Bietf@seantek.com">dev+ietf@sea=
ntek.com</a>&gt; wrote:<br>
&gt; On a technical note: is there a compelling reason why the media type h=
as to<br>
&gt; be application/yang-patch? The fact that it is a patch is obvious by t=
he use<br>
&gt; of the header &quot;Accept-Patch&quot;. Why not just say application/y=
ang, or<br>
&gt; application/xml, or application/json, as appropriate?<br>
<br>
For the same reason we deliver HTML as text/html and not text/sgml or<br>
text/plain.<br>
<br>
IMO, these registrations look like they just need a +yang suffix. What<br>
they&#39;re currently doing is defining subtype facets as peers to vnd,<br>
prs, and x, and I can&#39;t imagine that was the intent.<br>
</blockquote></div><br></div><div class=3D"gmail_extra">YANG is not an enco=
ding format. It is a schema language.</div><div class=3D"gmail_extra">Insta=
nce documents conforming to YANG schema are encoded in XML or JSON.</div><d=
iv class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Andy</div><di=
v class=3D"gmail_extra"><br></div></div>

--001a114f41181c9b590534fa9ba0--


From nobody Sat Jun 11 10:17:18 2016
Return-Path: <dev+ietf@seantek.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 6F7E412D7EF for <media-types@ietfa.amsl.com>; Sat, 11 Jun 2016 10:17:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NMStrdFwKlR7 for <media-types@ietfa.amsl.com>; Sat, 11 Jun 2016 10:17:16 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E05FC12D638 for <media-types@ietf.org>; Sat, 11 Jun 2016 10:17:15 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5BHGtc4007108 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Sat, 11 Jun 2016 17:17:15 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 569DB509B8; Sat, 11 Jun 2016 13:16:53 -0400 (EDT)
To: Andy Bierman <andy@yumaworks.com>, Mark Baker <distobj@acm.org>, "media-types@iana.org" <media-types@iana.org>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com> <CALcoZipjaLZh2cw65A_GLQ0oPRBM1-HDakgo=qNs32HkrQ=k8w@mail.gmail.com> <CABCOCHTi3UAzX8LKOmVTRE0KG0NdhZawd3mvM2xTjEc5jXG9Ag@mail.gmail.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <4e3dc596-d61c-a9b8-0b41-e0b4d159596f@seantek.com>
Date: Sat, 11 Jun 2016 10:17:22 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHTi3UAzX8LKOmVTRE0KG0NdhZawd3mvM2xTjEc5jXG9Ag@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------1F9132BB011A2D67955E40BF"
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [192.0.33.73]); Sat, 11 Jun 2016 17:17:15 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/AEZVMf03-Q9IoH7ag5QznEzMxLI>
Cc: Benoit Claise <bclaise@cisco.com>, Mark Nottingham <mnot@mnot.net>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jun 2016 17:17:17 -0000

This is a multi-part message in MIME format.
--------------1F9132BB011A2D67955E40BF
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

On 6/10/2016 11:17 PM, Andy Bierman wrote:
>
>
> On Fri, Jun 10, 2016 at 10:19 PM, Mark Baker <distobj@acm.org=20
> <mailto:distobj@acm.org>> wrote:
>
>     On Thu, Jun 9, 2016 at 10:58 PM, Sean Leonard
>     <dev+ietf@seantek.com <mailto:dev%2Bietf@seantek.com>> wrote:
>     > On a technical note: is there a compelling reason why the media
>     type has to
>     > be application/yang-patch? The fact that it is a patch is
>     obvious by the use
>     > of the header "Accept-Patch". Why not just say application/yang, =
or
>     > application/xml, or application/json, as appropriate?
>
>     For the same reason we deliver HTML as text/html and not text/sgml =
or
>     text/plain.
>
>     IMO, these registrations look like they just need a +yang suffix. W=
hat
>     they're currently doing is defining subtype facets as peers to vnd,=

>     prs, and x, and I can't imagine that was the intent.
>
>
> YANG is not an encoding format. It is a schema language.
> Instance documents conforming to YANG schema are encoded in XML or JSON=
=2E

That confirms my suspicion. So, these proposed media type(s) should have =

+xml, +json, or nothing (as structured syntax suffixes are optional,=20
they are really intended more as a hint to intermediate decoders such as =

debugging tools). They should not have +yang.

Sean


--------------1F9132BB011A2D67955E40BF
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 6/10/2016 11:17 PM, Andy Bierman
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABCOCHTi3UAzX8LKOmVTRE0KG0NdhZawd3mvM2xTjEc5jXG9Ag@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Fri, Jun 10, 2016 at 10:19 PM,
            Mark Baker <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:distobj@acm.org" target="_blank">distobj@acm.org</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu,
              Jun 9, 2016 at 10:58 PM, Sean Leonard &lt;<a
                moz-do-not-send="true"
                href="mailto:dev%2Bietf@seantek.com"><a class="moz-txt-link-abbreviated" href="mailto:dev+ietf@seantek.com">dev+ietf@seantek.com</a></a>&gt;
              wrote:<br>
              &gt; On a technical note: is there a compelling reason why
              the media type has to<br>
              &gt; be application/yang-patch? The fact that it is a
              patch is obvious by the use<br>
              &gt; of the header "Accept-Patch". Why not just say
              application/yang, or<br>
              &gt; application/xml, or application/json, as appropriate?<br>
              <br>
              For the same reason we deliver HTML as text/html and not
              text/sgml or<br>
              text/plain.<br>
              <br>
              IMO, these registrations look like they just need a +yang
              suffix. What<br>
              they're currently doing is defining subtype facets as
              peers to vnd,<br>
              prs, and x, and I can't imagine that was the intent.<br>
            </blockquote>
          </div>
          <br>
        </div>
        <div class="gmail_extra">YANG is not an encoding format. It is a
          schema language.</div>
        <div class="gmail_extra">Instance documents conforming to YANG
          schema are encoded in XML or JSON.</div>
      </div>
    </blockquote>
    <br>
    That confirms my suspicion. So, these proposed media type(s) should
    have +xml, +json, or nothing (as structured syntax suffixes are
    optional, they are really intended more as a hint to intermediate
    decoders such as debugging tools). They should not have +yang.<br>
    <br>
    Sean<br>
    <br>
  </body>
</html>

--------------1F9132BB011A2D67955E40BF--


From nobody Sat Jun 11 10:22:43 2016
Return-Path: <andy@yumaworks.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 F214112D0AA for <media-types@ietfa.amsl.com>; Sat, 11 Jun 2016 10:22:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bIDUYLSN6w9P for <media-types@ietfa.amsl.com>; Sat, 11 Jun 2016 10:22:39 -0700 (PDT)
Received: from pechora4.lax.icann.org (pechora4.icann.org [IPv6:2620:0:2d0:201::1:74]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6BC8112B061 for <media-types@ietf.org>; Sat, 11 Jun 2016 10:22:39 -0700 (PDT)
Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) by pechora4.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5BHMIYL026192 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Sat, 11 Jun 2016 17:22:39 GMT
Received: by mail-qg0-x231.google.com with SMTP id p34so50767227qgp.1 for <media-types@iana.org>; Sat, 11 Jun 2016 10:22:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=c4tXsKD3EetHyEPCSVQi6DTTp1bonsBFXrs66QcYfAw=; b=o4Yt4O8hkoEKGtkl+nzmWJZxBc1i8Vc2k/jmcUTLmek3ghAfH3ReKzfG6t7+/vjIxr VBZF+WQLUi6aswb5y0fmR4I8Bhn1YxxY5bN3oM6Fsjr7Cicnd/6iColMsU+TbwVQKf2z E1KWaMpKicJdDZio96L+sENq5wrJcVAwDDbbVEwXPNwShOkmkbH0KQajC6FYUbP9aNtc PpD+WViBplWKMW0xx1xhLb9MHwPH+ka3IsWmyQYHN8mJgRIotTNeT/prOOxaf74sUNib 9uUbxoEb8bOQhKgbi0LmAS8EUXOZMt+6N77m4/RLA0iE0TTpH/P1M5xRWuMXtmzgbs4Y YOcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=c4tXsKD3EetHyEPCSVQi6DTTp1bonsBFXrs66QcYfAw=; b=XwvvQtx9fgXCOK9J9IyqFQpFbJ9EhHNfFYPwfaON7Rln5ZkAXYXbO5xfNSU4hlgEHn nsw9dPM24/Nq1rUGu1Hn6wXJIjkE581bl3yzS6N9qAMgndh8xRc9UALCUKIgEda/d7tt EQBPBFhkADx8o1fAUpOZd5ZhHCwwX1WE4BsIo088i7NXmvVSmvZt1aQvkSSLhSYt6NGO j1YdFiLfx2hf1wTr/3Ma3AI/C8b7OTxXLiLfGrulfkDZviRiU/pVrQ1pFHiO9tZsAQLd djfsAdz66dD9O0t9Tes0aEfcwhSokgAfeDXskjQIxyHNJwphDrj9SPK86Y/zWfCwSAXN USCw==
X-Gm-Message-State: ALyK8tKs+uOAoc9aYczrhSk8eny4DMcmdCMPxgBbcZTkyBLdKj6sH9KNHp6JBG0bHqcLtCVCh6RD3keLlug5pQ==
MIME-Version: 1.0
X-Received: by 10.141.44.69 with SMTP id v66mr2574381qhe.74.1465665738342; Sat, 11 Jun 2016 10:22:18 -0700 (PDT)
Received: by 10.200.56.16 with HTTP; Sat, 11 Jun 2016 10:22:18 -0700 (PDT)
In-Reply-To: <4e3dc596-d61c-a9b8-0b41-e0b4d159596f@seantek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com> <CALcoZipjaLZh2cw65A_GLQ0oPRBM1-HDakgo=qNs32HkrQ=k8w@mail.gmail.com> <CABCOCHTi3UAzX8LKOmVTRE0KG0NdhZawd3mvM2xTjEc5jXG9Ag@mail.gmail.com> <4e3dc596-d61c-a9b8-0b41-e0b4d159596f@seantek.com>
Date: Sat, 11 Jun 2016 10:22:18 -0700
Message-ID: <CABCOCHRdmS_Gmrfsi0985nYSg6KrcMZJ5GtPhCkiPr6XtWf3ag@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Sean Leonard <dev+ietf@seantek.com>
Content-Type: multipart/alternative; boundary=94eb2c0bdc5cb19ca6053503e5f2
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora4.lax.icann.org [IPv6:2620:0:2d0:201::1:74]); Sat, 11 Jun 2016 17:22:39 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/rgD8jat-1ybI38bqC8qf2ULTUm4>
Cc: Benoit Claise <bclaise@cisco.com>, Mark Baker <distobj@acm.org>, Mark Nottingham <mnot@mnot.net>, "media-types@iana.org" <media-types@iana.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jun 2016 17:22:41 -0000

--94eb2c0bdc5cb19ca6053503e5f2
Content-Type: text/plain; charset=UTF-8

On Sat, Jun 11, 2016 at 10:17 AM, Sean Leonard <dev+ietf@seantek.com> wrote:

> On 6/10/2016 11:17 PM, Andy Bierman wrote:
>
>
>
> On Fri, Jun 10, 2016 at 10:19 PM, Mark Baker <distobj@acm.org> wrote:
>
>> On Thu, Jun 9, 2016 at 10:58 PM, Sean Leonard < <dev%2Bietf@seantek.com>
>> dev+ietf@seantek.com> wrote:
>> > On a technical note: is there a compelling reason why the media type
>> has to
>> > be application/yang-patch? The fact that it is a patch is obvious by
>> the use
>> > of the header "Accept-Patch". Why not just say application/yang, or
>> > application/xml, or application/json, as appropriate?
>>
>> For the same reason we deliver HTML as text/html and not text/sgml or
>> text/plain.
>>
>> IMO, these registrations look like they just need a +yang suffix. What
>> they're currently doing is defining subtype facets as peers to vnd,
>> prs, and x, and I can't imagine that was the intent.
>>
>
> YANG is not an encoding format. It is a schema language.
> Instance documents conforming to YANG schema are encoded in XML or JSON.
>
>
> That confirms my suspicion. So, these proposed media type(s) should have
> +xml, +json, or nothing (as structured syntax suffixes are optional, they
> are really intended more as a hint to intermediate decoders such as
> debugging tools). They should not have +yang.
>
>
Yes.  The CORE WG is developing a YANG to CBOR mapping
https://tools.ietf.org/html/draft-ietf-core-yang-cbor-00

So we have +xml and +json now, and soon +cbor

I think the original question was whether our IANA requests were correct or
not.

Sean
>
>
Andy

--94eb2c0bdc5cb19ca6053503e5f2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sat, Jun 11, 2016 at 10:17 AM, Sean Leonard <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:dev+ietf@seantek.com" target=3D"_blank">dev+ietf@seantek.co=
m</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204=
);border-left-style:solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div>On 6/10/2016 11:17 PM, Andy Bierman
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra"><br>
          <div class=3D"gmail_quote">On Fri, Jun 10, 2016 at 10:19 PM,
            Mark Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:distobj@acm.=
org" target=3D"_blank">distobj@acm.org</a>&gt;</span>
            wrote:<br>
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-s=
tyle:solid;padding-left:1ex">On Thu,
              Jun 9, 2016 at 10:58 PM, Sean Leonard &lt;<a href=3D"mailto:d=
ev%2Bietf@seantek.com" target=3D"_blank"></a><a href=3D"mailto:dev+ietf@sea=
ntek.com" target=3D"_blank">dev+ietf@seantek.com</a>&gt;
              wrote:<br>
              &gt; On a technical note: is there a compelling reason why
              the media type has to<br>
              &gt; be application/yang-patch? The fact that it is a
              patch is obvious by the use<br>
              &gt; of the header &quot;Accept-Patch&quot;. Why not just say
              application/yang, or<br>
              &gt; application/xml, or application/json, as appropriate?<br=
>
              <br>
              For the same reason we deliver HTML as text/html and not
              text/sgml or<br>
              text/plain.<br>
              <br>
              IMO, these registrations look like they just need a +yang
              suffix. What<br>
              they&#39;re currently doing is defining subtype facets as
              peers to vnd,<br>
              prs, and x, and I can&#39;t imagine that was the intent.<br>
            </blockquote>
          </div>
          <br>
        </div>
        <div class=3D"gmail_extra">YANG is not an encoding format. It is a
          schema language.</div>
        <div class=3D"gmail_extra">Instance documents conforming to YANG
          schema are encoded in XML or JSON.</div>
      </div>
    </blockquote>
    <br>
    That confirms my suspicion. So, these proposed media type(s) should
    have +xml, +json, or nothing (as structured syntax suffixes are
    optional, they are really intended more as a hint to intermediate
    decoders such as debugging tools). They should not have +yang.<span cla=
ss=3D""><font color=3D"#888888"><br>
    <br></font></span></div></blockquote><div><br></div><div>Yes.=C2=A0 The=
 CORE WG is developing a YANG to CBOR mapping</div><div><a href=3D"https://=
tools.ietf.org/html/draft-ietf-core-yang-cbor-00">https://tools.ietf.org/ht=
ml/draft-ietf-core-yang-cbor-00</a></div><div><br></div><div>So we have +xm=
l and +json now, and soon +cbor</div><div><br></div><div>I think the origin=
al question was whether our IANA requests were correct or not.</div><div><b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style=
:solid;padding-left:1ex"><div bgcolor=3D"#FFFFFF" text=3D"#000000"><span cl=
ass=3D""><font color=3D"#888888">
    Sean<br>
    <br>
  </font></span></div>

</blockquote></div><br></div><div class=3D"gmail_extra">Andy</div><div clas=
s=3D"gmail_extra"><br></div></div>

--94eb2c0bdc5cb19ca6053503e5f2--


From nobody Mon Jun 13 09:34:23 2016
Return-Path: <mark@coactus.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 CFA2112D87E for <media-types@ietfa.amsl.com>; Mon, 13 Jun 2016 09:34:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=coactus-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XVpoFGba-N5S for <media-types@ietfa.amsl.com>; Mon, 13 Jun 2016 09:34:20 -0700 (PDT)
Received: from pechora7.dc.icann.org (pechora7.icann.org [IPv6:2620:0:2830:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74BAF12D1B9 for <media-types@ietf.org>; Mon, 13 Jun 2016 09:34:20 -0700 (PDT)
Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) by pechora7.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5DGXxcn007380 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Mon, 13 Jun 2016 16:34:19 GMT
Received: by mail-vk0-x233.google.com with SMTP id u64so74794918vkf.3 for <media-types@iana.org>; Mon, 13 Jun 2016 09:34:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coactus-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=1xG7OtTZNm6Qf1IKerE/XzTBs8/KRTd4rPxhA0drsPg=; b=vCWDzqFhzDtY05HdGq5qnzY/MdLUSCv+QVAu0+YkSWUjc7TwdCqpo+XhINHOS1V84u +5tiag1e3rHuQJT5OHKdzoQj0GGlAHSlTqAHKoU1847pstqb6R9qTc2UK4HrbDdR/ZB8 NmGFbNLpCL9I1GcLI5D47CO7Wg90JFlFpJXXKPIGxk84R71HNO/6SrWU8lew06z1FHWb ifVahLFb4HOfx2uzCo4XJ2Q8UMPb6a08hv7VHxPvs6T/75uzBdvfiWF3H/9cY5amJhKz b5dNHjzRAM+UFk5TvSuJ7Rw0tQ5GUGH61KI24qVnUr/9Kc3jf3i3slL5Jx9yWjtDoafv 892A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=1xG7OtTZNm6Qf1IKerE/XzTBs8/KRTd4rPxhA0drsPg=; b=PzmWBOkVK+zfjmoH0QH/vjxHEh79VRZIcr5BPrej/zTskWbWv2i+A3wCKMA0tmgZEq IEo0ANkkQDfP/5r1KD+x7f3aEVGWySVRJl+rWMuZJ8oSCNjAp7ZtJ5LZ2PtiUjj2zKQr Qwwq+GDI24RLc5wETZZNBe+IDeXWmQy2QJvf/wX/ePcmz0WOxqJv8EAanC6RdcOFyGmB bDJJZTJI59y42YAIMmHGerwxpCLuKK6gaIXSWC3oqPw86+tBkSBb0FCMgUBJCvT6QMUp LSMwohXrXqOrxjuI7R3pp3c/hbDHlTXRkgspyujYnYQ7Eo9jfPukkNMioFE3bEzi/EaP ctAQ==
X-Gm-Message-State: ALyK8tJqMQ+wdKA5kjiV+YCRwBmwsRUJ+Xx0XTq+eAJWFH2F6/Ot+a3ErWEH98vdpdLhqKwpkYrxalRtoDAHQg==
MIME-Version: 1.0
X-Received: by 10.31.83.130 with SMTP id h124mr4281475vkb.93.1465835639104; Mon, 13 Jun 2016 09:33:59 -0700 (PDT)
Sender: mark@coactus.com
Received: by 10.159.53.70 with HTTP; Mon, 13 Jun 2016 09:33:58 -0700 (PDT)
X-Originating-IP: [199.7.159.62]
Received: by 10.159.53.70 with HTTP; Mon, 13 Jun 2016 09:33:58 -0700 (PDT)
In-Reply-To: <4e3dc596-d61c-a9b8-0b41-e0b4d159596f@seantek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com> <CALcoZipjaLZh2cw65A_GLQ0oPRBM1-HDakgo=qNs32HkrQ=k8w@mail.gmail.com> <CABCOCHTi3UAzX8LKOmVTRE0KG0NdhZawd3mvM2xTjEc5jXG9Ag@mail.gmail.com> <4e3dc596-d61c-a9b8-0b41-e0b4d159596f@seantek.com>
Date: Mon, 13 Jun 2016 12:33:58 -0400
X-Google-Sender-Auth: 2BRyUUrX3LVt5ELCaXzTAa6vn4o
Message-ID: <CALcoZiqzw4B4VBXKrk4O6Q_cUvvzyODTf4pzJYorpX0EpANrfQ@mail.gmail.com>
From: Mark Baker <distobj@acm.org>
To: Sean Leonard <dev+ietf@seantek.com>
Content-Type: multipart/alternative; boundary=001a114e60a491846705352b74b0
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (pechora7.dc.icann.org [IPv6:2620:0:2830:201::1:73]); Mon, 13 Jun 2016 16:34:19 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/VWUI1FlwJQAbNkgMSCtPlKH9jCg>
Cc: Benoit Claise <bclaise@cisco.com>, Mark Nottingham <mnot@mnot.net>, Andy Bierman <andy@yumaworks.com>, media-types@iana.org
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 13 Jun 2016 16:34:22 -0000

--001a114e60a491846705352b74b0
Content-Type: text/plain; charset=UTF-8

On Sat, Jun 11, 2016 at 1:17 PM, Sean Leonard <dev+ietf@seantek.com> wrote:
>> YANG is not an encoding format. It is a schema language.
>> Instance documents conforming to YANG schema are encoded in XML or JSON.
>
>
> That confirms my suspicion. So, these proposed media type(s) should have
> +xml, +json, or nothing (as structured syntax suffixes are optional, they
> are really intended more as a hint to intermediate decoders such as
> debugging tools). They should not have +yang.

Yah, having just spent some quality time with RFC 6090 over the weekend, I
concur.

And to answer mnot's question, yep, the period needs to go.

--001a114e60a491846705352b74b0
Content-Type: text/html; charset=UTF-8

<p dir="ltr">On Sat, Jun 11, 2016 at 1:17 PM, Sean Leonard &lt;<a href="mailto:dev%2Bietf@seantek.com">dev+ietf@seantek.com</a>&gt; wrote:<br>
&gt;&gt; YANG is not an encoding format. It is a schema language.<br>
&gt;&gt; Instance documents conforming to YANG schema are encoded in XML or JSON.<br>
&gt;<br>
&gt;<br>
&gt; That confirms my suspicion. So, these proposed media type(s) should have<br>
&gt; +xml, +json, or nothing (as structured syntax suffixes are optional, they<br>
&gt; are really intended more as a hint to intermediate decoders such as<br>
&gt; debugging tools). They should not have +yang.</p>
<p dir="ltr">Yah, having just spent some quality time with RFC 6090 over the weekend, I concur.</p>
<p dir="ltr">And to answer mnot&#39;s question, yep, the period needs to go.</p>

--001a114e60a491846705352b74b0--


From nobody Mon Jun 13 19:34:58 2016
Return-Path: <dev+ietf@seantek.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 A5F8212D59B for <media-types@ietfa.amsl.com>; Mon, 13 Jun 2016 19:34:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8x3AxwakHxzP for <media-types@ietfa.amsl.com>; Mon, 13 Jun 2016 19:34:55 -0700 (PDT)
Received: from pechora4.lax.icann.org (pechora4.icann.org [IPv6:2620:0:2d0:201::1:74]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 776AC12D0DA for <media-types@ietf.org>; Mon, 13 Jun 2016 19:34:55 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora4.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5E2YYed030526 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Tue, 14 Jun 2016 02:34:55 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 65BF750A73; Mon, 13 Jun 2016 22:34:33 -0400 (EDT)
To: Mark Baker <distobj@acm.org>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com> <CALcoZipjaLZh2cw65A_GLQ0oPRBM1-HDakgo=qNs32HkrQ=k8w@mail.gmail.com> <CABCOCHTi3UAzX8LKOmVTRE0KG0NdhZawd3mvM2xTjEc5jXG9Ag@mail.gmail.com> <4e3dc596-d61c-a9b8-0b41-e0b4d159596f@seantek.com> <CALcoZiqzw4B4VBXKrk4O6Q_cUvvzyODTf4pzJYorpX0EpANrfQ@mail.gmail.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <dd1ab168-5fdd-1194-88b2-bce6f9a71b5d@seantek.com>
Date: Mon, 13 Jun 2016 19:35:03 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <CALcoZiqzw4B4VBXKrk4O6Q_cUvvzyODTf4pzJYorpX0EpANrfQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------849B9F76E692DAEF67618B55"
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora4.lax.icann.org [192.0.33.74]); Tue, 14 Jun 2016 02:34:55 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/l1ek8JQFy1zv2UPGnwiblDarSAQ>
Cc: Benoit Claise <bclaise@cisco.com>, Mark Nottingham <mnot@mnot.net>, Andy Bierman <andy@yumaworks.com>, media-types@iana.org
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 14 Jun 2016 02:34:57 -0000

This is a multi-part message in MIME format.
--------------849B9F76E692DAEF67618B55
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 6/13/2016 9:33 AM, Mark Baker wrote:
>
> On Sat, Jun 11, 2016 at 1:17 PM, Sean Leonard <dev+ietf@seantek.com 
> <mailto:dev%2Bietf@seantek.com>> wrote:
> >> YANG is not an encoding format. It is a schema language.
> >> Instance documents conforming to YANG schema are encoded in XML or 
> JSON.
> >
> >
> > That confirms my suspicion. So, these proposed media type(s) should have
> > +xml, +json, or nothing (as structured syntax suffixes are optional, 
> they
> > are really intended more as a hint to intermediate decoders such as
> > debugging tools). They should not have +yang.
>
> Yah, having just spent some quality time with RFC 6090 over the 
> weekend, I concur.
>
You mean this RFC 6090?


  Fundamental Elliptic Curve Cryptography Algorithms



Not sure if that is the right RFC for the topic...

Sean
>
> And to answer mnot's question, yep, the period needs to go.
>


--------------849B9F76E692DAEF67618B55
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 6/13/2016 9:33 AM, Mark Baker wrote:<br>
    </div>
    <blockquote
cite="mid:CALcoZiqzw4B4VBXKrk4O6Q_cUvvzyODTf4pzJYorpX0EpANrfQ@mail.gmail.com"
      type="cite">
      <p dir="ltr">On Sat, Jun 11, 2016 at 1:17 PM, Sean Leonard &lt;<a
          moz-do-not-send="true" href="mailto:dev%2Bietf@seantek.com"><a class="moz-txt-link-abbreviated" href="mailto:dev+ietf@seantek.com">dev+ietf@seantek.com</a></a>&gt;
        wrote:<br>
        &gt;&gt; YANG is not an encoding format. It is a schema
        language.<br>
        &gt;&gt; Instance documents conforming to YANG schema are
        encoded in XML or JSON.<br>
        &gt;<br>
        &gt;<br>
        &gt; That confirms my suspicion. So, these proposed media
        type(s) should have<br>
        &gt; +xml, +json, or nothing (as structured syntax suffixes are
        optional, they<br>
        &gt; are really intended more as a hint to intermediate decoders
        such as<br>
        &gt; debugging tools). They should not have +yang.</p>
      <p dir="ltr">Yah, having just spent some quality time with RFC
        6090 over the weekend, I concur.</p>
    </blockquote>
    You mean this RFC 6090?<br>
    <br>
    <pre style="font-size: 13.3333px; margin-top: 0px; margin-bottom: 0px; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class="h1" style="line-height: 0pt; display: inline; white-space: pre; font-family: monospace; font-size: 1em; font-weight: bold;"><h1 style="line-height: 0pt; display: inline; white-space: pre; font-family: monospace; font-size: 1em; font-weight: bold;">Fundamental Elliptic Curve Cryptography Algorithms</h1></span></pre>
    <br>
    <br>
    Not sure if that is the right RFC for the topic...<br>
    <br>
    Sean<br>
    <blockquote
cite="mid:CALcoZiqzw4B4VBXKrk4O6Q_cUvvzyODTf4pzJYorpX0EpANrfQ@mail.gmail.com"
      type="cite">
      <p dir="ltr">And to answer mnot's question, yep, the period needs
        to go.</p>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------849B9F76E692DAEF67618B55--


From nobody Mon Jun 13 20:51:26 2016
Return-Path: <mark@coactus.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 8024212D777 for <media-types@ietfa.amsl.com>; Mon, 13 Jun 2016 20:51:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=coactus-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ytUys7XAlDzc for <media-types@ietfa.amsl.com>; Mon, 13 Jun 2016 20:51:24 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5EEA712D771 for <media-types@ietf.org>; Mon, 13 Jun 2016 20:51:24 -0700 (PDT)
Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5E3p3uk015798 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Tue, 14 Jun 2016 03:51:24 GMT
Received: by mail-vk0-x22b.google.com with SMTP id t129so77279320vka.1 for <media-types@iana.org>; Mon, 13 Jun 2016 20:51:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coactus-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=JfL1vpiTNlOYYOe0pES4vOoADfV5q00lFkT5KUEgpPU=; b=CNhjzeYL9/NKUiHcefH0tYs4kS4FH4vz9j3aXReiAI18rPwjEMvHmxafy6UfOx1HTB X93Y4u7IQ5cuvj+OrlbzoxvIDFXSui+sbWmddiWVWqsWu4ymkRJmmJ3UXTTHRV4oOKrs mOI5OZtZKLnherji4RJQpOmLhAu/dQLYgBMgu1ic/Rw0D2MvIWTlMa/y9RwnkD5q76Zn hLIfTb0bu5QwoX7aIiFh1SRqwFVLu3iTEBbDZGS1WQ6HOvyn1DJYAhRqUBDkeJlAuVnC 9qIjLL+rLolHa0a31dhGXGfBczmBQqcYloCDhSwsEFHQtsAYjF8k668ONW7eubTnb0lu /6yA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=JfL1vpiTNlOYYOe0pES4vOoADfV5q00lFkT5KUEgpPU=; b=W20JOoVAnFeakqZysrHMvNtfxB13MQlzbvu/S9hnI3E5aqo1+wv396tJFX/A9+rpXr k/fHOC5FdeGP5feESQ2/82JNxFjR8F4B4CspCG3GxU6PhOWvfX6qE/GWmH9uLpK7hQ3M I1bdTIqESUaHic6cs7MM0C/JJTr618gPJYqGf3pI8jLKBJWhv5bs0DKepDrkexUhIZU5 mQBDIltF9YmXNeFjq4a0gWye6Qi/yCy+onH0X9Knph44wn5wRAZoOJ0fJYMvc5Gxid+A ljHXh94ECEBbIhvgVDdIZNM7UfZ7/+q2Alw/POH3fPjhAEtolvaNjlQJrA4gpEvNU54D i81A==
X-Gm-Message-State: ALyK8tKG6KQ2CiTBaUDWtFkf96zR9x+G9OIAA+EkK9ycfp/WKs3tBwg0J+Xg4gZd6RPz3NUMgBKUH3PdgAt76g==
X-Received: by 10.31.142.202 with SMTP id q193mr8083151vkd.37.1465876263135; Mon, 13 Jun 2016 20:51:03 -0700 (PDT)
MIME-Version: 1.0
Sender: mark@coactus.com
Received: by 10.159.53.70 with HTTP; Mon, 13 Jun 2016 20:51:02 -0700 (PDT)
X-Originating-IP: [23.233.58.109]
In-Reply-To: <dd1ab168-5fdd-1194-88b2-bce6f9a71b5d@seantek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <93c917a1-f67e-a44e-31b3-2e95d4b45f4e@seantek.com> <CALcoZipjaLZh2cw65A_GLQ0oPRBM1-HDakgo=qNs32HkrQ=k8w@mail.gmail.com> <CABCOCHTi3UAzX8LKOmVTRE0KG0NdhZawd3mvM2xTjEc5jXG9Ag@mail.gmail.com> <4e3dc596-d61c-a9b8-0b41-e0b4d159596f@seantek.com> <CALcoZiqzw4B4VBXKrk4O6Q_cUvvzyODTf4pzJYorpX0EpANrfQ@mail.gmail.com> <dd1ab168-5fdd-1194-88b2-bce6f9a71b5d@seantek.com>
From: Mark Baker <distobj@acm.org>
Date: Mon, 13 Jun 2016 23:51:02 -0400
X-Google-Sender-Auth: bpuGIb5t9HcwX9IXZs7yzX4ysU8
Message-ID: <CALcoZiq+KTgf2HuBouZvcSb6wVXdyVGhOgGunp3uTfTkSCOQ1A@mail.gmail.com>
To: Sean Leonard <dev+ietf@seantek.com>
Content-Type: text/plain; charset=UTF-8
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [IPv6:2620:0:2d0:201::1:73]); Tue, 14 Jun 2016 03:51:24 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/BFlODCYJ8pa4kyKSXC1OfxKzn2U>
Cc: Benoit Claise <bclaise@cisco.com>, Mark Nottingham <mnot@mnot.net>, Andy Bierman <andy@yumaworks.com>, media-types@iana.org
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 14 Jun 2016 03:51:25 -0000

> You mean this RFC 6090?

Obviously not. I meant 6020.


From nobody Tue Jun 14 10:27:04 2016
Return-Path: <andy@yumaworks.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 37E8C12D878 for <media-types@ietfa.amsl.com>; Tue, 14 Jun 2016 10:27:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ZcD3a1mD4qt for <media-types@ietfa.amsl.com>; Tue, 14 Jun 2016 10:27:00 -0700 (PDT)
Received: from pechora7.dc.icann.org (pechora7.icann.org [IPv6:2620:0:2830:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2012D12D875 for <media-types@ietf.org>; Tue, 14 Jun 2016 10:27:00 -0700 (PDT)
Received: from mail-qg0-x232.google.com (mail-qg0-x232.google.com [IPv6:2607:f8b0:400d:c04::232]) by pechora7.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5EHQdGi026063 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Tue, 14 Jun 2016 17:26:59 GMT
Received: by mail-qg0-x232.google.com with SMTP id l44so87935397qgd.0 for <media-types@iana.org>; Tue, 14 Jun 2016 10:26:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=oWVhCwNv2q9Ht/Mm32Od+j2MussSOiljsLUf2hxbm1I=; b=E+NWCCvcOmjGaeC82FTSqpRV7pjhRKi4QOecNcjCD/k8IbrnW6QRGhYjSNpyuGPWZH XGvOHMEOQdWyomEqYKWgVmmYXw85UGd4kfAXRreRLJKNetVWrdPwsg6rIlmvkbqfw/8E CDVQqMlwmpggauMTzyMp5uN4WYoZq5yDNCUD7hUq+xlL0wBXuWXyHT9byKINpaT/km4E jmE45TK+RRfw7cn3il4SX6p2qYoSPiUt5boSraLH2wtkNlRhnAvoiIu5xhybBTS/t78S haFLPpI6tcFULAttHsn5sq8/oLByB34s99weNAmP9zjgG/MRmkhF1+7fBi5jxZdBB2v2 OPnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=oWVhCwNv2q9Ht/Mm32Od+j2MussSOiljsLUf2hxbm1I=; b=NUkZvBJCh4DQW+y37uke/JHj9ogGGjx6Ob9xbWjgSKAW1PTSMP5bZw/tXPBx6s1FT8 2V7r6hkYb38q/Bt3R2DO5Be/t+teoICAVDEpT63v33ASOvEnNAp8ITS4TWTAO6apUefr t8w+S3IlDOS4lvX/7OK0G5UpllzPexW4GXGRpWoxeK3NSSWU8tg+SMyzIhF0qaMVD+lu +JC9V6Am2JyR9Ma2L7pc0tqnL5KgQVB6GA+Pl/FXy5NO61eZndtPs8Ek9EMrbuMOQrWa y+MBAm7c3YNEeKQLvN/tjyICFetpt3pbyN+hGNh8hGq+NHRHKfWE2uXRQ/JX9x9TqQWw RSNw==
X-Gm-Message-State: ALyK8tKKlOPi1OQGkN67/YkFQiY0bHaw4eAWbovNdjdKCsV8sLXtpgnSLkdoxqPwi5yUcRCh264hJmSmwbtYfw==
MIME-Version: 1.0
X-Received: by 10.140.105.162 with SMTP id c31mr10482275qgf.100.1465925199008;  Tue, 14 Jun 2016 10:26:39 -0700 (PDT)
Received: by 10.200.56.16 with HTTP; Tue, 14 Jun 2016 10:26:38 -0700 (PDT)
In-Reply-To: <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net>
Date: Tue, 14 Jun 2016 10:26:38 -0700
Message-ID: <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=001a113a980ec130a40535404edf
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (pechora7.dc.icann.org [IPv6:2620:0:2830:201::1:73]); Tue, 14 Jun 2016 17:26:59 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/_aBW2QdXcPn7cBABnVDhPwatALo>
Cc: Benoit Claise <bclaise@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, "media-types@iana.org" <media-types@iana.org>, Sean Leonard <dev+ietf@seantek.com>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 14 Jun 2016 17:27:02 -0000

--001a113a980ec130a40535404edf
Content-Type: text/plain; charset=UTF-8

On Thu, Jun 9, 2016 at 7:34 PM, Mark Nottingham <mnot@mnot.net> wrote:

>
> > On 10 Jun 2016, at 12:15 PM, Sean Leonard <dev+ietf@seantek.com> wrote:
> >
> > When it comes to Internet media types, "subtype" refers to everything
> after the "/" and "type" refers to everything prior to the "/".
> >
> > The field "Subtype name" is a field in the media type registration
> template--its usage in those drafts is correct.
>
> Even:
>
> """
> The parent MIME media type for RESTCONF resources is application/yang,
> which is defined in [RFC6020].  This document defines the following
> sub-types for this media type.
> """
>
> ? That seems to read as if "application/foo.bar" is a subtype of
> "application/foo".
>
>

I can see from RFC 6838, 4.2 that we named all of our media types
incorrectly.

The media type application/yang just refers to UTF-8 text that represents a
YANG
module or submodule. It is expected to conform to the YANG syntax.

https://tools.ietf.org/html/rfc6020#section-14.1

We are incorrectly using this as a tree root for adding subtypes.

We want to create media types that conform to a particular YANG schema.
We defined a YANG extension hack to define YANG data structures for a media
type
https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8
(see restconf-media-type)

Our IANA section for Media Sub Types is wrong

https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3

It appears we have to make a Media Type registration similar to RFC 6020
14.1
for each of (what we call) the sub-types.

     application/yang-api
     application/yang-data
     application/yang-datastore
     application/yang-errors
     application/yang-operation
     application/yang-stream

     application/yang-patch
     application/yang-patch-status


Andy



> >
> > When referring to the construct as a whole, the term "media type" is
> generally used, not "media subtype" or "subtype". However, I suppose that
> "subtype" would be technically correct (although not preferred) because
> application/xml (for example) is actually a subtype of application.
> Stylistically it should be called the media type application/xml, etc.
> >
> > They should be called application/yang-api, application/yang-patch,
> application/yang-patch-status, etc.
> >
> > I am assuming that YANG is referring specifically to the language (akin
> to saying "C++" or "JavaScript"), and not referring specifically to the
> structured syntax (akin to saying "JSON"). If YANG is referring
> specifically to a structured syntax, then the media types should end in
> +yang. My knowledge of YANG is not deep enough to opine further on this
> point.
> >
> > Regards,
> >
> > Sean
> >
> > On 6/9/2016 4:45 PM, Mark Nottingham wrote:
> >> YANG is attempting to register a number of media types that begin with
> "application/yang."; see:
> >>
> https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2
> >>
> https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
> >>
> >> E.g., it calls "application/yang.api" a "subtype" of "application/yang".
> >>
> >> I read RFC6838 to prohibit this, because the portion of a subtype
> preceded by the first "." indicates the registration tree in a facet, and
> faceted media types are prohibited from being registered in the standards
> tree (unless they're grandfathered in in Appendix A). Furthermore, the
> drafts' use of "subtype" is erroneous.
> >>
> >> Is that understanding correct? If so, should they be using different
> media types, or is there some other way to accommodate what they want?
> >>
> >> Cheers,
> >>
> >>
> >> --
> >> Mark Nottingham   https://www.mnot.net/
> >>
> >> _______________________________________________
> >> media-types mailing list
> >> media-types@ietf.org
> >> https://www.ietf.org/mailman/listinfo/media-types
> >
> >
> >
> > _______________________________________________
> > media-types mailing list
> > media-types@ietf.org
> > https://www.ietf.org/mailman/listinfo/media-types
>
> --
> Mark Nottingham   https://www.mnot.net/
>
>

--001a113a980ec130a40535404edf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Jun 9, 2016 at 7:34 PM, Mark Nottingham <span dir=3D"ltr">&lt;<=
a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</sp=
an> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><br>
&gt; On 10 Jun 2016, at 12:15 PM, Sean Leonard &lt;<a href=3D"mailto:dev%2B=
ietf@seantek.com">dev+ietf@seantek.com</a>&gt; wrote:<br>
&gt;<br>
&gt; When it comes to Internet media types, &quot;subtype&quot; refers to e=
verything after the &quot;/&quot; and &quot;type&quot; refers to everything=
 prior to the &quot;/&quot;.<br>
&gt;<br>
&gt; The field &quot;Subtype name&quot; is a field in the media type regist=
ration template--its usage in those drafts is correct.<br>
<br>
Even:<br>
<br>
&quot;&quot;&quot;<br>
The parent MIME media type for RESTCONF resources is application/yang, whic=
h is defined in [RFC6020].=C2=A0 This document defines the following sub-ty=
pes for this media type.<br>
&quot;&quot;&quot;<br>
<br>
? That seems to read as if &quot;application/foo.bar&quot; is a subtype of =
&quot;application/foo&quot;.<br>
<br></blockquote><div><br></div><div><br></div><div>I can see from RFC 6838=
, 4.2 that we named all of our media types incorrectly.</div><div><br></div=
><div>The media type application/yang just refers to UTF-8 text that repres=
ents a YANG</div><div>module or submodule. It is expected to conform to the=
 YANG syntax.</div><div><br></div><div><a href=3D"https://tools.ietf.org/ht=
ml/rfc6020#section-14.1">https://tools.ietf.org/html/rfc6020#section-14.1</=
a><br></div><div><br></div><div>We are incorrectly using this as a tree roo=
t for adding subtypes.</div><div><br></div><div>We want to create media typ=
es that conform to a particular YANG schema.</div><div>We defined a YANG ex=
tension hack to define YANG data structures for a media type</div><div><a h=
ref=3D"https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8=
">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8</a><=
br></div><div>(see restconf-media-type)</div><div><br></div><div>Our IANA s=
ection for Media Sub Types is wrong</div><div><br></div><div><a href=3D"htt=
ps://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3">https=
://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3</a><br><=
/div><div><br></div><div>It appears we have to make a Media Type registrati=
on similar to RFC 6020 14.1</div><div>for each of (what we call) the sub-ty=
pes.</div><div><br></div><div>=C2=A0 =C2=A0 =C2=A0application/yang-api</div=
><div>=C2=A0 =C2=A0 =C2=A0application/yang-data</div><div>=C2=A0 =C2=A0 =C2=
=A0application/yang-datastore<br></div><div>=C2=A0 =C2=A0 =C2=A0application=
/yang-errors</div><div>=C2=A0 =C2=A0 =C2=A0application/yang-operation</div>=
<div>=C2=A0 =C2=A0 =C2=A0application/yang-stream</div><div><br></div><div>=
=C2=A0 =C2=A0 =C2=A0application/yang-patch</div><div>=C2=A0 =C2=A0 =C2=A0ap=
plication/yang-patch-status</div><div><br></div><div><br></div><div>Andy</d=
iv><div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,2=
04,204);border-left-style:solid;padding-left:1ex">
<br>
&gt;<br>
&gt; When referring to the construct as a whole, the term &quot;media type&=
quot; is generally used, not &quot;media subtype&quot; or &quot;subtype&quo=
t;. However, I suppose that &quot;subtype&quot; would be technically correc=
t (although not preferred) because application/xml (for example) is actuall=
y a subtype of application. Stylistically it should be called the media typ=
e application/xml, etc.<br>
&gt;<br>
&gt; They should be called application/yang-api, application/yang-patch, ap=
plication/yang-patch-status, etc.<br>
&gt;<br>
&gt; I am assuming that YANG is referring specifically to the language (aki=
n to saying &quot;C++&quot; or &quot;JavaScript&quot;), and not referring s=
pecifically to the structured syntax (akin to saying &quot;JSON&quot;). If =
YANG is referring specifically to a structured syntax, then the media types=
 should end in +yang. My knowledge of YANG is not deep enough to opine furt=
her on this point.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Sean<br>
&gt;<br>
&gt; On 6/9/2016 4:45 PM, Mark Nottingham wrote:<br>
&gt;&gt; YANG is attempting to register a number of media types that begin =
with &quot;application/yang.&quot;; see:<br>
&gt;&gt;=C2=A0 =C2=A0<a href=3D"https://tools.ietf.org/html/draft-ietf-netc=
onf-yang-patch-08#section-4.2" rel=3D"noreferrer" target=3D"_blank">https:/=
/tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2</a><br>
&gt;&gt;=C2=A0 =C2=A0<a href=3D"https://tools.ietf.org/html/draft-ietf-netc=
onf-restconf-13#section-11.3" rel=3D"noreferrer" target=3D"_blank">https://=
tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3</a><br>
&gt;&gt;<br>
&gt;&gt; E.g., it calls &quot;application/yang.api&quot; a &quot;subtype&qu=
ot; of &quot;application/yang&quot;.<br>
&gt;&gt;<br>
&gt;&gt; I read RFC6838 to prohibit this, because the portion of a subtype =
preceded by the first &quot;.&quot; indicates the registration tree in a fa=
cet, and faceted media types are prohibited from being registered in the st=
andards tree (unless they&#39;re grandfathered in in Appendix A). Furthermo=
re, the drafts&#39; use of &quot;subtype&quot; is erroneous.<br>
&gt;&gt;<br>
&gt;&gt; Is that understanding correct? If so, should they be using differe=
nt media types, or is there some other way to accommodate what they want?<b=
r>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Mark Nottingham=C2=A0 =C2=A0<a href=3D"https://www.mnot.net/" rel=
=3D"noreferrer" target=3D"_blank">https://www.mnot.net/</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; media-types mailing list<br>
&gt;&gt; <a href=3D"mailto:media-types@ietf.org">media-types@ietf.org</a><b=
r>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/media-types" rel=
=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/med=
ia-types</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; media-types mailing list<br>
&gt; <a href=3D"mailto:media-types@ietf.org">media-types@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/media-types" rel=3D"n=
oreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/media-ty=
pes</a><br>
<br>
--<br>
Mark Nottingham=C2=A0 =C2=A0<a href=3D"https://www.mnot.net/" rel=3D"norefe=
rrer" target=3D"_blank">https://www.mnot.net/</a><br>
<br>
</blockquote></div><br></div></div>

--001a113a980ec130a40535404edf--


From nobody Thu Jun 16 07:37:50 2016
Return-Path: <plh@w3.org>
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 A473912B02A for <media-types@ietfa.amsl.com>; Thu, 16 Jun 2016 07:37:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OFKdvChr77OQ for <media-types@ietfa.amsl.com>; Thu, 16 Jun 2016 07:37:47 -0700 (PDT)
Received: from pechora4.lax.icann.org (pechora4.icann.org [IPv6:2620:0:2d0:201::1:74]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9496A12D1A1 for <media-types@ietf.org>; Thu, 16 Jun 2016 07:37:47 -0700 (PDT)
Received: from raoul.w3.org (raoul.w3.org [IPv6:2001:470:8b2d:804:52:12:128:0]) by pechora4.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5GEbQet015201 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Thu, 16 Jun 2016 14:37:47 GMT
Received: from 30-9-162.wireless.csail.mit.edu ([128.30.9.162]) by raoul.w3.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <plh@w3.org>) id 1bDY5U-0002D4-0b; Thu, 16 Jun 2016 14:16:04 +0000
To: media-types@iana.org
From: Philippe Le Hegaret <plh@w3.org>
Message-ID: <5762B4A3.8080408@w3.org>
Date: Thu, 16 Jun 2016 10:16:03 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Delayed for 00:21:20 by milter-greylist-4.0 (pechora4.lax.icann.org [IPv6:2620:0:2d0:201::1:74]); Thu, 16 Jun 2016 14:37:47 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/zt2uDWEn4S1yvrAACD0C5Y2M6zQ>
Cc: Timed Text Working Group <public-tt@w3.org>, 'Michael Dolan' <mike@dolan.tv>
Subject: [media-types] Update to media type "application/ttml+xml"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 16 Jun 2016 14:37:49 -0000

The W3C Timed Text Working Group would like to update the media type 
"application/ttml+xml" as follows. Comments are welcome.

It updates the media type, "application/ttml+xml" to add a new 
parameter, codecs. All other provisions of the media type specification 
remain the same. This supercedes the initial registration information in 
TTML 1.0 Second Edition.

Text copied below but see also the original text at:
  https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype

[[

Type name:

     application
Subtype name:

     ttml+xml
Required parameters:

     None.
Optional parameters:

     charset

         If specified, the charset parameter must match the XML encoding 
declaration, or if absent, the actual encoding. See also Encoding 
Considerations below.
     profile

         The document profile of a TTMLDocument Instance may be 
specified using an optional profile parameter, which, if specified, the 
value of which must adhere to the syntax and semantics of ttp:profile 
parameter defined by TTML 1.0 Second Edition, Section 6.2.8 ttp:profile 
of the published specification.

     codecs

         The optional codecs parameter provides a short form version of 
the profile parameter with multiple-profile combinatorial capability. If 
a short (4-character) form of a profile is registered in the TTML 
Profile Registry, it is recommended that this codecs parameter be used 
and not the profile parameter. The nominal value of this parameter is a 
single 4 character code from the registry.

         Additionally, applications using the entries in the registry 
are encouraged to adopt the following combination syntax:

         Employ two combination operators, '+' (AND) and '|' (OR), which 
may be used to specify, respectively, that multiple processor profiles 
apply (simultaneously) or that any processor profile of a list of 
profiles may apply individually. If both operators are used in a codecs 
value, then the '+' operator has precedence.

         The example: "A+B|C+D|E" states that a TTML processor that 
implements any one of A+B or C+D or E processor profiles satisfies, at 
first order, the requirements to fetch and begin decode/processing of a 
TTML document, where X+Y means that both X and Y processor profiles must 
be supported, and X|Y means that either X or Y processor profile must be 
supported.

         For more information about processor profile combination, see 
TTML2 Profile Combination.

Encoding considerations:

     Same for application/xml, except constrained to either UTF-8 or 
UTF-16. See IETF RFC 3023, XML Media Types, Section 3.2. For the purpose 
of filling out the IANA Application for Media Type 
(http://www.iana.org/cgi-bin/mediatypes.pl), the value binary applies.
Security considerations:

     As with other XML types and as noted in IETF RFC 3023, XML Media 
Types, Section 10, repeated expansion of maliciously constructed XML 
entities can be used to consume large amounts of memory, which may cause 
XML processors in constrained environments to fail.

     In addition, because of the extensibility features for TTML and of 
XML in general, it is possible that "application/ttml+xml" may describe 
content that has security implications beyond those described here. 
However, TTML does not provide for any sort of active or executable 
content, and if the processor follows only the normative semantics of 
the published specification, this content will be outside TTML 
namespaces and may be ignored. Only in the case where the processor 
recognizes and processes the additional content, or where further 
processing of that content is dispatched to other processors, would 
security issues potentially arise. And in that case, they would fall 
outside the domain of this registration document.

     Although not prohibited, there are no expectations that XML 
signatures or encryption would normally be employed.
Interoperability considerations:

     The published specification describes processing semantics that 
dictate behavior that must be followed when dealing with, among other 
things, unrecognized elements and attributes, both in TTML namespaces 
and in other namespaces.

     Because TTML is extensible, conformant "application/ttml+xml" 
processors may expect (and enforce) that content received is well-formed 
XML, but it cannot be guaranteed that the content is valid to a 
particular DTD or Schema or that the processor will recognize all of the 
elements and attributes in the document.
Published specification:

     This media type registration is extracted from the TTML Profile 
Registry.
Applications that use this media type:

     TTML is used in the television industry for the purpose of 
authoring, transcoding and exchanging timed text information and for 
delivering captions, subtitles, and other metadata for television 
material repurposed for the Web or, more generally, the Internet.

     There is partial and full support of TTML in components used by 
several Web browsers plugins, and in a number of caption authoring tools.
Additional information:

     Magic number(s):
     File extension(s):

         .ttml
     Macintosh file type code(s):

         "TTML"
     Fragment identifiers:

         For documents labeled as application/ttml+xml, the fragment 
identifier notation is intended to be used with xml:id attributes, as 
described in section 7.2.1 of the Timed Text Markup Language 1 (TTML1) 
specification.

Person & email address to contact for further information:

     Timed Text Working Group (public-tt@w3.org)
Intended usage:

     COMMON
Restrictions on usage:

     None
Author:

     The published specification is a work product of the World Wide Web 
Consortium's Timed Text (TT) Working Group.
Change controller:

     The W3C has change control over this specification.
]]
https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype

Thank you,

Philippe


From nobody Thu Jun 16 13:08:02 2016
Return-Path: <eric@w3.org>
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 7077512D73F for <media-types@ietfa.amsl.com>; Thu, 16 Jun 2016 13:08:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ajroxMy_oLcD for <media-types@ietfa.amsl.com>; Thu, 16 Jun 2016 13:07:58 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D92EE12DB1A for <media-types@ietf.org>; Thu, 16 Jun 2016 13:07:57 -0700 (PDT)
Received: from raoul.w3.org (raoul.w3.org [IPv6:2001:470:8b2d:804:52:12:128:0]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5GK7Zue007340 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Thu, 16 Jun 2016 20:07:57 GMT
Received: from aclermont-ferrand-654-1-533-1.w90-4.abo.wanadoo.fr ([90.4.249.1] helo=w3.org) by raoul.w3.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <eric@w3.org>) id 1bDdZd-000Gcg-I1; Thu, 16 Jun 2016 20:07:33 +0000
Date: Thu, 16 Jun 2016 16:07:26 -0400
From: "Eric Prud'hommeaux" <eric@w3.org>
To: "'Michael Dolan'" <mike@dolan.tv>
Message-ID: <20160616200724.GC23703@w3.org>
References: <5762B4A3.8080408@w3.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5762B4A3.8080408@w3.org>
Organization: World Wide Web Consortium (W3C) - http://www.w3.org/
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [IPv6:2620:0:2d0:201::1:71]); Thu, 16 Jun 2016 20:07:57 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/E6D9goBOOYtWwGuz4Tf3AsKQGkw>
Cc: Philippe Le Hegaret <plh@w3.org>, Timed Text Working Group <public-tt@w3.org>, media-types@iana.org
Subject: Re: [media-types] Update to media type "application/ttml+xml"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 16 Jun 2016 20:08:00 -0000

* Philippe Le Hegaret <plh@w3.org> [2016-06-16 10:16-0400]
> The W3C Timed Text Working Group would like to update the media type
> "application/ttml+xml" as follows. Comments are welcome.
> 
> It updates the media type, "application/ttml+xml" to add a new parameter,
> codecs. All other provisions of the media type specification remain the
> same. This supercedes the initial registration information in TTML 1.0
> Second Edition.
> 
> Text copied below but see also the original text at:
>  https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype
> 
> [[
> 
> Type name:
> 
>     application
> Subtype name:
> 
>     ttml+xml
> Required parameters:
> 
>     None.
> Optional parameters:
> 
>     charset
> 
>         If specified, the charset parameter must match the XML encoding
> declaration, or if absent, the actual encoding. See also Encoding
> Considerations below.
>     profile
> 
>         The document profile of a TTMLDocument Instance may be specified
> using an optional profile parameter, which, if specified, the value of which
> must adhere to the syntax and semantics of ttp:profile parameter defined by
> TTML 1.0 Second Edition, Section 6.2.8 ttp:profile of the published
> specification.
> 
>     codecs
> 
>         The optional codecs parameter provides a short form version of the
> profile parameter with multiple-profile combinatorial capability. If a short
> (4-character) form of a profile is registered in the TTML Profile Registry,
> it is recommended that this codecs parameter be used and not the profile
> parameter. The nominal value of this parameter is a single 4 character code
> from the registry.
> 
>         Additionally, applications using the entries in the registry are
> encouraged to adopt the following combination syntax:
> 
>         Employ two combination operators, '+' (AND) and '|' (OR), which may
> be used to specify, respectively, that multiple processor profiles apply
> (simultaneously) or that any processor profile of a list of profiles may
> apply individually. If both operators are used in a codecs value, then the
> '+' operator has precedence.
> 
>         The example: "A+B|C+D|E" states that a TTML processor that
> implements any one of A+B or C+D or E processor profiles satisfies, at first
> order, the requirements to fetch and begin decode/processing of a TTML

PLH indicated that "at first order" is something like an initial claim
about the embedded codecs. Is it the intention that there be some sort
of recovery if that initial claim is incorrect? What should the
processor do if the advertised codec is ogg and the actual codec is
xvid? If you strike "at first order", I think you could avoid having
to define the behavior in the event of invalid parameters.


> document, where X+Y means that both X and Y processor profiles must be
> supported, and X|Y means that either X or Y processor profile must be
> supported.
> 
>         For more information about processor profile combination, see TTML2
> Profile Combination.

  "TTML2 Profile Comination" has no URL in the reg. The hyptertext version links to
    https://www.w3.org/TR/ttml2/#profile-attribute-processorProfileCombination
  propose instead link to
    https://www.w3.org/TR/ttml2/#processor-profile-combination-table
  and embedding that link in ()s in the text.


> Encoding considerations:
> 
>     Same for application/xml, except constrained to either UTF-8 or UTF-16.
> See IETF RFC 3023, XML Media Types, Section 3.2. For the purpose of filling
> out the IANA Application for Media Type
> (http://www.iana.org/cgi-bin/mediatypes.pl), the value binary applies.
> Security considerations:
> 
>     As with other XML types and as noted in IETF RFC 3023, XML Media Types,
> Section 10, repeated expansion of maliciously constructed XML entities can
> be used to consume large amounts of memory, which may cause XML processors
> in constrained environments to fail.
> 
>     In addition, because of the extensibility features for TTML and of XML
> in general, it is possible that "application/ttml+xml" may describe content
> that has security implications beyond those described here. However, TTML
> does not provide for any sort of active or executable content, and if the
> processor follows only the normative semantics of the published
> specification, this content will be outside TTML namespaces and may be
> ignored. Only in the case where the processor recognizes and processes the
> additional content, or where further processing of that content is
> dispatched to other processors, would security issues potentially arise. And
> in that case, they would fall outside the domain of this registration
> document.
> 
>     Although not prohibited, there are no expectations that XML signatures
> or encryption would normally be employed.
> Interoperability considerations:
> 
>     The published specification describes processing semantics that dictate
> behavior that must be followed when dealing with, among other things,
> unrecognized elements and attributes, both in TTML namespaces and in other
> namespaces.
> 
>     Because TTML is extensible, conformant "application/ttml+xml" processors
> may expect (and enforce) that content received is well-formed XML, but it
> cannot be guaranteed that the content is valid to a particular DTD or Schema
> or that the processor will recognize all of the elements and attributes in
> the document.
> Published specification:
> 
>     This media type registration is extracted from the TTML Profile
> Registry.
> Applications that use this media type:
> 
>     TTML is used in the television industry for the purpose of authoring,
> transcoding and exchanging timed text information and for delivering
> captions, subtitles, and other metadata for television material repurposed
> for the Web or, more generally, the Internet.
> 
>     There is partial and full support of TTML in components used by several
> Web browsers plugins, and in a number of caption authoring tools.
> Additional information:
> 
>     Magic number(s):
>     File extension(s):
> 
>         .ttml
>     Macintosh file type code(s):
> 
>         "TTML"
>     Fragment identifiers:
> 
>         For documents labeled as application/ttml+xml, the fragment
> identifier notation is intended to be used with xml:id attributes, as
> described in section 7.2.1 of the Timed Text Markup Language 1 (TTML1)
> specification.
> 
> Person & email address to contact for further information:
> 
>     Timed Text Working Group (public-tt@w3.org)
> Intended usage:
> 
>     COMMON
> Restrictions on usage:
> 
>     None
> Author:
> 
>     The published specification is a work product of the World Wide Web
> Consortium's Timed Text (TT) Working Group.
> Change controller:
> 
>     The W3C has change control over this specification.
> ]]
> https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype
> 
> Thank you,
> 
> Philippe
> 
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types

-- 
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

There are subtle nuances encoded in font variation and clever layout
which can only be seen by printing this message on high-clay paper.


From nobody Fri Jun 17 00:54:10 2016
Return-Path: <bclaise@cisco.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 D941D12D1B9 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 00:54:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.2
X-Spam-Level: 
X-Spam-Status: No, score=-10.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hawI9h8EAe5z for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 00:54:08 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DF39412B053 for <media-types@ietf.org>; Fri, 17 Jun 2016 00:54:07 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5H7rjH9008101 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Fri, 17 Jun 2016 07:54:07 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=15277; q=dns/txt; s=iport; t=1466150047; x=1467359647; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to; bh=ncL8i+yJp/gUK0JRlnAouDqnOk0qO0I1lPY0lMk86V8=; b=hiAuEgxnIIbfB2saqph9M+v5oK5V7mMwIBZlN1XxIBTWDAAoBPIATLQk zcmmBK7EaDozgYIxSON8oZM6JyMsOgf7dh8XItp7G2kpLFPB+jN2T4MqF mD92Eu1j65gCPzzHxVLAAbrmKaOvBvfkZVXJ1tMOyo2b/sbvZk8AbQy4n 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ATAwD6p2NX/xbLJq1dhBQrUrVehQGBe?= =?us-ascii?q?hcBDIVzAoFjFAEBAQEBAQFlJ4RLAQEBAwEBAQEgSwsFCwsYJwMCAicfEQYBDAY?= =?us-ascii?q?CAQEQiBQIDq99kFYBAQEBAQEBAQEBAQEBAQEBAQEBAQEchieBd4JWhBIRAYMdg?= =?us-ascii?q?loFjXSKfYYFiCSBaYdcI4U6j3UeNoNyOjIBiEWBNQEBAQ?=
X-IronPort-AV: E=Sophos;i="5.26,482,1459814400";  d="scan'208,217";a="677775175"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jun 2016 07:36:04 +0000
Received: from [10.60.67.86] (ams-bclaise-8915.cisco.com [10.60.67.86]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u5H7a4OX021906; Fri, 17 Jun 2016 07:36:04 GMT
To: Andy Bierman <andy@yumaworks.com>, Mark Nottingham <mnot@mnot.net>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com>
Date: Fri, 17 Jun 2016 09:36:04 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------FFE1ED0A42C723664665FD3B"
X-Greylist: Delayed for 00:17:36 by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Fri, 17 Jun 2016 07:54:07 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/84HfaHcuD7g0OdL0DyMYeYp--dE>
Cc: "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>, Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, "media-types@iana.org" <media-types@iana.org>, Sean Leonard <dev+ietf@seantek.com>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 07:54:10 -0000

This is a multi-part message in MIME format.
--------------FFE1ED0A42C723664665FD3B
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

I'm not sure what the conclusion is regarding this email thread?
Also, it should be time to include the NETCONF community on this topic.
Why not an email thread with both netconf and media-types?

Regards, B.
>
>
> On Thu, Jun 9, 2016 at 7:34 PM, Mark Nottingham <mnot@mnot.net 
> <mailto:mnot@mnot.net>> wrote:
>
>
>     > On 10 Jun 2016, at 12:15 PM, Sean Leonard <dev+ietf@seantek.com
>     <mailto:dev%2Bietf@seantek.com>> wrote:
>     >
>     > When it comes to Internet media types, "subtype" refers to
>     everything after the "/" and "type" refers to everything prior to
>     the "/".
>     >
>     > The field "Subtype name" is a field in the media type
>     registration template--its usage in those drafts is correct.
>
>     Even:
>
>     """
>     The parent MIME media type for RESTCONF resources is
>     application/yang, which is defined in [RFC6020].  This document
>     defines the following sub-types for this media type.
>     """
>
>     ? That seems to read as if "application/foo.bar" is a subtype of
>     "application/foo".
>
>
>
> I can see from RFC 6838, 4.2 that we named all of our media types 
> incorrectly.
>
> The media type application/yang just refers to UTF-8 text that 
> represents a YANG
> module or submodule. It is expected to conform to the YANG syntax.
>
> https://tools.ietf.org/html/rfc6020#section-14.1
>
> We are incorrectly using this as a tree root for adding subtypes.
>
> We want to create media types that conform to a particular YANG schema.
> We defined a YANG extension hack to define YANG data structures for a 
> media type
> https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8
> (see restconf-media-type)
>
> Our IANA section for Media Sub Types is wrong
>
> https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>
> It appears we have to make a Media Type registration similar to RFC 
> 6020 14.1
> for each of (what we call) the sub-types.
>
>      application/yang-api
>      application/yang-data
>      application/yang-datastore
>      application/yang-errors
>      application/yang-operation
>      application/yang-stream
>
>      application/yang-patch
>      application/yang-patch-status
>
>
> Andy
>
>
>
>     >
>     > When referring to the construct as a whole, the term "media
>     type" is generally used, not "media subtype" or "subtype".
>     However, I suppose that "subtype" would be technically correct
>     (although not preferred) because application/xml (for example) is
>     actually a subtype of application. Stylistically it should be
>     called the media type application/xml, etc.
>     >
>     > They should be called application/yang-api,
>     application/yang-patch, application/yang-patch-status, etc.
>     >
>     > I am assuming that YANG is referring specifically to the
>     language (akin to saying "C++" or "JavaScript"), and not referring
>     specifically to the structured syntax (akin to saying "JSON"). If
>     YANG is referring specifically to a structured syntax, then the
>     media types should end in +yang. My knowledge of YANG is not deep
>     enough to opine further on this point.
>     >
>     > Regards,
>     >
>     > Sean
>     >
>     > On 6/9/2016 4:45 PM, Mark Nottingham wrote:
>     >> YANG is attempting to register a number of media types that
>     begin with "application/yang."; see:
>     >>
>     https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2
>     >>
>     https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>     >>
>     >> E.g., it calls "application/yang.api" a "subtype" of
>     "application/yang".
>     >>
>     >> I read RFC6838 to prohibit this, because the portion of a
>     subtype preceded by the first "." indicates the registration tree
>     in a facet, and faceted media types are prohibited from being
>     registered in the standards tree (unless they're grandfathered in
>     in Appendix A). Furthermore, the drafts' use of "subtype" is
>     erroneous.
>     >>
>     >> Is that understanding correct? If so, should they be using
>     different media types, or is there some other way to accommodate
>     what they want?
>     >>
>     >> Cheers,
>     >>
>     >>
>     >> --
>     >> Mark Nottingham https://www.mnot.net/
>     >>
>     >> _______________________________________________
>     >> media-types mailing list
>     >> media-types@ietf.org <mailto:media-types@ietf.org>
>     >> https://www.ietf.org/mailman/listinfo/media-types
>     >
>     >
>     >
>     > _______________________________________________
>     > media-types mailing list
>     > media-types@ietf.org <mailto:media-types@ietf.org>
>     > https://www.ietf.org/mailman/listinfo/media-types
>
>     --
>     Mark Nottingham https://www.mnot.net/
>
>


--------------FFE1ED0A42C723664665FD3B
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I'm not sure what the conclusion is
      regarding this email thread?<br>
      Also, it should be time to include the NETCONF community on this
      topic. <br>
      Why not an email thread with both netconf and media-types?<br>
      <br>
      Regards, B.<br>
    </div>
    <blockquote
cite="mid:CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Jun 9, 2016 at 7:34 PM, Mark
            Nottingham <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:mnot@mnot.net" target="_blank">mnot@mnot.net</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
              &gt; On 10 Jun 2016, at 12:15 PM, Sean Leonard &lt;<a
                moz-do-not-send="true"
                href="mailto:dev%2Bietf@seantek.com"><a class="moz-txt-link-abbreviated" href="mailto:dev+ietf@seantek.com">dev+ietf@seantek.com</a></a>&gt;
              wrote:<br>
              &gt;<br>
              &gt; When it comes to Internet media types, "subtype"
              refers to everything after the "/" and "type" refers to
              everything prior to the "/".<br>
              &gt;<br>
              &gt; The field "Subtype name" is a field in the media type
              registration template--its usage in those drafts is
              correct.<br>
              <br>
              Even:<br>
              <br>
              """<br>
              The parent MIME media type for RESTCONF resources is
              application/yang, which is defined in [RFC6020].Â  This
              document defines the following sub-types for this media
              type.<br>
              """<br>
              <br>
              ? That seems to read as if "application/foo.bar" is a
              subtype of "application/foo".<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>I can see from RFC 6838, 4.2 that we named all of our
              media types incorrectly.</div>
            <div><br>
            </div>
            <div>The media type application/yang just refers to UTF-8
              text that represents a YANG</div>
            <div>module or submodule. It is expected to conform to the
              YANG syntax.</div>
            <div><br>
            </div>
            <div><a moz-do-not-send="true"
                href="https://tools.ietf.org/html/rfc6020#section-14.1">https://tools.ietf.org/html/rfc6020#section-14.1</a><br>
            </div>
            <div><br>
            </div>
            <div>We are incorrectly using this as a tree root for adding
              subtypes.</div>
            <div><br>
            </div>
            <div>We want to create media types that conform to a
              particular YANG schema.</div>
            <div>We defined a YANG extension hack to define YANG data
              structures for a media type</div>
            <div><a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8</a><br>
            </div>
            <div>(see restconf-media-type)</div>
            <div><br>
            </div>
            <div>Our IANA section for Media Sub Types is wrong</div>
            <div><br>
            </div>
            <div><a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3</a><br>
            </div>
            <div><br>
            </div>
            <div>It appears we have to make a Media Type registration
              similar to RFC 6020 14.1</div>
            <div>for each of (what we call) the sub-types.</div>
            <div><br>
            </div>
            <div>Â  Â  Â application/yang-api</div>
            <div>Â  Â  Â application/yang-data</div>
            <div>Â  Â  Â application/yang-datastore<br>
            </div>
            <div>Â  Â  Â application/yang-errors</div>
            <div>Â  Â  Â application/yang-operation</div>
            <div>Â  Â  Â application/yang-stream</div>
            <div><br>
            </div>
            <div>Â  Â  Â application/yang-patch</div>
            <div>Â  Â  Â application/yang-patch-status</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Andy</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
              &gt;<br>
              &gt; When referring to the construct as a whole, the term
              "media type" is generally used, not "media subtype" or
              "subtype". However, I suppose that "subtype" would be
              technically correct (although not preferred) because
              application/xml (for example) is actually a subtype of
              application. Stylistically it should be called the media
              type application/xml, etc.<br>
              &gt;<br>
              &gt; They should be called application/yang-api,
              application/yang-patch, application/yang-patch-status,
              etc.<br>
              &gt;<br>
              &gt; I am assuming that YANG is referring specifically to
              the language (akin to saying "C++" or "JavaScript"), and
              not referring specifically to the structured syntax (akin
              to saying "JSON"). If YANG is referring specifically to a
              structured syntax, then the media types should end in
              +yang. My knowledge of YANG is not deep enough to opine
              further on this point.<br>
              &gt;<br>
              &gt; Regards,<br>
              &gt;<br>
              &gt; Sean<br>
              &gt;<br>
              &gt; On 6/9/2016 4:45 PM, Mark Nottingham wrote:<br>
              &gt;&gt; YANG is attempting to register a number of media
              types that begin with "application/yang."; see:<br>
              &gt;&gt;Â  Â <a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2"
                rel="noreferrer" target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2</a><br>
              &gt;&gt;Â  Â <a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3"
                rel="noreferrer" target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3</a><br>
              &gt;&gt;<br>
              &gt;&gt; E.g., it calls "application/yang.api" a "subtype"
              of "application/yang".<br>
              &gt;&gt;<br>
              &gt;&gt; I read RFC6838 to prohibit this, because the
              portion of a subtype preceded by the first "." indicates
              the registration tree in a facet, and faceted media types
              are prohibited from being registered in the standards tree
              (unless they're grandfathered in in Appendix A).
              Furthermore, the drafts' use of "subtype" is erroneous.<br>
              &gt;&gt;<br>
              &gt;&gt; Is that understanding correct? If so, should they
              be using different media types, or is there some other way
              to accommodate what they want?<br>
              &gt;&gt;<br>
              &gt;&gt; Cheers,<br>
              &gt;&gt;<br>
              &gt;&gt;<br>
              &gt;&gt; --<br>
              &gt;&gt; Mark NottinghamÂ  Â <a moz-do-not-send="true"
                href="https://www.mnot.net/" rel="noreferrer"
                target="_blank">https://www.mnot.net/</a><br>
              &gt;&gt;<br>
              &gt;&gt; _______________________________________________<br>
              &gt;&gt; media-types mailing list<br>
              &gt;&gt; <a moz-do-not-send="true"
                href="mailto:media-types@ietf.org">media-types@ietf.org</a><br>
              &gt;&gt; <a moz-do-not-send="true"
                href="https://www.ietf.org/mailman/listinfo/media-types"
                rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/media-types</a><br>
              &gt;<br>
              &gt;<br>
              &gt;<br>
              &gt; _______________________________________________<br>
              &gt; media-types mailing list<br>
              &gt; <a moz-do-not-send="true"
                href="mailto:media-types@ietf.org">media-types@ietf.org</a><br>
              &gt; <a moz-do-not-send="true"
                href="https://www.ietf.org/mailman/listinfo/media-types"
                rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/media-types</a><br>
              <br>
              --<br>
              Mark NottinghamÂ  Â <a moz-do-not-send="true"
                href="https://www.mnot.net/" rel="noreferrer"
                target="_blank">https://www.mnot.net/</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------FFE1ED0A42C723664665FD3B--


From nobody Fri Jun 17 04:43:12 2016
Return-Path: <andy@yumaworks.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 58E6912D104 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 04:43:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jTX24p-RYi8a for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 04:43:08 -0700 (PDT)
Received: from pechora7.dc.icann.org (pechora7.icann.org [IPv6:2620:0:2830:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D058112B016 for <media-types@ietf.org>; Fri, 17 Jun 2016 04:43:06 -0700 (PDT)
Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) by pechora7.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5HBgj6x011976 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Fri, 17 Jun 2016 11:43:06 GMT
Received: by mail-vk0-x229.google.com with SMTP id j2so112092389vkg.2 for <media-types@iana.org>; Fri, 17 Jun 2016 04:43:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=4M/vVIdL0rU71CDY9eS3TKVG+otlyIFXvUi7+tN/hGU=; b=N+B0v+ycD06fbu4ZOAGpWXFS+HnvJqjgjEr+WZHJubE31rdMhn2nqUfY0nejK1jxvS yN9LJB3c2lcctwzNMxVESsVsBsB3nrkcX10S6zvttikNB+uvk4vvw+nB6oH3c5EIDruo 25TDX/IFqz6xMKEw4BE7HRY9sBiM5zEnFbPOnogKKCwW7b2Wut1Vf3qGivQvk5fWxHYF xRzeE/AQVsQDHKWCq+zqFNMnTCY4DFDJx/EbS7H8FBJoCms9xBDlDiMtwRd7qwI88rXV nrNMXaPLKzdNu13Mhl5erc/6tjdjXY8On4Ud1FUeGXa8Bi9Ay6g43Y1LuJtnfAGzPNgu M8pw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=4M/vVIdL0rU71CDY9eS3TKVG+otlyIFXvUi7+tN/hGU=; b=IIXCcWX15guhxkyL0cOtaPgtT6tlc66yztL8ICNdx3UbyuNjiq+ET3eZjxGOBWckE2 gYQ876SySY5j8VBbKWkeJnqEo70hWNVuzv9jkj6rocwim1aZUar68A5aTq36nKmhWX+n 0sV2uMwbsxclODZQC93fCGRojACKuDNTZPJ7k0O4QgMqvtnI6GtU0l+HbmuxiFR8twMY ITcEvhD50hcquOUOXhoJ94AElS5s4nuHj9UtAHhAXQLcNAprinYv5Hj2AnOgaAM+OLyS X1vMBo5JZZXmkCY5/RyHFXcKCrhiseZSY/4ZZvsTwTu92val4llugZZnAWaJZL5ImBRW FKfA==
X-Gm-Message-State: ALyK8tKW4aWpczUzJI+7bS4+SJwqmoWC74Xv4WbH6/SKpPwI9fACY+h+CERVVJQn4NK6s7Sak9ePyieOr3YUaw==
MIME-Version: 1.0
X-Received: by 10.31.5.80 with SMTP id 77mr909757vkf.132.1466163765590; Fri, 17 Jun 2016 04:42:45 -0700 (PDT)
Received: by 10.103.20.2 with HTTP; Fri, 17 Jun 2016 04:42:45 -0700 (PDT)
In-Reply-To: <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com>
Date: Fri, 17 Jun 2016 04:42:45 -0700
Message-ID: <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Benoit Claise <bclaise@cisco.com>
Content-Type: multipart/alternative; boundary=001a1143db926e5935053577dafc
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (pechora7.dc.icann.org [IPv6:2620:0:2830:201::1:73]); Fri, 17 Jun 2016 11:43:06 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/wtWJh2IqbeKe6JdsLVFkvXDfyAk>
Cc: Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, Mark Nottingham <mnot@mnot.net>, Sean Leonard <dev+ietf@seantek.com>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 11:43:10 -0000

--001a1143db926e5935053577dafc
Content-Type: text/plain; charset=UTF-8

On Fri, Jun 17, 2016 at 12:36 AM, Benoit Claise <bclaise@cisco.com> wrote:

> I'm not sure what the conclusion is regarding this email thread?
> Also, it should be time to include the NETCONF community on this topic.
> Why not an email thread with both netconf and media-types?
>
>
I am changing the media type name so that faceted names are not used.

yang.foo becomes yang-foo

The IANA registration section is being redone to conform to RFC 6838





> Regards, B.
>

Andy


>
>
> On Thu, Jun 9, 2016 at 7:34 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
>>
>> > On 10 Jun 2016, at 12:15 PM, Sean Leonard < <dev%2Bietf@seantek.com>
>> dev+ietf@seantek.com> wrote:
>> >
>> > When it comes to Internet media types, "subtype" refers to everything
>> after the "/" and "type" refers to everything prior to the "/".
>> >
>> > The field "Subtype name" is a field in the media type registration
>> template--its usage in those drafts is correct.
>>
>> Even:
>>
>> """
>> The parent MIME media type for RESTCONF resources is application/yang,
>> which is defined in [RFC6020].  This document defines the following
>> sub-types for this media type.
>> """
>>
>> ? That seems to read as if "application/foo.bar" is a subtype of
>> "application/foo".
>>
>>
>
> I can see from RFC 6838, 4.2 that we named all of our media types
> incorrectly.
>
> The media type application/yang just refers to UTF-8 text that represents
> a YANG
> module or submodule. It is expected to conform to the YANG syntax.
>
> https://tools.ietf.org/html/rfc6020#section-14.1
>
> We are incorrectly using this as a tree root for adding subtypes.
>
> We want to create media types that conform to a particular YANG schema.
> We defined a YANG extension hack to define YANG data structures for a
> media type
> https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8
> (see restconf-media-type)
>
> Our IANA section for Media Sub Types is wrong
>
> https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>
> It appears we have to make a Media Type registration similar to RFC 6020
> 14.1
> for each of (what we call) the sub-types.
>
>      application/yang-api
>      application/yang-data
>      application/yang-datastore
>      application/yang-errors
>      application/yang-operation
>      application/yang-stream
>
>      application/yang-patch
>      application/yang-patch-status
>
>
> Andy
>
>
>
>> >
>> > When referring to the construct as a whole, the term "media type" is
>> generally used, not "media subtype" or "subtype". However, I suppose that
>> "subtype" would be technically correct (although not preferred) because
>> application/xml (for example) is actually a subtype of application.
>> Stylistically it should be called the media type application/xml, etc.
>> >
>> > They should be called application/yang-api, application/yang-patch,
>> application/yang-patch-status, etc.
>> >
>> > I am assuming that YANG is referring specifically to the language (akin
>> to saying "C++" or "JavaScript"), and not referring specifically to the
>> structured syntax (akin to saying "JSON"). If YANG is referring
>> specifically to a structured syntax, then the media types should end in
>> +yang. My knowledge of YANG is not deep enough to opine further on this
>> point.
>> >
>> > Regards,
>> >
>> > Sean
>> >
>> > On 6/9/2016 4:45 PM, Mark Nottingham wrote:
>> >> YANG is attempting to register a number of media types that begin with
>> "application/yang."; see:
>> >>
>> https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2
>> >>
>> https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>> >>
>> >> E.g., it calls "application/yang.api" a "subtype" of
>> "application/yang".
>> >>
>> >> I read RFC6838 to prohibit this, because the portion of a subtype
>> preceded by the first "." indicates the registration tree in a facet, and
>> faceted media types are prohibited from being registered in the standards
>> tree (unless they're grandfathered in in Appendix A). Furthermore, the
>> drafts' use of "subtype" is erroneous.
>> >>
>> >> Is that understanding correct? If so, should they be using different
>> media types, or is there some other way to accommodate what they want?
>> >>
>> >> Cheers,
>> >>
>> >>
>> >> --
>> >> Mark Nottingham   https://www.mnot.net/
>> >>
>> >> _______________________________________________
>> >> media-types mailing list
>> >> media-types@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/media-types
>> >
>> >
>> >
>> > _______________________________________________
>> > media-types mailing list
>> > media-types@ietf.org
>> > https://www.ietf.org/mailman/listinfo/media-types
>>
>> --
>> Mark Nottingham   https://www.mnot.net/
>>
>>
>
>

--001a1143db926e5935053577dafc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Jun 17, 2016 at 12:36 AM, Benoit Claise <span dir=3D"ltr">&lt;<=
a href=3D"mailto:bclaise@cisco.com" target=3D"_blank">bclaise@cisco.com</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div>I&#39;m not sure what the conclusion is
      regarding this email thread?<br>
      Also, it should be time to include the NETCONF community on this
      topic. <br>
      Why not an email thread with both netconf and media-types?<br>
      <br></div></div></blockquote><div><br></div><div>I am changing the me=
dia type name so that faceted names are not used.</div><div><br></div><div>=
yang.foo becomes yang-foo<br></div><div><br></div><div>The IANA registratio=
n section is being redone to conform to RFC 6838</div><div><br></div><div><=
br></div><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><di=
v bgcolor=3D"#FFFFFF" text=3D"#000000"><div>
      Regards, B.<br></div></div></blockquote><div><br></div><div>Andy</div=
><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor=3D"#FFFFFF" t=
ext=3D"#000000"><div>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra"><br>
          <div class=3D"gmail_quote">On Thu, Jun 9, 2016 at 7:34 PM, Mark
            Nottingham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.ne=
t" target=3D"_blank">mnot@mnot.net</a>&gt;</span>
            wrote:<br>
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-s=
tyle:solid;padding-left:1ex"><br>
              &gt; On 10 Jun 2016, at 12:15 PM, Sean Leonard &lt;<a href=3D=
"mailto:dev%2Bietf@seantek.com" target=3D"_blank"></a><a href=3D"mailto:dev=
+ietf@seantek.com" target=3D"_blank">dev+ietf@seantek.com</a>&gt;
              wrote:<br>
              &gt;<br>
              &gt; When it comes to Internet media types, &quot;subtype&quo=
t;
              refers to everything after the &quot;/&quot; and &quot;type&q=
uot; refers to
              everything prior to the &quot;/&quot;.<br>
              &gt;<br>
              &gt; The field &quot;Subtype name&quot; is a field in the med=
ia type
              registration template--its usage in those drafts is
              correct.<br>
              <br>
              Even:<br>
              <br>
              &quot;&quot;&quot;<br>
              The parent MIME media type for RESTCONF resources is
              application/yang, which is defined in [RFC6020].=C2=A0 This
              document defines the following sub-types for this media
              type.<br>
              &quot;&quot;&quot;<br>
              <br>
              ? That seems to read as if &quot;application/foo.bar&quot; is=
 a
              subtype of &quot;application/foo&quot;.<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>I can see from RFC 6838, 4.2 that we named all of our
              media types incorrectly.</div>
            <div><br>
            </div>
            <div>The media type application/yang just refers to UTF-8
              text that represents a YANG</div>
            <div>module or submodule. It is expected to conform to the
              YANG syntax.</div>
            <div><br>
            </div>
            <div><a href=3D"https://tools.ietf.org/html/rfc6020#section-14.=
1" target=3D"_blank">https://tools.ietf.org/html/rfc6020#section-14.1</a><b=
r>
            </div>
            <div><br>
            </div>
            <div>We are incorrectly using this as a tree root for adding
              subtypes.</div>
            <div><br>
            </div>
            <div>We want to create media types that conform to a
              particular YANG schema.</div>
            <div>We defined a YANG extension hack to define YANG data
              structures for a media type</div>
            <div><a href=3D"https://tools.ietf.org/html/draft-ietf-netconf-=
restconf-13#section-8" target=3D"_blank">https://tools.ietf.org/html/draft-=
ietf-netconf-restconf-13#section-8</a><br>
            </div>
            <div>(see restconf-media-type)</div>
            <div><br>
            </div>
            <div>Our IANA section for Media Sub Types is wrong</div>
            <div><br>
            </div>
            <div><a href=3D"https://tools.ietf.org/html/draft-ietf-netconf-=
restconf-13#section-11.3" target=3D"_blank">https://tools.ietf.org/html/dra=
ft-ietf-netconf-restconf-13#section-11.3</a><br>
            </div>
            <div><br>
            </div>
            <div>It appears we have to make a Media Type registration
              similar to RFC 6020 14.1</div>
            <div>for each of (what we call) the sub-types.</div>
            <div><br>
            </div>
            <div>=C2=A0 =C2=A0 =C2=A0application/yang-api</div>
            <div>=C2=A0 =C2=A0 =C2=A0application/yang-data</div>
            <div>=C2=A0 =C2=A0 =C2=A0application/yang-datastore<br>
            </div>
            <div>=C2=A0 =C2=A0 =C2=A0application/yang-errors</div>
            <div>=C2=A0 =C2=A0 =C2=A0application/yang-operation</div>
            <div>=C2=A0 =C2=A0 =C2=A0application/yang-stream</div>
            <div><br>
            </div>
            <div>=C2=A0 =C2=A0 =C2=A0application/yang-patch</div>
            <div>=C2=A0 =C2=A0 =C2=A0application/yang-patch-status</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Andy</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-s=
tyle:solid;padding-left:1ex"><br>
              &gt;<br>
              &gt; When referring to the construct as a whole, the term
              &quot;media type&quot; is generally used, not &quot;media sub=
type&quot; or
              &quot;subtype&quot;. However, I suppose that &quot;subtype&qu=
ot; would be
              technically correct (although not preferred) because
              application/xml (for example) is actually a subtype of
              application. Stylistically it should be called the media
              type application/xml, etc.<br>
              &gt;<br>
              &gt; They should be called application/yang-api,
              application/yang-patch, application/yang-patch-status,
              etc.<br>
              &gt;<br>
              &gt; I am assuming that YANG is referring specifically to
              the language (akin to saying &quot;C++&quot; or &quot;JavaScr=
ipt&quot;), and
              not referring specifically to the structured syntax (akin
              to saying &quot;JSON&quot;). If YANG is referring specificall=
y to a
              structured syntax, then the media types should end in
              +yang. My knowledge of YANG is not deep enough to opine
              further on this point.<br>
              &gt;<br>
              &gt; Regards,<br>
              &gt;<br>
              &gt; Sean<br>
              &gt;<br>
              &gt; On 6/9/2016 4:45 PM, Mark Nottingham wrote:<br>
              &gt;&gt; YANG is attempting to register a number of media
              types that begin with &quot;application/yang.&quot;; see:<br>
              &gt;&gt;=C2=A0 =C2=A0<a href=3D"https://tools.ietf.org/html/d=
raft-ietf-netconf-yang-patch-08#section-4.2" rel=3D"noreferrer" target=3D"_=
blank">https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section=
-4.2</a><br>
              &gt;&gt;=C2=A0 =C2=A0<a href=3D"https://tools.ietf.org/html/d=
raft-ietf-netconf-restconf-13#section-11.3" rel=3D"noreferrer" target=3D"_b=
lank">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11=
.3</a><br>
              &gt;&gt;<br>
              &gt;&gt; E.g., it calls &quot;application/yang.api&quot; a &q=
uot;subtype&quot;
              of &quot;application/yang&quot;.<br>
              &gt;&gt;<br>
              &gt;&gt; I read RFC6838 to prohibit this, because the
              portion of a subtype preceded by the first &quot;.&quot; indi=
cates
              the registration tree in a facet, and faceted media types
              are prohibited from being registered in the standards tree
              (unless they&#39;re grandfathered in in Appendix A).
              Furthermore, the drafts&#39; use of &quot;subtype&quot; is er=
roneous.<br>
              &gt;&gt;<br>
              &gt;&gt; Is that understanding correct? If so, should they
              be using different media types, or is there some other way
              to accommodate what they want?<br>
              &gt;&gt;<br>
              &gt;&gt; Cheers,<br>
              &gt;&gt;<br>
              &gt;&gt;<br>
              &gt;&gt; --<br>
              &gt;&gt; Mark Nottingham=C2=A0 =C2=A0<a href=3D"https://www.m=
not.net/" rel=3D"noreferrer" target=3D"_blank">https://www.mnot.net/</a><br=
>
              &gt;&gt;<br>
              &gt;&gt; _______________________________________________<br>
              &gt;&gt; media-types mailing list<br>
              &gt;&gt; <a href=3D"mailto:media-types@ietf.org" target=3D"_b=
lank">media-types@ietf.org</a><br>
              &gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/med=
ia-types" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman=
/listinfo/media-types</a><br>
              &gt;<br>
              &gt;<br>
              &gt;<br>
              &gt; _______________________________________________<br>
              &gt; media-types mailing list<br>
              &gt; <a href=3D"mailto:media-types@ietf.org" target=3D"_blank=
">media-types@ietf.org</a><br>
              &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/media-t=
ypes" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/lis=
tinfo/media-types</a><span class=3D"HOEnZb"><font color=3D"#888888"><br>
              <br>
              --<br>
              Mark Nottingham=C2=A0 =C2=A0<a href=3D"https://www.mnot.net/"=
 rel=3D"noreferrer" target=3D"_blank">https://www.mnot.net/</a><br>
              <br>
            </font></span></blockquote><span class=3D"HOEnZb"><font color=
=3D"#888888">
          </font></span></div><span class=3D"HOEnZb"><font color=3D"#888888=
">
          <br>
        </font></span></div>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div>

--001a1143db926e5935053577dafc--


From nobody Fri Jun 17 05:59:14 2016
Return-Path: <dev+ietf@seantek.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 E543012D579 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 05:59:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YcQuJhQyYFjS for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 05:59:11 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D06D112D516 for <media-types@ietf.org>; Fri, 17 Jun 2016 05:59:10 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5HCwnB2013466 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Fri, 17 Jun 2016 12:59:10 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B4CFC50A84; Fri, 17 Jun 2016 08:58:47 -0400 (EDT)
To: Andy Bierman <andy@yumaworks.com>, Benoit Claise <bclaise@cisco.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com>
Date: Fri, 17 Jun 2016 05:59:17 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------A81D13952D0E3825A79FD561"
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Fri, 17 Jun 2016 12:59:10 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/qUhppHxnU_j5Q-_pisKQfKxgMPc>
Cc: Mark Nottingham <mnot@mnot.net>, Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 12:59:13 -0000

This is a multi-part message in MIME format.
--------------A81D13952D0E3825A79FD561
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

On 6/17/2016 4:42 AM, Andy Bierman wrote:
>
>
> On Fri, Jun 17, 2016 at 12:36 AM, Benoit Claise <bclaise@cisco.com 
> <mailto:bclaise@cisco.com>> wrote:
>
>     I'm not sure what the conclusion is regarding this email thread?
>     Also, it should be time to include the NETCONF community on this
>     topic.
>     Why not an email thread with both netconf and media-types?
>
>
> I am changing the media type name so that faceted names are not used.
>
> yang.foo becomes yang-foo
>
> The IANA registration section is being redone to conform to RFC 6838
>

application/yang.foo -> application/yang-foo

corrects the faceted name problem, yes.

However, the other point has not been addressed. I do not see a 
technical reason or justification for registering 8 media types, when 
application/yang; yangtype="foo" (api, data, datastore, errors, 
operation, stream, patch, patch-status) suffices. Please address.

Best regards,

Sean

>
>
>     Regards, B.
>
>
> Andy
>
>>
>>
>>     On Thu, Jun 9, 2016 at 7:34 PM, Mark Nottingham <mnot@mnot.net
>>     <mailto:mnot@mnot.net>> wrote:
>>
>>
>>         > On 10 Jun 2016, at 12:15 PM, Sean Leonard
>>         <dev+ietf@seantek.com <mailto:dev+ietf@seantek.com>> wrote:
>>         >
>>         > When it comes to Internet media types, "subtype" refers to
>>         everything after the "/" and "type" refers to everything
>>         prior to the "/".
>>         >
>>         > The field "Subtype name" is a field in the media type
>>         registration template--its usage in those drafts is correct.
>>
>>         Even:
>>
>>         """
>>         The parent MIME media type for RESTCONF resources is
>>         application/yang, which is defined in [RFC6020].  This
>>         document defines the following sub-types for this media type.
>>         """
>>
>>         ? That seems to read as if "application/foo.bar" is a subtype
>>         of "application/foo".
>>
>>
>>
>>     I can see from RFC 6838, 4.2 that we named all of our media types
>>     incorrectly.
>>
>>     The media type application/yang just refers to UTF-8 text that
>>     represents a YANG
>>     module or submodule. It is expected to conform to the YANG syntax.
>>
>>     https://tools.ietf.org/html/rfc6020#section-14.1
>>
>>     We are incorrectly using this as a tree root for adding subtypes.
>>
>>     We want to create media types that conform to a particular YANG
>>     schema.
>>     We defined a YANG extension hack to define YANG data structures
>>     for a media type
>>     https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8
>>     (see restconf-media-type)
>>
>>     Our IANA section for Media Sub Types is wrong
>>
>>     https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>>
>>     It appears we have to make a Media Type registration similar to
>>     RFC 6020 14.1
>>     for each of (what we call) the sub-types.
>>
>>          application/yang-api
>>          application/yang-data
>>          application/yang-datastore
>>          application/yang-errors
>>          application/yang-operation
>>          application/yang-stream
>>
>>          application/yang-patch
>>          application/yang-patch-status
>>
>>
>>     Andy
>>
>>
>>
>>         >
>>         > When referring to the construct as a whole, the term "media
>>         type" is generally used, not "media subtype" or "subtype".
>>         However, I suppose that "subtype" would be technically
>>         correct (although not preferred) because application/xml (for
>>         example) is actually a subtype of application. Stylistically
>>         it should be called the media type application/xml, etc.
>>         >
>>         > They should be called application/yang-api,
>>         application/yang-patch, application/yang-patch-status, etc.
>>         >
>>         > I am assuming that YANG is referring specifically to the
>>         language (akin to saying "C++" or "JavaScript"), and not
>>         referring specifically to the structured syntax (akin to
>>         saying "JSON"). If YANG is referring specifically to a
>>         structured syntax, then the media types should end in +yang.
>>         My knowledge of YANG is not deep enough to opine further on
>>         this point.
>>         >
>>         > Regards,
>>         >
>>         > Sean
>>         >
>>         > On 6/9/2016 4:45 PM, Mark Nottingham wrote:
>>         >> YANG is attempting to register a number of media types
>>         that begin with "application/yang."; see:
>>         >>
>>         https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2
>>         >>
>>         https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>>         >>
>>         >> E.g., it calls "application/yang.api" a "subtype" of
>>         "application/yang".
>>         >>
>>         >> I read RFC6838 to prohibit this, because the portion of a
>>         subtype preceded by the first "." indicates the registration
>>         tree in a facet, and faceted media types are prohibited from
>>         being registered in the standards tree (unless they're
>>         grandfathered in in Appendix A). Furthermore, the drafts' use
>>         of "subtype" is erroneous.
>>         >>
>>         >> Is that understanding correct? If so, should they be using
>>         different media types, or is there some other way to
>>         accommodate what they want?
>>         >>
>>         >> Cheers,
>>         >>
>>         >>
>>         >> --
>>         >> Mark Nottingham https://www.mnot.net/
>>         >>
>>         >> _______________________________________________
>>         >> media-types mailing list
>>         >> media-types@ietf.org <mailto:media-types@ietf.org>
>>         >> https://www.ietf.org/mailman/listinfo/media-types
>>         >
>>         >
>>         >
>>         > _______________________________________________
>>         > media-types mailing list
>>         > media-types@ietf.org <mailto:media-types@ietf.org>
>>         > https://www.ietf.org/mailman/listinfo/media-types
>>
>>         --
>>         Mark Nottingham https://www.mnot.net/
>>
>>
>
>
>
>
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types



--------------A81D13952D0E3825A79FD561
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 6/17/2016 4:42 AM, Andy Bierman
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Fri, Jun 17, 2016 at 12:36 AM,
            Benoit Claise <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:bclaise@cisco.com" target="_blank">bclaise@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>I'm not sure what the conclusion is regarding this
                  email thread?<br>
                  Also, it should be time to include the NETCONF
                  community on this topic. <br>
                  Why not an email thread with both netconf and
                  media-types?<br>
                  <br>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>I am changing the media type name so that faceted names
              are not used.</div>
            <div><br>
            </div>
            <div>yang.foo becomes yang-foo<br>
            </div>
            <div><br>
            </div>
            <div>The IANA registration section is being redone to
              conform to RFC 6838</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    application/yang.foo -&gt; application/yang-foo<br>
    <br>
    corrects the faceted name problem, yes.<br>
    <br>
    However, the other point has not been addressed. I do not see a
    technical reason or justification for registering 8 media types,
    when application/yang; yangtype="foo" (api, data, datastore, errors,
    operation, stream, patch, patch-status) suffices. Please address.<br>
    <br>
    Best regards,<br>
    <br>
    Sean<br>
    <br>
    <blockquote
cite="mid:CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div> Regards, B.<br>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Andy</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div> </div>
                <blockquote type="cite">
                  <div dir="ltr"><br>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Thu, Jun 9, 2016 at
                        7:34 PM, Mark Nottingham <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:mnot@mnot.net" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:mnot@mnot.net">mnot@mnot.net</a></a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote"
                          style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
                          &gt; On 10 Jun 2016, at 12:15 PM, Sean Leonard
                          &lt;<a moz-do-not-send="true"
                            href="mailto:dev+ietf@seantek.com"
                            target="_blank">dev+ietf@seantek.com</a>&gt;
                          wrote:<br>
                          &gt;<br>
                          &gt; When it comes to Internet media types,
                          "subtype" refers to everything after the "/"
                          and "type" refers to everything prior to the
                          "/".<br>
                          &gt;<br>
                          &gt; The field "Subtype name" is a field in
                          the media type registration template--its
                          usage in those drafts is correct.<br>
                          <br>
                          Even:<br>
                          <br>
                          """<br>
                          The parent MIME media type for RESTCONF
                          resources is application/yang, which is
                          defined in [RFC6020].  This document defines
                          the following sub-types for this media type.<br>
                          """<br>
                          <br>
                          ? That seems to read as if
                          "application/foo.bar" is a subtype of
                          "application/foo".<br>
                          <br>
                        </blockquote>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>I can see from RFC 6838, 4.2 that we named
                          all of our media types incorrectly.</div>
                        <div><br>
                        </div>
                        <div>The media type application/yang just refers
                          to UTF-8 text that represents a YANG</div>
                        <div>module or submodule. It is expected to
                          conform to the YANG syntax.</div>
                        <div><br>
                        </div>
                        <div><a moz-do-not-send="true"
                            href="https://tools.ietf.org/html/rfc6020#section-14.1"
                            target="_blank">https://tools.ietf.org/html/rfc6020#section-14.1</a><br>
                        </div>
                        <div><br>
                        </div>
                        <div>We are incorrectly using this as a tree
                          root for adding subtypes.</div>
                        <div><br>
                        </div>
                        <div>We want to create media types that conform
                          to a particular YANG schema.</div>
                        <div>We defined a YANG extension hack to define
                          YANG data structures for a media type</div>
                        <div><a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8"
                            target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8</a><br>
                        </div>
                        <div>(see restconf-media-type)</div>
                        <div><br>
                        </div>
                        <div>Our IANA section for Media Sub Types is
                          wrong</div>
                        <div><br>
                        </div>
                        <div><a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3"
                            target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3</a><br>
                        </div>
                        <div><br>
                        </div>
                        <div>It appears we have to make a Media Type
                          registration similar to RFC 6020 14.1</div>
                        <div>for each of (what we call) the sub-types.</div>
                        <div><br>
                        </div>
                        <div>     application/yang-api</div>
                        <div>     application/yang-data</div>
                        <div>     application/yang-datastore<br>
                        </div>
                        <div>     application/yang-errors</div>
                        <div>     application/yang-operation</div>
                        <div>     application/yang-stream</div>
                        <div><br>
                        </div>
                        <div>     application/yang-patch</div>
                        <div>     application/yang-patch-status</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>Andy</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <blockquote class="gmail_quote"
                          style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
                          &gt;<br>
                          &gt; When referring to the construct as a
                          whole, the term "media type" is generally
                          used, not "media subtype" or "subtype".
                          However, I suppose that "subtype" would be
                          technically correct (although not preferred)
                          because application/xml (for example) is
                          actually a subtype of application.
                          Stylistically it should be called the media
                          type application/xml, etc.<br>
                          &gt;<br>
                          &gt; They should be called
                          application/yang-api, application/yang-patch,
                          application/yang-patch-status, etc.<br>
                          &gt;<br>
                          &gt; I am assuming that YANG is referring
                          specifically to the language (akin to saying
                          "C++" or "JavaScript"), and not referring
                          specifically to the structured syntax (akin to
                          saying "JSON"). If YANG is referring
                          specifically to a structured syntax, then the
                          media types should end in +yang. My knowledge
                          of YANG is not deep enough to opine further on
                          this point.<br>
                          &gt;<br>
                          &gt; Regards,<br>
                          &gt;<br>
                          &gt; Sean<br>
                          &gt;<br>
                          &gt; On 6/9/2016 4:45 PM, Mark Nottingham
                          wrote:<br>
                          &gt;&gt; YANG is attempting to register a
                          number of media types that begin with
                          "application/yang."; see:<br>
                          &gt;&gt;   <a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2"
                            rel="noreferrer" target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2</a><br>
                          &gt;&gt;   <a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3"
                            rel="noreferrer" target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3</a><br>
                          &gt;&gt;<br>
                          &gt;&gt; E.g., it calls "application/yang.api"
                          a "subtype" of "application/yang".<br>
                          &gt;&gt;<br>
                          &gt;&gt; I read RFC6838 to prohibit this,
                          because the portion of a subtype preceded by
                          the first "." indicates the registration tree
                          in a facet, and faceted media types are
                          prohibited from being registered in the
                          standards tree (unless they're grandfathered
                          in in Appendix A). Furthermore, the drafts'
                          use of "subtype" is erroneous.<br>
                          &gt;&gt;<br>
                          &gt;&gt; Is that understanding correct? If so,
                          should they be using different media types, or
                          is there some other way to accommodate what
                          they want?<br>
                          &gt;&gt;<br>
                          &gt;&gt; Cheers,<br>
                          &gt;&gt;<br>
                          &gt;&gt;<br>
                          &gt;&gt; --<br>
                          &gt;&gt; Mark Nottingham   <a
                            moz-do-not-send="true"
                            href="https://www.mnot.net/"
                            rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="https://www.mnot.net/">https://www.mnot.net/</a></a><br>
                          &gt;&gt;<br>
                          &gt;&gt;
                          _______________________________________________<br>
                          &gt;&gt; media-types mailing list<br>
                          &gt;&gt; <a moz-do-not-send="true"
                            href="mailto:media-types@ietf.org"
                            target="_blank">media-types@ietf.org</a><br>
                          &gt;&gt; <a moz-do-not-send="true"
                            href="https://www.ietf.org/mailman/listinfo/media-types"
                            rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/media-types</a><br>
                          &gt;<br>
                          &gt;<br>
                          &gt;<br>
                          &gt;
                          _______________________________________________<br>
                          &gt; media-types mailing list<br>
                          &gt; <a moz-do-not-send="true"
                            href="mailto:media-types@ietf.org"
                            target="_blank">media-types@ietf.org</a><br>
                          &gt; <a moz-do-not-send="true"
                            href="https://www.ietf.org/mailman/listinfo/media-types"
                            rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/media-types</a><span
                            class="HOEnZb"><font color="#888888"><br>
                              <br>
                              --<br>
                              Mark Nottingham   <a
                                moz-do-not-send="true"
                                href="https://www.mnot.net/"
                                rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="https://www.mnot.net/">https://www.mnot.net/</a></a><br>
                              <br>
                            </font></span></blockquote>
                        <span class="HOEnZb"><font color="#888888"> </font></span></div>
                      <span class="HOEnZb"><font color="#888888"> <br>
                        </font></span></div>
                  </div>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
media-types mailing list
<a class="moz-txt-link-abbreviated" href="mailto:media-types@ietf.org">media-types@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/media-types">https://www.ietf.org/mailman/listinfo/media-types</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------A81D13952D0E3825A79FD561--


From nobody Fri Jun 17 07:47:31 2016
Return-Path: <bclaise@cisco.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 605D112D62F for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 07:47:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.5
X-Spam-Level: 
X-Spam-Status: No, score=-9.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o1RSLeac7AZF for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 07:47:26 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE26312D5B9 for <media-types@ietf.org>; Fri, 17 Jun 2016 07:47:17 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5HEkopc020029 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Fri, 17 Jun 2016 14:47:11 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=25735; q=dns/txt; s=iport; t=1466174831; x=1467384431; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to; bh=lwedb2ltw7SV8t6COb38C9n4mzT83r8aM4qPXL3md4M=; b=JezIxZe8rVvDp/AgGNoPbV3Nc9YlofKtNBzIxOsuvx9uNwlyJ1ankphy ZJV8rn2lx/0YR0/2umt9Aa7NFA5z0hAL4W777tgaMrmBypgwTZ7/aOBnw Co4RvS9mu+xcBwncIlKueRp6iWM9xMhfry12TiZ/xmoGPfLHEQQ6Qt1qi c=;
X-IronPort-AV: E=Sophos;i="5.26,484,1459814400";  d="scan'208,217";a="677782303"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jun 2016 14:46:49 +0000
Received: from [10.60.67.86] (ams-bclaise-8915.cisco.com [10.60.67.86]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id u5HEkmmx000920; Fri, 17 Jun 2016 14:46:49 GMT
To: Sean Leonard <dev+ietf@seantek.com>, Andy Bierman <andy@yumaworks.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <1b4ea4b1-3f74-0ff1-c8e8-2e1f4e4dc8e8@cisco.com>
Date: Fri, 17 Jun 2016 16:46:51 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com>
Content-Type: multipart/alternative; boundary="------------D379BDED6D65CD09A8085EAB"
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Fri, 17 Jun 2016 14:47:11 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/Lg2Yx3BakC-VVig6gwLMI43n_4g>
Cc: Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, art-ads@ietf.org, Mark Nottingham <mnot@mnot.net>, Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 14:47:29 -0000

This is a multi-part message in MIME format.
--------------D379BDED6D65CD09A8085EAB
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

On 6/17/2016 2:59 PM, Sean Leonard wrote:
> On 6/17/2016 4:42 AM, Andy Bierman wrote:
>>
>>
>> On Fri, Jun 17, 2016 at 12:36 AM, Benoit Claise <bclaise@cisco.com 
>> <mailto:bclaise@cisco.com>> wrote:
>>
>>     I'm not sure what the conclusion is regarding this email thread?
>>     Also, it should be time to include the NETCONF community on this
>>     topic.
>>     Why not an email thread with both netconf and media-types?
>>
>>
>> I am changing the media type name so that faceted names are not used.
>>
>> yang.foo becomes yang-foo
>>
>> The IANA registration section is being redone to conform to RFC 6838
>>
>
> application/yang.foo -> application/yang-foo
>
> corrects the faceted name problem, yes.
>
> However, the other point has not been addressed. I do not see a 
> technical reason or justification for registering 8 media types, when 
> application/yang; yangtype="foo" (api, data, datastore, errors, 
> operation, stream, patch, patch-status) suffices. Please address.
Is this a constraint imposed by the media-type designated expert or a 
preference?
Maybe this is mentioned by one of the RFCs at 
http://www.iana.org/assignments/media-types/media-types.xhtml? Sorry I 
have not read them all.
If a preference, then it should be discussed on the NETCONF mailling list.

Regards, Benoit


>
> Best regards,
>
> Sean
>
>>
>>
>>     Regards, B.
>>
>>
>> Andy
>>
>>>
>>>
>>>     On Thu, Jun 9, 2016 at 7:34 PM, Mark Nottingham <mnot@mnot.net>
>>>     wrote:
>>>
>>>
>>>         > On 10 Jun 2016, at 12:15 PM, Sean Leonard
>>>         <dev+ietf@seantek.com <mailto:dev+ietf@seantek.com>> wrote:
>>>         >
>>>         > When it comes to Internet media types, "subtype" refers to
>>>         everything after the "/" and "type" refers to everything
>>>         prior to the "/".
>>>         >
>>>         > The field "Subtype name" is a field in the media type
>>>         registration template--its usage in those drafts is correct.
>>>
>>>         Even:
>>>
>>>         """
>>>         The parent MIME media type for RESTCONF resources is
>>>         application/yang, which is defined in [RFC6020].  This
>>>         document defines the following sub-types for this media type.
>>>         """
>>>
>>>         ? That seems to read as if "application/foo.bar" is a
>>>         subtype of "application/foo".
>>>
>>>
>>>
>>>     I can see from RFC 6838, 4.2 that we named all of our media
>>>     types incorrectly.
>>>
>>>     The media type application/yang just refers to UTF-8 text that
>>>     represents a YANG
>>>     module or submodule. It is expected to conform to the YANG syntax.
>>>
>>>     https://tools.ietf.org/html/rfc6020#section-14.1
>>>
>>>     We are incorrectly using this as a tree root for adding subtypes.
>>>
>>>     We want to create media types that conform to a particular YANG
>>>     schema.
>>>     We defined a YANG extension hack to define YANG data structures
>>>     for a media type
>>>     https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8
>>>     (see restconf-media-type)
>>>
>>>     Our IANA section for Media Sub Types is wrong
>>>
>>>     https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>>>
>>>     It appears we have to make a Media Type registration similar to
>>>     RFC 6020 14.1
>>>     for each of (what we call) the sub-types.
>>>
>>>          application/yang-api
>>>          application/yang-data
>>>          application/yang-datastore
>>>          application/yang-errors
>>>          application/yang-operation
>>>          application/yang-stream
>>>
>>>          application/yang-patch
>>>          application/yang-patch-status
>>>
>>>
>>>     Andy
>>>
>>>
>>>
>>>         >
>>>         > When referring to the construct as a whole, the term
>>>         "media type" is generally used, not "media subtype" or
>>>         "subtype". However, I suppose that "subtype" would be
>>>         technically correct (although not preferred) because
>>>         application/xml (for example) is actually a subtype of
>>>         application. Stylistically it should be called the media
>>>         type application/xml, etc.
>>>         >
>>>         > They should be called application/yang-api,
>>>         application/yang-patch, application/yang-patch-status, etc.
>>>         >
>>>         > I am assuming that YANG is referring specifically to the
>>>         language (akin to saying "C++" or "JavaScript"), and not
>>>         referring specifically to the structured syntax (akin to
>>>         saying "JSON"). If YANG is referring specifically to a
>>>         structured syntax, then the media types should end in +yang.
>>>         My knowledge of YANG is not deep enough to opine further on
>>>         this point.
>>>         >
>>>         > Regards,
>>>         >
>>>         > Sean
>>>         >
>>>         > On 6/9/2016 4:45 PM, Mark Nottingham wrote:
>>>         >> YANG is attempting to register a number of media types
>>>         that begin with "application/yang."; see:
>>>         >>
>>>         https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2
>>>         >>
>>>         https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3
>>>         >>
>>>         >> E.g., it calls "application/yang.api" a "subtype" of
>>>         "application/yang".
>>>         >>
>>>         >> I read RFC6838 to prohibit this, because the portion of a
>>>         subtype preceded by the first "." indicates the registration
>>>         tree in a facet, and faceted media types are prohibited from
>>>         being registered in the standards tree (unless they're
>>>         grandfathered in in Appendix A). Furthermore, the drafts'
>>>         use of "subtype" is erroneous.
>>>         >>
>>>         >> Is that understanding correct? If so, should they be
>>>         using different media types, or is there some other way to
>>>         accommodate what they want?
>>>         >>
>>>         >> Cheers,
>>>         >>
>>>         >>
>>>         >> --
>>>         >> Mark Nottingham https://www.mnot.net/
>>>         >>
>>>         >> _______________________________________________
>>>         >> media-types mailing list
>>>         >> media-types@ietf.org <mailto:media-types@ietf.org>
>>>         >> https://www.ietf.org/mailman/listinfo/media-types
>>>         >
>>>         >
>>>         >
>>>         > _______________________________________________
>>>         > media-types mailing list
>>>         > media-types@ietf.org <mailto:media-types@ietf.org>
>>>         > https://www.ietf.org/mailman/listinfo/media-types
>>>
>>>         --
>>>         Mark Nottingham https://www.mnot.net/
>>>
>>>
>>
>>
>>
>>
>> _______________________________________________
>> media-types mailing list
>> media-types@ietf.org
>> https://www.ietf.org/mailman/listinfo/media-types
>
>


--------------D379BDED6D65CD09A8085EAB
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 6/17/2016 2:59 PM, Sean Leonard
      wrote:<br>
    </div>
    <blockquote
      cite="mid:21851603-b224-2850-1ee1-a03ff4f350df@seantek.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="moz-cite-prefix">On 6/17/2016 4:42 AM, Andy Bierman
        wrote:<br>
      </div>
      <blockquote
cite="mid:CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com"
        type="cite">
        <div dir="ltr"><br>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Fri, Jun 17, 2016 at 12:36 AM,
              Benoit Claise <span dir="ltr">&lt;<a
                  moz-do-not-send="true" href="mailto:bclaise@cisco.com"
                  target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bclaise@cisco.com">bclaise@cisco.com</a></a>&gt;</span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000">
                  <div>I'm not sure what the conclusion is regarding
                    this email thread?<br>
                    Also, it should be time to include the NETCONF
                    community on this topic. <br>
                    Why not an email thread with both netconf and
                    media-types?<br>
                    <br>
                  </div>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>I am changing the media type name so that faceted
                names are not used.</div>
              <div><br>
              </div>
              <div>yang.foo becomes yang-foo<br>
              </div>
              <div><br>
              </div>
              <div>The IANA registration section is being redone to
                conform to RFC 6838</div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      <br>
      application/yang.foo -&gt; application/yang-foo<br>
      <br>
      corrects the faceted name problem, yes.<br>
      <br>
      However, the other point has not been addressed. I do not see a
      technical reason or justification for registering 8 media types,
      when application/yang; yangtype="foo" (api, data, datastore,
      errors, operation, stream, patch, patch-status) suffices. Please
      address.<br>
    </blockquote>
    Is this a constraint imposed by the media-type designated expert or
    a preference? <br>
    Maybe this is mentioned by one of the RFCs at
    <a class="moz-txt-link-freetext" href="http://www.iana.org/assignments/media-types/media-types.xhtml">http://www.iana.org/assignments/media-types/media-types.xhtml</a>? Sorry
    I have not read them all.<br>
    If a preference, then it should be discussed on the NETCONF mailling
    list.<br>
    <br>
    Regards, Benoit<br>
    <br>
    <br>
    <blockquote
      cite="mid:21851603-b224-2850-1ee1-a03ff4f350df@seantek.com"
      type="cite"> <br>
      Best regards,<br>
      <br>
      Sean<br>
      <br>
      <blockquote
cite="mid:CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div class="gmail_extra">
            <div class="gmail_quote">
              <div><br>
              </div>
              <div><br>
              </div>
              <div> </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000">
                  <div> Regards, B.<br>
                  </div>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>Andy</div>
              <div> </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000">
                  <div> </div>
                  <blockquote type="cite">
                    <div dir="ltr"><br>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On Thu, Jun 9, 2016 at
                          7:34 PM, Mark Nottingham <span dir="ltr">&lt;<a
                              moz-do-not-send="true"
                              class="moz-txt-link-abbreviated"
                              href="mailto:mnot@mnot.net"><a class="moz-txt-link-abbreviated" href="mailto:mnot@mnot.net">mnot@mnot.net</a></a>&gt;</span>
                          wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
                            &gt; On 10 Jun 2016, at 12:15 PM, Sean
                            Leonard &lt;<a moz-do-not-send="true"
                              href="mailto:dev+ietf@seantek.com"
                              target="_blank">dev+ietf@seantek.com</a>&gt;
                            wrote:<br>
                            &gt;<br>
                            &gt; When it comes to Internet media types,
                            "subtype" refers to everything after the "/"
                            and "type" refers to everything prior to the
                            "/".<br>
                            &gt;<br>
                            &gt; The field "Subtype name" is a field in
                            the media type registration template--its
                            usage in those drafts is correct.<br>
                            <br>
                            Even:<br>
                            <br>
                            """<br>
                            The parent MIME media type for RESTCONF
                            resources is application/yang, which is
                            defined in [RFC6020].  This document defines
                            the following sub-types for this media type.<br>
                            """<br>
                            <br>
                            ? That seems to read as if
                            "application/foo.bar" is a subtype of
                            "application/foo".<br>
                            <br>
                          </blockquote>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <div>I can see from RFC 6838, 4.2 that we
                            named all of our media types incorrectly.</div>
                          <div><br>
                          </div>
                          <div>The media type application/yang just
                            refers to UTF-8 text that represents a YANG</div>
                          <div>module or submodule. It is expected to
                            conform to the YANG syntax.</div>
                          <div><br>
                          </div>
                          <div><a moz-do-not-send="true"
                              href="https://tools.ietf.org/html/rfc6020#section-14.1"
                              target="_blank">https://tools.ietf.org/html/rfc6020#section-14.1</a><br>
                          </div>
                          <div><br>
                          </div>
                          <div>We are incorrectly using this as a tree
                            root for adding subtypes.</div>
                          <div><br>
                          </div>
                          <div>We want to create media types that
                            conform to a particular YANG schema.</div>
                          <div>We defined a YANG extension hack to
                            define YANG data structures for a media type</div>
                          <div><a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8"
                              target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-8</a><br>
                          </div>
                          <div>(see restconf-media-type)</div>
                          <div><br>
                          </div>
                          <div>Our IANA section for Media Sub Types is
                            wrong</div>
                          <div><br>
                          </div>
                          <div><a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3"
                              target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3</a><br>
                          </div>
                          <div><br>
                          </div>
                          <div>It appears we have to make a Media Type
                            registration similar to RFC 6020 14.1</div>
                          <div>for each of (what we call) the sub-types.</div>
                          <div><br>
                          </div>
                          <div>     application/yang-api</div>
                          <div>     application/yang-data</div>
                          <div>     application/yang-datastore<br>
                          </div>
                          <div>     application/yang-errors</div>
                          <div>     application/yang-operation</div>
                          <div>     application/yang-stream</div>
                          <div><br>
                          </div>
                          <div>     application/yang-patch</div>
                          <div>     application/yang-patch-status</div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <div>Andy</div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <blockquote class="gmail_quote"
                            style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
                            &gt;<br>
                            &gt; When referring to the construct as a
                            whole, the term "media type" is generally
                            used, not "media subtype" or "subtype".
                            However, I suppose that "subtype" would be
                            technically correct (although not preferred)
                            because application/xml (for example) is
                            actually a subtype of application.
                            Stylistically it should be called the media
                            type application/xml, etc.<br>
                            &gt;<br>
                            &gt; They should be called
                            application/yang-api,
                            application/yang-patch,
                            application/yang-patch-status, etc.<br>
                            &gt;<br>
                            &gt; I am assuming that YANG is referring
                            specifically to the language (akin to saying
                            "C++" or "JavaScript"), and not referring
                            specifically to the structured syntax (akin
                            to saying "JSON"). If YANG is referring
                            specifically to a structured syntax, then
                            the media types should end in +yang. My
                            knowledge of YANG is not deep enough to
                            opine further on this point.<br>
                            &gt;<br>
                            &gt; Regards,<br>
                            &gt;<br>
                            &gt; Sean<br>
                            &gt;<br>
                            &gt; On 6/9/2016 4:45 PM, Mark Nottingham
                            wrote:<br>
                            &gt;&gt; YANG is attempting to register a
                            number of media types that begin with
                            "application/yang."; see:<br>
                            &gt;&gt;   <a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2"
                              rel="noreferrer" target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-08#section-4.2</a><br>
                            &gt;&gt;   <a moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3"
                              rel="noreferrer" target="_blank">https://tools.ietf.org/html/draft-ietf-netconf-restconf-13#section-11.3</a><br>
                            &gt;&gt;<br>
                            &gt;&gt; E.g., it calls
                            "application/yang.api" a "subtype" of
                            "application/yang".<br>
                            &gt;&gt;<br>
                            &gt;&gt; I read RFC6838 to prohibit this,
                            because the portion of a subtype preceded by
                            the first "." indicates the registration
                            tree in a facet, and faceted media types are
                            prohibited from being registered in the
                            standards tree (unless they're grandfathered
                            in in Appendix A). Furthermore, the drafts'
                            use of "subtype" is erroneous.<br>
                            &gt;&gt;<br>
                            &gt;&gt; Is that understanding correct? If
                            so, should they be using different media
                            types, or is there some other way to
                            accommodate what they want?<br>
                            &gt;&gt;<br>
                            &gt;&gt; Cheers,<br>
                            &gt;&gt;<br>
                            &gt;&gt;<br>
                            &gt;&gt; --<br>
                            &gt;&gt; Mark Nottingham   <a
                              moz-do-not-send="true"
                              class="moz-txt-link-freetext"
                              href="https://www.mnot.net/"><a class="moz-txt-link-freetext" href="https://www.mnot.net/">https://www.mnot.net/</a></a><br>
                            &gt;&gt;<br>
                            &gt;&gt;
                            _______________________________________________<br>
                            &gt;&gt; media-types mailing list<br>
                            &gt;&gt; <a moz-do-not-send="true"
                              href="mailto:media-types@ietf.org"
                              target="_blank">media-types@ietf.org</a><br>
                            &gt;&gt; <a moz-do-not-send="true"
                              href="https://www.ietf.org/mailman/listinfo/media-types"
                              rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/media-types</a><br>
                            &gt;<br>
                            &gt;<br>
                            &gt;<br>
                            &gt;
                            _______________________________________________<br>
                            &gt; media-types mailing list<br>
                            &gt; <a moz-do-not-send="true"
                              href="mailto:media-types@ietf.org"
                              target="_blank">media-types@ietf.org</a><br>
                            &gt; <a moz-do-not-send="true"
                              href="https://www.ietf.org/mailman/listinfo/media-types"
                              rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/media-types</a><span
                              class="HOEnZb"><font color="#888888"><br>
                                <br>
                                --<br>
                                Mark Nottingham   <a
                                  moz-do-not-send="true"
                                  class="moz-txt-link-freetext"
                                  href="https://www.mnot.net/"><a class="moz-txt-link-freetext" href="https://www.mnot.net/">https://www.mnot.net/</a></a><br>
                                <br>
                              </font></span></blockquote>
                          <span class="HOEnZb"><font color="#888888"> </font></span></div>
                        <span class="HOEnZb"><font color="#888888"> <br>
                          </font></span></div>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
media-types mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:media-types@ietf.org">media-types@ietf.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/media-types">https://www.ietf.org/mailman/listinfo/media-types</a>
</pre>
      </blockquote>
      <p><br>
      </p>
    </blockquote>
    <br>
  </body>
</html>

--------------D379BDED6D65CD09A8085EAB--


From nobody Fri Jun 17 08:01:53 2016
Return-Path: <mark@coactus.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 57BCC12D6A5 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 08:01:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=coactus-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id feAOE9eJwbHS for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 08:01:51 -0700 (PDT)
Received: from pechora4.lax.icann.org (pechora4.icann.org [IPv6:2620:0:2d0:201::1:74]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9732012D6A1 for <media-types@ietf.org>; Fri, 17 Jun 2016 08:01:51 -0700 (PDT)
Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) by pechora4.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5HF1UMK024608 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Fri, 17 Jun 2016 15:01:51 GMT
Received: by mail-vk0-x232.google.com with SMTP id j2so119231707vkg.2 for <media-types@iana.org>; Fri, 17 Jun 2016 08:01:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coactus-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8fDUeFfV23w+z6y1KVm6+EntdF9p7exfEz1tfqmugZI=; b=qD9c2aVGzlZIO/DqUngHLbHrbT3yzp0jYmPfGCoIcpXfJ+EfK4ICzCG0mNRClQ8/wg rnNzhvD6YbPrepsUOAlHbZtn181fl7ybTUe3A6zDg9uK5LA3ZG7DyY60hlpXgAAVcGFu uPYL1MMPhH0czGqnLsMYsWx0EyTvRPdpzXkzdqb8RD8+vFlTYtpJqQmdUvTMwniHB5Ed bYUTRYb6NuypVcvLO2Dt5a0oqzzhmraz9QhCpsBC6Z0RL5+kQHPetPBIXBkEHzl2gDvq EBP8V19C5Q1pIjsaonw3fyYlyMsOKK7fZTGNNoaHfs/waYcY6x0AUar3WXkwB07HmgOL YIXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=8fDUeFfV23w+z6y1KVm6+EntdF9p7exfEz1tfqmugZI=; b=FPoygNn6inHEw/6kT5uo2YnVfHIfPj7I6Mb9NWBwZcLmkwYEmMM6BxKBw9DmxqE+a9 1deG0b4aIICJQYEcayA3mGC0Arc+HwGVEPL/rCtGi5swjoc/ck+uLqPF49FsQXi3R2bm 0vk3pwdnAGgEyzEnoXy1I5um1f8MoymRTzlUJ0p2JYu5HeDxbMKYVlpcITloIIyFQh8p feN9LF6K4z9BMVYDOFghPdmLgIgws0M9npNTojgkhkyLMvWgzt+shvkbicZVKdkNRnP6 7L3HsWWIVpqJ2Mp8vgxTWsdIDV3cmHL/qNmKs0mDJZbsRB4hwsUumKUPxz303+e6OzKt OIgQ==
X-Gm-Message-State: ALyK8tIE7/lEdXBM4CBgmUGB1/0DaPr7oZtAVhW9PfDad3P+zFVecG6l7UycLIm8vE64WikezbOllAM8CFcZiQ==
X-Received: by 10.176.1.86 with SMTP id 80mr1067856uak.65.1466175690203; Fri, 17 Jun 2016 08:01:30 -0700 (PDT)
MIME-Version: 1.0
Sender: mark@coactus.com
Received: by 10.159.53.70 with HTTP; Fri, 17 Jun 2016 08:01:28 -0700 (PDT)
X-Originating-IP: [23.233.58.109]
In-Reply-To: <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com>
From: Mark Baker <distobj@acm.org>
Date: Fri, 17 Jun 2016 11:01:28 -0400
X-Google-Sender-Auth: zr1NgReifOqHrWp5nSyhVb2Pnbs
Message-ID: <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com>
To: Sean Leonard <dev+ietf@seantek.com>
Content-Type: text/plain; charset=UTF-8
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora4.lax.icann.org [IPv6:2620:0:2d0:201::1:74]); Fri, 17 Jun 2016 15:01:51 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/9kU0M7mTYpepZcD1G4fUc_Bd3Hg>
Cc: Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, Andy Bierman <andy@yumaworks.com>, Mark Nottingham <mnot@mnot.net>, Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 15:01:52 -0000

On Fri, Jun 17, 2016 at 8:59 AM, Sean Leonard <dev+ietf@seantek.com> wrote:
> However, the other point has not been addressed. I do not see a technical
> reason or justification for registering 8 media types, when
> application/yang; yangtype="foo" (api, data, datastore, errors, operation,
> stream, patch, patch-status) suffices. Please address.

Each of those vocabularies are distinct languages with no - AFAICT -
compatibility defined between them. Parameters aren't meant to carry
additional typing info, though are occasionally used this way - in a
non-authoritative manner - for certain types of compound documents
(eg. media containers/codecs). That doesn't appear to apply here.


From nobody Fri Jun 17 09:09:11 2016
Return-Path: <paul@hoplahup.net>
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 3586112D7DF for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 09:09:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kNnNymJHzEUN for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 09:09:08 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 632F512D665 for <media-types@ietf.org>; Fri, 17 Jun 2016 09:09:07 -0700 (PDT)
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5HG8ifq029707 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Fri, 17 Jun 2016 16:09:05 GMT
Received: from deRahm.local ([80.187.107.66]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0Lc3GP-1bdcZP3EhR-00jWLG; Fri, 17 Jun 2016 18:08:39 +0200
Message-ID: <57642083.9080807@hoplahup.net>
Date: Fri, 17 Jun 2016 18:08:35 +0200
From: Paul Libbrecht <paul@hoplahup.net>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: Philippe Le Hegaret <plh@w3.org>
References: <5762B4A3.8080408@w3.org>
In-Reply-To: <5762B4A3.8080408@w3.org>
X-Enigmail-Version: 1.2.3
Content-Type: multipart/alternative; boundary="------------010409010105030405000708"
X-Provags-ID: V03:K0:A+q/+UvNQrdH2yzPY6A/ck5v4HiipA0vciIrcHDWujjSUSIXb+X uhnDjcfQFEn2i7E2go5F50F/5K5CtA3gWKIDY3jja4PKa3PWcDCOLb481ZXyDXGatV7fi0/ CXASE8j+omAlXYC12dbclLsVbRxHLT69tTpAwCiwEuU9ns02nF+x3DrUZtdJZ2V+WZ3s++6 fCiPEl1FaQnYwFn6La3oA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:FBek6XzBN2s=:iXNfwpNoPNuHYRsvlJYwWf SJI3r5c4fwjv+DrbQPerY/r1DsMSJ98e79e/98x/+wNT+eSALbf+RlGgU20AKrF6HmbvKAWDx wM5xSBWo6YkEtieMqofz2OvsPjklrpO68XrDRRPIVZqVj11x+WzaA1jubY0bkGx3Oa+WL/Qyo HmRif4TczLpozO1mC9hkbb51ZYQgeFs6TjE0eboLwIHdBceTCo4QmMfiNyoreSm2tL0nAb+4v A79rr8jBCFy/NXbjA1KXZQr9pBblJDsZoap/mEnnM8PdsdfnMAh450gK+4GogM720sqvtX/sD 6XoAk1uZD8E1h1Pt/hn8D8bQ1ShBDwRzKtGEWb5Sj/MFDXTsqSXbicZ50PTnlMtF/ZObLpGnq uYOgdAGrSS51RDZP7g1bFpTpkTblfpdwD7gkLe+c+HvC5VCrKFLQMp1I8LnkacpmGFq6fkVYv 3K9GDsIQjwZL+Kfc9jmT/cymrQqX41GpUyqF7dL6WGqwuqwxjUcl5V1rGvZL1HZPfTjKySx3j YiLURZVprc1QyNgVRC5Edh/SMj7cIWi/JEVn+dHF8eE3Cb5Jisp7cxhHLxcrIbWub7IoTxS73 FEVlM7Ya7TtVWeVooZz0n63RwyH5yJ2eRHDMQGKAY6lDXQz3BbVO3iSi4ZuXTUdE5hM8EqrAo RniDQaGnXDYd3D6ZY2UpiNx2bLHTOjQ7W6anAWpr5vlqDalZvOnKUsUEedy6MDQCjo5HxhhWO E/fa49Qontxl8vfgglIv9fwlrBX7IIWpAzrgUg==
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Fri, 17 Jun 2016 16:09:06 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/GmvBhAQ7dhB6L167s0cPZbtmX3w>
Cc: Timed Text Working Group <public-tt@w3.org>, media-types@iana.org, 'Michael Dolan' <mike@dolan.tv>
Subject: Re: [media-types] Update to media type "application/ttml+xml"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 16:09:10 -0000

This is a multi-part message in MIME format.
--------------010409010105030405000708
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Dear Philippe,

I could not find a complete information but it looks like TTML is a
format that could be contained in a clipboard. E.g. when transporting a
(piece of a) transcript from one document to another. Could I, thus,
suggest that you add below the Macintosh File type and such extra
information two fields:
- Windows clipboard flavour:
- MacOS uniform type identifier:
In order to find the right clipboard type names, a little bit of
research should be done on the existing practice.
Which tools exist out there which can accept or produce TTML?

thanks in advance.

Paul
> Philippe Le Hegaret <mailto:plh@w3.org>
> 16 June 2016 at 16:16
> The W3C Timed Text Working Group would like to update the media type
> "application/ttml+xml" as follows. Comments are welcome.
>
> It updates the media type, "application/ttml+xml" to add a new
> parameter, codecs. All other provisions of the media type
> specification remain the same. This supercedes the initial
> registration information in TTML 1.0 Second Edition.
>
> Text copied below but see also the original text at:
>  https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype
>
>
> [[
>
> Type name:
>
>     application
> Subtype name:
>
>     ttml+xml
> Required parameters:
>
>     None.
> Optional parameters:
>
>     charset
>
>         If specified, the charset parameter must match the XML
> encoding declaration, or if absent, the actual encoding. See also
> Encoding Considerations below.
>     profile
>
>         The document profile of a TTMLDocument Instance may be
> specified using an optional profile parameter, which, if specified,
> the value of which must adhere to the syntax and semantics of
> ttp:profile parameter defined by TTML 1.0 Second Edition, Section
> 6.2.8 ttp:profile of the published specification.
>
>     codecs
>
>         The optional codecs parameter provides a short form version of
> the profile parameter with multiple-profile combinatorial capability.
> If a short (4-character) form of a profile is registered in the TTML
> Profile Registry, it is recommended that this codecs parameter be used
> and not the profile parameter. The nominal value of this parameter is
> a single 4 character code from the registry.
>
>         Additionally, applications using the entries in the registry
> are encouraged to adopt the following combination syntax:
>
>         Employ two combination operators, '+' (AND) and '|' (OR),
> which may be used to specify, respectively, that multiple processor
> profiles apply (simultaneously) or that any processor profile of a
> list of profiles may apply individually. If both operators are used in
> a codecs value, then the '+' operator has precedence.
>
>         The example: "A+B|C+D|E" states that a TTML processor that
> implements any one of A+B or C+D or E processor profiles satisfies, at
> first order, the requirements to fetch and begin decode/processing of
> a TTML document, where X+Y means that both X and Y processor profiles
> must be supported, and X|Y means that either X or Y processor profile
> must be supported.
>
>         For more information about processor profile combination, see
> TTML2 Profile Combination.
>
> Encoding considerations:
>
>     Same for application/xml, except constrained to either UTF-8 or
> UTF-16. See IETF RFC 3023, XML Media Types, Section 3.2. For the
> purpose of filling out the IANA Application for Media Type
> (http://www.iana.org/cgi-bin/mediatypes.pl), the value binary applies.
> Security considerations:
>
>     As with other XML types and as noted in IETF RFC 3023, XML Media
> Types, Section 10, repeated expansion of maliciously constructed XML
> entities can be used to consume large amounts of memory, which may
> cause XML processors in constrained environments to fail.
>
>     In addition, because of the extensibility features for TTML and of
> XML in general, it is possible that "application/ttml+xml" may
> describe content that has security implications beyond those described
> here. However, TTML does not provide for any sort of active or
> executable content, and if the processor follows only the normative
> semantics of the published specification, this content will be outside
> TTML namespaces and may be ignored. Only in the case where the
> processor recognizes and processes the additional content, or where
> further processing of that content is dispatched to other processors,
> would security issues potentially arise. And in that case, they would
> fall outside the domain of this registration document.
>
>     Although not prohibited, there are no expectations that XML
> signatures or encryption would normally be employed.
> Interoperability considerations:
>
>     The published specification describes processing semantics that
> dictate behavior that must be followed when dealing with, among other
> things, unrecognized elements and attributes, both in TTML namespaces
> and in other namespaces.
>
>     Because TTML is extensible, conformant "application/ttml+xml"
> processors may expect (and enforce) that content received is
> well-formed XML, but it cannot be guaranteed that the content is valid
> to a particular DTD or Schema or that the processor will recognize all
> of the elements and attributes in the document.
> Published specification:
>
>     This media type registration is extracted from the TTML Profile
> Registry.
> Applications that use this media type:
>
>     TTML is used in the television industry for the purpose of
> authoring, transcoding and exchanging timed text information and for
> delivering captions, subtitles, and other metadata for television
> material repurposed for the Web or, more generally, the Internet.
>
>     There is partial and full support of TTML in components used by
> several Web browsers plugins, and in a number of caption authoring tools.
> Additional information:
>
>     Magic number(s):
>     File extension(s):
>
>         .ttml
>     Macintosh file type code(s):
>
>         "TTML"
>     Fragment identifiers:
>
>         For documents labeled as application/ttml+xml, the fragment
> identifier notation is intended to be used with xml:id attributes, as
> described in section 7.2.1 of the Timed Text Markup Language 1 (TTML1)
> specification.
>
> Person & email address to contact for further information:
>
>     Timed Text Working Group (public-tt@w3.org)
> Intended usage:
>
>     COMMON
> Restrictions on usage:
>
>     None
> Author:
>
>     The published specification is a work product of the World Wide
> Web Consortium's Timed Text (TT) Working Group.
> Change controller:
>
>     The W3C has change control over this specification.
> ]]
> https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype
>
> Thank you,
>
> Philippe
>
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types


--------------010409010105030405000708
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Dear Philippe,<br>
<br>
I could not find a complete information but it looks like TTML is a 
format that could be contained in a clipboard. E.g. when transporting a 
(piece of a) transcript from one document to another. Could I, thus, 
suggest that you add below the Macintosh File type and such extra 
information two fields:<br>
- Windows clipboard flavour:<br>
- MacOS uniform type identifier:<br>
In order to find the right clipboard type names, a little bit of 
research should be done on the existing practice.<br>
Which tools exist out there which can accept or produce TTML?<br>
<span>

</span><br>
thanks in advance.<br>
<br>
Paul<br>
<blockquote style="border: 0px none;" cite="mid:5762B4A3.8080408@w3.org"
 type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
   	<a moz-do-not-send="true" href="mailto:plh@w3.org" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Philippe Le Hegaret</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">16 
June 2016 at 16:16</span></font></div>    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">The W3C Timed Text Working 
Group would like to update the media type 
"application/ttml+xml" as follows. Comments are welcome.
<br>
<br>It updates the media type, "application/ttml+xml" to add a new 
parameter, codecs. All other provisions of the media type specification 
remain the same. This supercedes the initial registration information in
 
TTML 1.0 Second Edition.
<br>
<br>Text copied below but see also the original text at:
<br>&nbsp;<a class="moz-txt-link-freetext" href="https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype">https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype</a>
<br>
<br>[[
<br>
<br>Type name:
<br>
<br>&nbsp;&nbsp;&nbsp; application
<br>Subtype name:
<br>
<br>&nbsp;&nbsp;&nbsp; ttml+xml
<br>Required parameters:
<br>
<br>&nbsp;&nbsp;&nbsp; None.
<br>Optional parameters:
<br>
<br>&nbsp;&nbsp;&nbsp; charset
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If specified, the charset parameter must match the XML 
encoding 
declaration, or if absent, the actual encoding. See also Encoding 
Considerations below.
<br>&nbsp;&nbsp;&nbsp; profile
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The document profile of a TTMLDocument Instance may be 
specified using an optional profile parameter, which, if specified, the 
value of which must adhere to the syntax and semantics of ttp:profile 
parameter defined by TTML 1.0 Second Edition, Section 6.2.8 ttp:profile 
of the published specification.
<br>
<br>&nbsp;&nbsp;&nbsp; codecs
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The optional codecs parameter provides a short form version 
of 
the profile parameter with multiple-profile combinatorial capability. If
 
a short (4-character) form of a profile is registered in the TTML 
Profile Registry, it is recommended that this codecs parameter be used 
and not the profile parameter. The nominal value of this parameter is a 
single 4 character code from the registry.
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Additionally, applications using the entries in the registry
 
are encouraged to adopt the following combination syntax:
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Employ two combination operators, '+' (AND) and '|' (OR), 
which 
may be used to specify, respectively, that multiple processor profiles 
apply (simultaneously) or that any processor profile of a list of 
profiles may apply individually. If both operators are used in a codecs 
value, then the '+' operator has precedence.
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The example: "A+B|C+D|E" states that a TTML processor that 
implements any one of A+B or C+D or E processor profiles satisfies, at 
first order, the requirements to fetch and begin decode/processing of a 
TTML document, where X+Y means that both X and Y processor profiles must
 
be supported, and X|Y means that either X or Y processor profile must be
 
supported.
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For more information about processor profile combination, 
see 
TTML2 Profile Combination.
<br>
<br>Encoding considerations:
<br>
<br>&nbsp;&nbsp;&nbsp; Same for application/xml, except constrained to either UTF-8 or 
UTF-16. See IETF RFC 3023, XML Media Types, Section 3.2. For the purpose
 
of filling out the IANA Application for Media Type 
(<a class="moz-txt-link-freetext" href="http://www.iana.org/cgi-bin/mediatypes.pl">http://www.iana.org/cgi-bin/mediatypes.pl</a>), the value binary applies.
<br>Security considerations:
<br>
<br>&nbsp;&nbsp;&nbsp; As with other XML types and as noted in IETF RFC 3023, XML Media
 
Types, Section 10, repeated expansion of maliciously constructed XML 
entities can be used to consume large amounts of memory, which may cause
 
XML processors in constrained environments to fail.
<br>
<br>&nbsp;&nbsp;&nbsp; In addition, because of the extensibility features for TTML and 
of 
XML in general, it is possible that "application/ttml+xml" may describe 
content that has security implications beyond those described here. 
However, TTML does not provide for any sort of active or executable 
content, and if the processor follows only the normative semantics of 
the published specification, this content will be outside TTML 
namespaces and may be ignored. Only in the case where the processor 
recognizes and processes the additional content, or where further 
processing of that content is dispatched to other processors, would 
security issues potentially arise. And in that case, they would fall 
outside the domain of this registration document.
<br>
<br>&nbsp;&nbsp;&nbsp; Although not prohibited, there are no expectations that XML 
signatures or encryption would normally be employed.
<br>Interoperability considerations:
<br>
<br>&nbsp;&nbsp;&nbsp; The published specification describes processing semantics that 
dictate behavior that must be followed when dealing with, among other 
things, unrecognized elements and attributes, both in TTML namespaces 
and in other namespaces.
<br>
<br>&nbsp;&nbsp;&nbsp; Because TTML is extensible, conformant "application/ttml+xml" 
processors may expect (and enforce) that content received is well-formed
 
XML, but it cannot be guaranteed that the content is valid to a 
particular DTD or Schema or that the processor will recognize all of the
 
elements and attributes in the document.
<br>Published specification:
<br>
<br>&nbsp;&nbsp;&nbsp; This media type registration is extracted from the TTML Profile 
Registry.
<br>Applications that use this media type:
<br>
<br>&nbsp;&nbsp;&nbsp; TTML is used in the television industry for the purpose of 
authoring, transcoding and exchanging timed text information and for 
delivering captions, subtitles, and other metadata for television 
material repurposed for the Web or, more generally, the Internet.
<br>
<br>&nbsp;&nbsp;&nbsp; There is partial and full support of TTML in components used by 
several Web browsers plugins, and in a number of caption authoring 
tools.
<br>Additional information:
<br>
<br>&nbsp;&nbsp;&nbsp; Magic number(s):
<br>&nbsp;&nbsp;&nbsp; File extension(s):
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ttml
<br>&nbsp;&nbsp;&nbsp; Macintosh file type code(s):
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "TTML"
<br>&nbsp;&nbsp;&nbsp; Fragment identifiers:
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For documents labeled as application/ttml+xml, the fragment 
identifier notation is intended to be used with xml:id attributes, as 
described in section 7.2.1 of the Timed Text Markup Language 1 (TTML1) 
specification.
<br>
<br>Person &amp; email address to contact for further information:
<br>
<br>&nbsp;&nbsp;&nbsp; Timed Text Working Group (<a class="moz-txt-link-abbreviated" href="mailto:public-tt@w3.org">public-tt@w3.org</a>)
<br>Intended usage:
<br>
<br>&nbsp;&nbsp;&nbsp; COMMON
<br>Restrictions on usage:
<br>
<br>&nbsp;&nbsp;&nbsp; None
<br>Author:
<br>
<br>&nbsp;&nbsp;&nbsp; The published specification is a work product of the World Wide 
Web 
Consortium's Timed Text (TT) Working Group.
<br>Change controller:
<br>
<br>&nbsp;&nbsp;&nbsp; The W3C has change control over this specification.
<br>]]
<br><a class="moz-txt-link-freetext" href="https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype">https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype</a>
<br>
<br>Thank you,
<br>
<br>Philippe
<br>
<br>_______________________________________________
<br>media-types mailing list
<br><a class="moz-txt-link-abbreviated" href="mailto:media-types@ietf.org">media-types@ietf.org</a>
<br><a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/media-types">https://www.ietf.org/mailman/listinfo/media-types</a>
<br></div>
</blockquote>
<br>
</body></html>

--------------010409010105030405000708--


From nobody Fri Jun 17 09:47:45 2016
Return-Path: <ned.freed@mrochek.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 6B84C12D158 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 09:47:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.826
X-Spam-Level: 
X-Spam-Status: No, score=-1.826 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=mrochek.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lejp4m35ijJ4 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 09:47:43 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6739F12D85E for <media-types@ietf.org>; Fri, 17 Jun 2016 09:47:43 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5HGlMJH008564 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Fri, 17 Jun 2016 16:47:43 GMT
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q1HD8EK7M8010YMZ@mauve.mrochek.com> for media-types@iana.org; Fri, 17 Jun 2016 09:42:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1466181738; bh=NzH3NEKuAzj4ufYVihsyqjyGHvjXJFLoEabKVmkoCZs=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=QkYgPkXfDl80IxheL0HNZy3I0JrymSqAufuyseBsELQkA6krq9iG/XwnsqnM3vM0S Sxbp1BaF1S0Lm/8I/BA+sjs982nVVud6BQRSNUaQZgel5A2YSbUW84ca+qCfoOlCK6 +rbQgSUiYFMUSaglU7G1mo8xANn/YDBaxLE64RyI=
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN; CHARSET=us-ascii
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q17NM7WHC000005M@mauve.mrochek.com>; Fri, 17 Jun 2016 09:42:16 -0700 (PDT)
Message-id: <01Q1HD8CXX7A00005M@mauve.mrochek.com>
Date: Fri, 17 Jun 2016 09:36:47 -0700 (PDT)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Fri, 17 Jun 2016 11:01:28 -0400" <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com> <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com>
To: Mark Baker <distobj@acm.org>
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Fri, 17 Jun 2016 16:47:43 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/f_LSvtBAlfgACYSiuq7ESpZF0XE>
Cc: Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, Andy Bierman <andy@yumaworks.com>, Mark Nottingham <mnot@mnot.net>, Sean Leonard <dev+ietf@seantek.com>, Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 16:47:44 -0000

> On Fri, Jun 17, 2016 at 8:59 AM, Sean Leonard <dev+ietf@seantek.com> wrote:
> > However, the other point has not been addressed. I do not see a technical
> > reason or justification for registering 8 media types, when
> > application/yang; yangtype="foo" (api, data, datastore, errors, operation,
> > stream, patch, patch-status) suffices. Please address.

> Each of those vocabularies are distinct languages with no - AFAICT -
> compatibility defined between them. Parameters aren't meant to carry
> additional typing info, though are occasionally used this way - in a
> non-authoritative manner - for certain types of compound documents
> (eg. media containers/codecs). That doesn't appear to apply here.

If so, then it sounds to me like distinct types are entirely appropriate.

Generally speaking we try not to have more than one name for a given type - the
reasons for this are, I hope, obvious. If there's a need to carry information
externally to further label the type or control it's handling, that's what type
and disposition parameters are for.

That said, we have made exceptions in cases where types are used in  contexts
where additional external parameterization isn't possible. This has happened
several times, and it's why there's no hard rule requiring a single name
for a type.

				Ned


From nobody Fri Jun 17 09:58:44 2016
Return-Path: <andy@yumaworks.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 0DA9212D6A8 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 09:58:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fnsrHA6Oi3Fg for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 09:58:40 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8EE3D12D60B for <media-types@ietf.org>; Fri, 17 Jun 2016 09:58:40 -0700 (PDT)
Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5HGwJWE017528 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Fri, 17 Jun 2016 16:58:40 GMT
Received: by mail-vk0-x22d.google.com with SMTP id j2so123605800vkg.2 for <media-types@iana.org>; Fri, 17 Jun 2016 09:58:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=NjYYuAHWbSO7C0H6fJpTLzwTIqAvH2m37wvHUMsZlk8=; b=nPfuyquD79QgnPw4YNROuSpP7suuoGJupk5RS6L+DOAX4V462KBBbV2SkGT+i+5jkN MtPfZd2wRjraWlpQI6BW050qDMbP9UTolEJ/4xZBNjg2aP3VCv+ldvUxJI20jBNAG+1L uwStckrbjsU9PnDiGUCjZj1ZR8Le4fuNIm5OKk3MP0ZRmc4RgwX2xm5qoVzFD+3g1tFr rhH9jM0PbuWUV2fqnbpHY0fLJ8M3PtCemRAybB9ga72k3+ZIdl1ZPBN0fiy03ryStMQ8 AbZPjM72t/FZHWNG+vfnmCgJo0QJk+wv/6EwiI7qYYi5LfXm404oNVX3t2HB8OjEekAn hxCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=NjYYuAHWbSO7C0H6fJpTLzwTIqAvH2m37wvHUMsZlk8=; b=LZWA6RZKC/nirXL1mPA/v2uPaR7uHVZMQforgQ68QEh/wn5Yn0St91TKQbPMR/L4vs q9z+5ru7W50gUTcAlzmP/gxAsRpyOpoEQwIyFp9z3pUCwFkb57g19lUfPfxN/ky8s+Yg RZXX31yiQEkp2mBq7lDRnVEN17usDU45txHhHhApBqVIlToDdmLekdG5+CoqAtGilcVL vmckLn5Lzran+yY5AH3cm1T6/fwFxhfJfbyCJJ5+xjjZnzsQe9tzlBp/RlDRuqzCpIsX ge794W2Dlcm9C9ngvXugU9Xv8zTYfjq41HiWydcDP+SNEmLd95wT9+cOaS2QlMskNvjt wmMQ==
X-Gm-Message-State: ALyK8tI47+bqkJ9nNYd1TeFqkSwJ3fkQKolKf4fnAPtns9W6dzI/MA/zgTLq693ZZTP8qu+1ZXAvplCWnMXqVw==
MIME-Version: 1.0
X-Received: by 10.31.94.201 with SMTP id s192mr1551425vkb.89.1466182699481; Fri, 17 Jun 2016 09:58:19 -0700 (PDT)
Received: by 10.103.20.2 with HTTP; Fri, 17 Jun 2016 09:58:18 -0700 (PDT)
In-Reply-To: <01Q1HD8CXX7A00005M@mauve.mrochek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com> <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com> <01Q1HD8CXX7A00005M@mauve.mrochek.com>
Date: Fri, 17 Jun 2016 09:58:18 -0700
Message-ID: <CABCOCHSxvLm5rHg_OsofkBYZ87OcLLXzDP_DkheOPWxXGcfn3g@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Ned Freed <ned.freed@mrochek.com>
Content-Type: multipart/alternative; boundary=001a114e513cfaa30405357c42f3
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [IPv6:2620:0:2d0:201::1:73]); Fri, 17 Jun 2016 16:58:40 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/fxgf342bIv-ZWibWj7phcLEACpA>
Cc: Mark Baker <distobj@acm.org>, Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, Mark Nottingham <mnot@mnot.net>, Sean Leonard <dev+ietf@seantek.com>, Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 16:58:42 -0000

--001a114e513cfaa30405357c42f3
Content-Type: text/plain; charset=UTF-8

On Fri, Jun 17, 2016 at 9:36 AM, Ned Freed <ned.freed@mrochek.com> wrote:

> > On Fri, Jun 17, 2016 at 8:59 AM, Sean Leonard <dev+ietf@seantek.com>
> wrote:
> > > However, the other point has not been addressed. I do not see a
> technical
> > > reason or justification for registering 8 media types, when
> > > application/yang; yangtype="foo" (api, data, datastore, errors,
> operation,
> > > stream, patch, patch-status) suffices. Please address.
>
> > Each of those vocabularies are distinct languages with no - AFAICT -
> > compatibility defined between them. Parameters aren't meant to carry
> > additional typing info, though are occasionally used this way - in a
> > non-authoritative manner - for certain types of compound documents
> > (eg. media containers/codecs). That doesn't appear to apply here.
>
> If so, then it sounds to me like distinct types are entirely appropriate.
>
> Generally speaking we try not to have more than one name for a given type
> - the
> reasons for this are, I hope, obvious. If there's a need to carry
> information
> externally to further label the type or control it's handling, that's what
> type
> and disposition parameters are for.
>
> That said, we have made exceptions in cases where types are used in
> contexts
> where additional external parameterization isn't possible. This has
> happened
> several times, and it's why there's no hard rule requiring a single name
> for a type.
>


I would really like to simplify the registration.
Do I need 1 registration for +xml and another for +json?
If so, then there are 16 of these. So far.

They all share the common property that the instance document conforms
to a specific YANG "restconf-media-type". This is a YANG extension and
can be used in any YANG module, so there could be 100s or 1000s of these
that will never get registered.

If we could have 1 media type with a parameter, plus encoding, that would
be best.




>                                 Ned
>
>

Andy

--001a114e513cfaa30405357c42f3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Jun 17, 2016 at 9:36 AM, Ned Freed <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:ned.freed@mrochek.com" target=3D"_blank">ned.freed@mrochek.com<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; On Fri, Jun 17=
, 2016 at 8:59 AM, Sean Leonard &lt;<a href=3D"mailto:dev%2Bietf@seantek.co=
m" target=3D"_blank">dev+ietf@seantek.com</a>&gt; wrote:<br>
&gt; &gt; However, the other point has not been addressed. I do not see a t=
echnical<br>
&gt; &gt; reason or justification for registering 8 media types, when<br>
&gt; &gt; application/yang; yangtype=3D&quot;foo&quot; (api, data, datastor=
e, errors, operation,<br>
&gt; &gt; stream, patch, patch-status) suffices. Please address.<br>
<br>
&gt; Each of those vocabularies are distinct languages with no - AFAICT -<b=
r>
&gt; compatibility defined between them. Parameters aren&#39;t meant to car=
ry<br>
&gt; additional typing info, though are occasionally used this way - in a<b=
r>
&gt; non-authoritative manner - for certain types of compound documents<br>
&gt; (eg. media containers/codecs). That doesn&#39;t appear to apply here.<=
br>
<br>
If so, then it sounds to me like distinct types are entirely appropriate.<b=
r>
<br>
Generally speaking we try not to have more than one name for a given type -=
 the<br>
reasons for this are, I hope, obvious. If there&#39;s a need to carry infor=
mation<br>
externally to further label the type or control it&#39;s handling, that&#39=
;s what type<br>
and disposition parameters are for.<br>
<br>
That said, we have made exceptions in cases where types are used in=C2=A0 c=
ontexts<br>
where additional external parameterization isn&#39;t possible. This has hap=
pened<br>
several times, and it&#39;s why there&#39;s no hard rule requiring a single=
 name<br>
for a type.<br></blockquote><div><br></div><div><br></div><div>I would real=
ly like to simplify the registration.</div><div>Do I need 1 registration fo=
r +xml and another for +json?</div><div>If so, then there are 16 of these. =
So far.</div><div><br></div><div>They all share the common property that th=
e instance document conforms</div><div>to a specific YANG &quot;restconf-me=
dia-type&quot;. This is a YANG extension and</div><div>can be used in any Y=
ANG module, so there could be 100s or 1000s of these</div><div>that will ne=
ver get registered.</div><div><br></div><div>If we could have 1 media type =
with a parameter, plus encoding, that would be best.<br></div><div><br></di=
v><div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><font color=3D"#888888"><br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ned<br>
<br>
</font></span></blockquote></div><br></div><div class=3D"gmail_extra"><br><=
/div><div class=3D"gmail_extra">Andy</div><div class=3D"gmail_extra"><br></=
div></div>

--001a114e513cfaa30405357c42f3--


From nobody Fri Jun 17 16:22:06 2016
Return-Path: <andy@yumaworks.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 915DC12DC45 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 16:22:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vdI8INGKlFVn for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 16:22:04 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC39512D63C for <media-types@ietf.org>; Fri, 17 Jun 2016 16:22:03 -0700 (PDT)
Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5HNLgSb030320 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Fri, 17 Jun 2016 23:22:02 GMT
Received: by mail-vk0-x231.google.com with SMTP id u64so134584662vkf.3 for <media-types@iana.org>; Fri, 17 Jun 2016 16:22:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=gvI7v1MHpKE5FJW5/PrH3pGJg1crcWugLRbkPskXUyw=; b=O00MSg6HiFHbIJm9lvKo5L8U4Ta8dM8mhllPWIIzW3wbd7mDOUuYSqMpKe07QUZrZG fTEZ/M1+6n7QbXM0Xwm0PlIsAfwfnx0/8LMlqRthIJhKQbtktyn7cIAKtbX66y3wz4oy hILVJeywT9uLtP+4JGkjaln3cLDOMf4fnVSg0AzOCYO3Zzk/40YoPLXyLbA+uLHHGDaN RoqZAXR6spdL20xKenbPm95rasJaArYVO5MDhKybIDgQfZ11WQQh+BvK1jKWaeQN/eju LzVzHrtEecHOQ2Kmd3U3iye6T4QtGXLMr3GEj1yuX6v7MCXOWOJ9AqLENdLRouhKu7C1 SkdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=gvI7v1MHpKE5FJW5/PrH3pGJg1crcWugLRbkPskXUyw=; b=ehXGnB60nd20Frd7j81uG56zaFdUkpgdyCkXpEE1g4/x2buvpeSrXqCBiLkVqKTo38 dooOurhUkIWO5oOAFj+Ane3CJsDkRzDJJH67Sura3jV/y/hv7xHNmjPLUPyOn9eVlIEl 9rgsoS2vESuTD9ivka+ZrsxbQD9ziOQNfnjDlI6glTzMbz7YGHX7FHxqG2xf9RF28dor kkDPt6IdgoUmM9fXOzErYV6KafSs1LCn14VMh9gxFbCqy4ZDNsdg+7f+ErB2Cu2Qz9bK g0sJSQPmmvN3CZeZ68tEQgeW4lmiOEhy6VL5gYR2hMQ2fy7ZHQ9vY81GE6Z/ZzlhwuML sghQ==
X-Gm-Message-State: ALyK8tLvtH/0M2sBgpU8tg4X54p7iPTys0GdDNvUxdEmn1wsUKqxApCQ3OjK0lmgdSHYxZrdDGSlM1g2pj11cg==
MIME-Version: 1.0
X-Received: by 10.176.7.7 with SMTP id h7mr1954969uah.9.1466205702180; Fri, 17 Jun 2016 16:21:42 -0700 (PDT)
Received: by 10.103.20.2 with HTTP; Fri, 17 Jun 2016 16:21:42 -0700 (PDT)
In-Reply-To: <01Q1HD8CXX7A00005M@mauve.mrochek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com> <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com> <01Q1HD8CXX7A00005M@mauve.mrochek.com>
Date: Fri, 17 Jun 2016 16:21:42 -0700
Message-ID: <CABCOCHTLFGu6Y1i0rm1BsRg8UbcatxbzDXi52DFwdaD8a9CHiQ@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Ned Freed <ned.freed@mrochek.com>
Content-Type: multipart/alternative; boundary=94eb2c1229d80c01640535819e57
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [IPv6:2620:0:2830:201::1:71]); Fri, 17 Jun 2016 23:22:02 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/2ONLXI3kK7lEv7K-uOoHqifOAZc>
Cc: Mark Baker <distobj@acm.org>, Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, Mark Nottingham <mnot@mnot.net>, Sean Leonard <dev+ietf@seantek.com>, Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jun 2016 23:22:05 -0000

--94eb2c1229d80c01640535819e57
Content-Type: text/plain; charset=UTF-8

Hi,


We would like to support the restconf-media-type even from different YANG
modules:

module A {
   import ietf-restconf { prefix rc; }
   rc:restconf-media-type "foo" {
       container X { }
   }

}

module B {
   import ietf-restconf { prefix rc; }
   rc:restconf-media-type "foo" {
       container Y { }
   }

}



We cannot control usage of this YANG extension and therefore we cannot
prevent duplicates.
The current proposal will not work.

1 media type with a mandatory parameter "type" would work for what we need:

    application/yang-data+xml;type=A:foo

    application/yang-data+xml;type=B:foo

    application/yang-data+json;type=B:foo


Andy


On Fri, Jun 17, 2016 at 9:36 AM, Ned Freed <ned.freed@mrochek.com> wrote:

> > On Fri, Jun 17, 2016 at 8:59 AM, Sean Leonard <dev+ietf@seantek.com>
> wrote:
> > > However, the other point has not been addressed. I do not see a
> technical
> > > reason or justification for registering 8 media types, when
> > > application/yang; yangtype="foo" (api, data, datastore, errors,
> operation,
> > > stream, patch, patch-status) suffices. Please address.
>
> > Each of those vocabularies are distinct languages with no - AFAICT -
> > compatibility defined between them. Parameters aren't meant to carry
> > additional typing info, though are occasionally used this way - in a
> > non-authoritative manner - for certain types of compound documents
> > (eg. media containers/codecs). That doesn't appear to apply here.
>
> If so, then it sounds to me like distinct types are entirely appropriate.
>
> Generally speaking we try not to have more than one name for a given type
> - the
> reasons for this are, I hope, obvious. If there's a need to carry
> information
> externally to further label the type or control it's handling, that's what
> type
> and disposition parameters are for.
>
> That said, we have made exceptions in cases where types are used in
> contexts
> where additional external parameterization isn't possible. This has
> happened
> several times, and it's why there's no hard rule requiring a single name
> for a type.
>
>                                 Ned
>
>

--94eb2c1229d80c01640535819e57
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div><br></div><div>We would like to sup=
port the restconf-media-type even from different YANG modules:</div><div><b=
r></div><div>module A {</div><div>=C2=A0 =C2=A0import ietf-restconf { prefi=
x rc; }</div><div>=C2=A0 =C2=A0rc:restconf-media-type &quot;foo&quot; {</di=
v><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0container X { }</div><div>=C2=A0 =C2=A0}<=
/div><div><br></div><div>}</div><div><br></div><div><div>module B {</div><d=
iv>=C2=A0 =C2=A0import ietf-restconf { prefix rc; }<br></div><div>=C2=A0 =
=C2=A0rc:restconf-media-type &quot;foo&quot; {</div><div>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0container Y { }</div><div>=C2=A0 =C2=A0}</div><div><br></div><div=
>}</div><div><br></div></div><div><br></div><div><br></div><div>We cannot c=
ontrol usage of this YANG extension and therefore we cannot prevent duplica=
tes.</div><div>The current proposal will not work.</div><div><br></div><div=
>1 media type with a mandatory parameter &quot;type&quot; would work for wh=
at we need:</div><div><br></div><div>=C2=A0 =C2=A0 application/yang-data+xm=
l;type=3DA:foo</div><div><br></div><div>=C2=A0 =C2=A0 application/yang-data=
+xml;type=3DB:foo<br></div><div><br></div><div><div>=C2=A0 =C2=A0 applicati=
on/yang-data+json;type=3DB:foo<br></div></div><div><br></div><div><br></div=
><div>Andy</div><div><br></div></div><div class=3D"gmail_extra"><br><div cl=
ass=3D"gmail_quote">On Fri, Jun 17, 2016 at 9:36 AM, Ned Freed <span dir=3D=
"ltr">&lt;<a href=3D"mailto:ned.freed@mrochek.com" target=3D"_blank">ned.fr=
eed@mrochek.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt=
; On Fri, Jun 17, 2016 at 8:59 AM, Sean Leonard &lt;<a href=3D"mailto:dev%2=
Bietf@seantek.com">dev+ietf@seantek.com</a>&gt; wrote:<br>
&gt; &gt; However, the other point has not been addressed. I do not see a t=
echnical<br>
&gt; &gt; reason or justification for registering 8 media types, when<br>
&gt; &gt; application/yang; yangtype=3D&quot;foo&quot; (api, data, datastor=
e, errors, operation,<br>
&gt; &gt; stream, patch, patch-status) suffices. Please address.<br>
<br>
&gt; Each of those vocabularies are distinct languages with no - AFAICT -<b=
r>
&gt; compatibility defined between them. Parameters aren&#39;t meant to car=
ry<br>
&gt; additional typing info, though are occasionally used this way - in a<b=
r>
&gt; non-authoritative manner - for certain types of compound documents<br>
&gt; (eg. media containers/codecs). That doesn&#39;t appear to apply here.<=
br>
<br>
If so, then it sounds to me like distinct types are entirely appropriate.<b=
r>
<br>
Generally speaking we try not to have more than one name for a given type -=
 the<br>
reasons for this are, I hope, obvious. If there&#39;s a need to carry infor=
mation<br>
externally to further label the type or control it&#39;s handling, that&#39=
;s what type<br>
and disposition parameters are for.<br>
<br>
That said, we have made exceptions in cases where types are used in=C2=A0 c=
ontexts<br>
where additional external parameterization isn&#39;t possible. This has hap=
pened<br>
several times, and it&#39;s why there&#39;s no hard rule requiring a single=
 name<br>
for a type.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ned<br>
<br>
</font></span></blockquote></div><br></div>

--94eb2c1229d80c01640535819e57--


From mike@dolan.tv  Fri Jun 17 17:13:55 2016
Return-Path: <mike@dolan.tv>
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 4CB7212DC62 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 17:13:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.001, SPF_HELO_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=tbtinc.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e_REzq1YbeCb for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 17:13:52 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6FDF712DC5F for <media-types@ietf.org>; Fri, 17 Jun 2016 17:13:52 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0096.outbound.protection.outlook.com [157.56.110.96]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5I0DVNf002308 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Sat, 18 Jun 2016 00:13:51 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=TBTInc.onmicrosoft.com; s=selector1-dolan-tv; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8eNTIk8LY1Tvpps54+0xiuCss3JvhAIKzMZeE118KEA=; b=Cyfkmw4TEck1FYV32Sm4n6Dz9lsmDno7/K30WNvGIg1UDrzO8onnJZYmFT/BW9UiDQ0LS5mRPJgpN2jfmB283xSfDrbKVGFn+P9BSRy3hy47Vb578zKOviSaZduqjJZFICLhkMwWU3m93debzDGHuj+aVT5yWnaG6TMYKNdHQfc=
Received: from SN1PR10MB0494.namprd10.prod.outlook.com (10.162.103.142) by SN1PR10MB0493.namprd10.prod.outlook.com (10.162.103.141) with Microsoft SMTP Server (TLS) id 15.1.517.8; Fri, 17 Jun 2016 23:57:08 +0000
Received: from SN1PR10MB0494.namprd10.prod.outlook.com ([10.162.103.142]) by SN1PR10MB0494.namprd10.prod.outlook.com ([10.162.103.142]) with mapi id 15.01.0517.014; Fri, 17 Jun 2016 23:57:08 +0000
From: Michael Dolan <mike@dolan.tv>
To: "Eric Prud'hommeaux" <eric@w3.org>
Thread-Topic: [media-types] Update to media type "application/ttml+xml"
Thread-Index: AQHRyAq7636ub6Ez70K13lRk8lT965/uVO7w
Date: Fri, 17 Jun 2016 23:57:08 +0000
Message-ID: <SN1PR10MB04941CF8CD2E2E053DF9ABCEB4570@SN1PR10MB0494.namprd10.prod.outlook.com>
References: <5762B4A3.8080408@w3.org> <20160616200724.GC23703@w3.org>
In-Reply-To: <20160616200724.GC23703@w3.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=mike@dolan.tv; 
x-originating-ip: [2602:306:c40d:4ce0:9c20:7c6d:5d79:e93f]
x-ms-office365-filtering-correlation-id: 2d1a394e-6b01-4840-d108-08d3970b17cd
x-microsoft-exchange-diagnostics: 1; SN1PR10MB0493; 6:jNhlfnhI270zQrXJqAjylQC4wq+MJ2bXLOW8kCMXm5QeqFL5N0bDHVT7Maj9waleIHtAuXsjwEX25azSw9eYWpFkeCrULy5rx2l5PHGgfj7LpXFTv0bpdVeomgb6+mUXQXEDn+026cm27yazX4MRdI2OKervozqJozs+9AUJVF95aO9cFxaMz4I3swI2TedIf4qEDqlZA3JLYotFlkiZ7yGOdGkKlX3OrnbTaSDk1b8e4W09KAGquwzl0ecXGv+E78Bp7GN8876kHaG6/cIu2/343OAFxQP4bA6lf9e8httxXnMri3vWBc1BhCcgOfkp; 5:YwPtthJZqxy+JCmpVk7eJqrT9LPsOmgoJwkA9XF+kCRBcN4KSiZ16ncwCp2oFWWLodVBQwIlYB4wdGn4kPI3iR6Iei6MDmm5xl531rpfE6V0r64+hgeQDpreYZswD0tgXt7NaHU1jdOlX5BVYEIlgQ==; 24:e6C0BAJXmCtP0QL+VmtIE2cK19GfAPHta6uKJ2ODlHNxQnIrOr1LwZiLyolUUdHnnRYlI1SQLpsIg7B0Nsqi2XQGKGjs1raaeoAlhfSzVSQ=; 7:I/5MgopOzF1JcmsKN8ADtxnb3LGJaR8pRCIDx698WSOv3KF4ZdVWPzxKOhVEZUT/fupRPI30i+w5nS9tCNSVTSfBs+pFLpy0m+jhe+63XTvMw7Irb1hyVYb0DEvmsqN0mmUSFpadCrPnCZZQ1TjcBpzJMBNvObn2Rleyfu40BY+6Rob6V+mxE4rr1RtgpubqKh9z4LN3ZSGqZgj0ErZUUg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR10MB0493;
x-microsoft-antispam-prvs: <SN1PR10MB049331006A14AA9618CD0571B4570@SN1PR10MB0493.namprd10.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(278428928389397)(192374486261705)(131327999870524)(1591387915157); 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040130)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041072)(6043046); SRVR:SN1PR10MB0493; BCL:0; PCL:0; RULEID:; SRVR:SN1PR10MB0493; 
x-forefront-prvs: 09760A0505
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(13464003)(50854003)(584324002)(189002)(377454003)(52044002)(199003)(377424004)(92566002)(74316001)(15650500001)(2420400007)(5004730100002)(2906002)(8936002)(2950100001)(10710500007)(5002640100001)(106356001)(11100500001)(189998001)(86362001)(7110500001)(101416001)(106116001)(10400500002)(97736004)(110136002)(68736007)(99286002)(105586002)(33656002)(9686002)(4326007)(15975445007)(8676002)(19580395003)(19580405001)(31430400001)(74482002)(3660700001)(102836003)(586003)(122556002)(3280700002)(76176999)(81166006)(50986999)(54356999)(81156014)(5003600100002)(6116002)(76576001)(7846002)(87936001)(2900100001)(77096005)(3826002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR10MB0493; H:SN1PR10MB0494.namprd10.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords;  MX:1; A:0; CAT:NONE; LANG:en; CAT:NONE; 
received-spf: None (protection.outlook.com: dolan.tv does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: dolan.tv
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2016 23:57:08.7158 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: aa3afb1e-4be8-4304-a09b-de5a500856f3
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR10MB0493
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Sat, 18 Jun 2016 00:13:51 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/--g21Ng9kIAsxk3PQAQnYAuO2xs>
X-Mailman-Approved-At: Fri, 17 Jun 2016 19:44:26 -0700
Cc: Philippe Le Hegaret <plh@w3.org>, Timed Text Working Group <public-tt@w3.org>, "media-types@iana.org" <media-types@iana.org>
Subject: Re: [media-types] Update to media type "application/ttml+xml"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jun 2016 00:15:09 -0000

Hi Eric-

Thanks. I think I agree with your comment about "first order". It's either =
right or it isn't.  And what a robust decoder may wish to do if it detects =
that it is wrong (and also figures out what it really is) should be out of =
scope.

I'm not sure I follow your comment about the URL. TTML2 Table 6-3 needs the=
 text that precedes it to understand it.  Maybe I don't understand your com=
ment.

Thanks,
	Mike

-----Original Message-----
From: Eric Prud'hommeaux [mailto:eric@w3.org]=20
Sent: Thursday, June 16, 2016 1:07 PM
To: Michael Dolan <mike@dolan.tv>
Cc: media-types@iana.org; Timed Text Working Group <public-tt@w3.org>; Phil=
ippe Le Hegaret <plh@w3.org>
Subject: Re: [media-types] Update to media type "application/ttml+xml"

* Philippe Le Hegaret <plh@w3.org> [2016-06-16 10:16-0400]
> The W3C Timed Text Working Group would like to update the media type=20
> "application/ttml+xml" as follows. Comments are welcome.
>=20
> It updates the media type, "application/ttml+xml" to add a new=20
> parameter, codecs. All other provisions of the media type=20
> specification remain the same. This supercedes the initial=20
> registration information in TTML 1.0 Second Edition.
>=20
> Text copied below but see also the original text at:
> =20
> https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediat
> ype
>=20
> [[
>=20
> Type name:
>=20
>     application
> Subtype name:
>=20
>     ttml+xml
> Required parameters:
>=20
>     None.
> Optional parameters:
>=20
>     charset
>=20
>         If specified, the charset parameter must match the XML=20
> encoding declaration, or if absent, the actual encoding. See also=20
> Encoding Considerations below.
>     profile
>=20
>         The document profile of a TTMLDocument Instance may be=20
> specified using an optional profile parameter, which, if specified,=20
> the value of which must adhere to the syntax and semantics of=20
> ttp:profile parameter defined by TTML 1.0 Second Edition, Section=20
> 6.2.8 ttp:profile of the published specification.
>=20
>     codecs
>=20
>         The optional codecs parameter provides a short form version of=20
> the profile parameter with multiple-profile combinatorial capability.=20
> If a short
> (4-character) form of a profile is registered in the TTML Profile=20
> Registry, it is recommended that this codecs parameter be used and not=20
> the profile parameter. The nominal value of this parameter is a single=20
> 4 character code from the registry.
>=20
>         Additionally, applications using the entries in the registry=20
> are encouraged to adopt the following combination syntax:
>=20
>         Employ two combination operators, '+' (AND) and '|' (OR),=20
> which may be used to specify, respectively, that multiple processor=20
> profiles apply
> (simultaneously) or that any processor profile of a list of profiles=20
> may apply individually. If both operators are used in a codecs value,=20
> then the '+' operator has precedence.
>=20
>         The example: "A+B|C+D|E" states that a TTML processor that=20
> implements any one of A+B or C+D or E processor profiles satisfies, at=20
> first order, the requirements to fetch and begin decode/processing of=20
> a TTML

PLH indicated that "at first order" is something like an initial claim abou=
t the embedded codecs. Is it the intention that there be some sort of recov=
ery if that initial claim is incorrect? What should the processor do if the=
 advertised codec is ogg and the actual codec is xvid? If you strike "at fi=
rst order", I think you could avoid having to define the behavior in the ev=
ent of invalid parameters.


> document, where X+Y means that both X and Y processor profiles must be=20
> supported, and X|Y means that either X or Y processor profile must be=20
> supported.
>=20
>         For more information about processor profile combination, see=20
> TTML2 Profile Combination.

  "TTML2 Profile Comination" has no URL in the reg. The hyptertext version =
links to
    https://www.w3.org/TR/ttml2/#profile-attribute-processorProfileCombinat=
ion
  propose instead link to
    https://www.w3.org/TR/ttml2/#processor-profile-combination-table
  and embedding that link in ()s in the text.


> Encoding considerations:
>=20
>     Same for application/xml, except constrained to either UTF-8 or UTF-1=
6.
> See IETF RFC 3023, XML Media Types, Section 3.2. For the purpose of=20
> filling out the IANA Application for Media Type=20
> (http://www.iana.org/cgi-bin/mediatypes.pl), the value binary applies.
> Security considerations:
>=20
>     As with other XML types and as noted in IETF RFC 3023, XML Media=20
> Types, Section 10, repeated expansion of maliciously constructed XML=20
> entities can be used to consume large amounts of memory, which may=20
> cause XML processors in constrained environments to fail.
>=20
>     In addition, because of the extensibility features for TTML and of=20
> XML in general, it is possible that "application/ttml+xml" may=20
> describe content that has security implications beyond those described=20
> here. However, TTML does not provide for any sort of active or=20
> executable content, and if the processor follows only the normative=20
> semantics of the published specification, this content will be outside=20
> TTML namespaces and may be ignored. Only in the case where the=20
> processor recognizes and processes the additional content, or where=20
> further processing of that content is dispatched to other processors,=20
> would security issues potentially arise. And in that case, they would=20
> fall outside the domain of this registration document.
>=20
>     Although not prohibited, there are no expectations that XML=20
> signatures or encryption would normally be employed.
> Interoperability considerations:
>=20
>     The published specification describes processing semantics that=20
> dictate behavior that must be followed when dealing with, among other=20
> things, unrecognized elements and attributes, both in TTML namespaces=20
> and in other namespaces.
>=20
>     Because TTML is extensible, conformant "application/ttml+xml"=20
> processors may expect (and enforce) that content received is=20
> well-formed XML, but it cannot be guaranteed that the content is valid=20
> to a particular DTD or Schema or that the processor will recognize all=20
> of the elements and attributes in the document.
> Published specification:
>=20
>     This media type registration is extracted from the TTML Profile=20
> Registry.
> Applications that use this media type:
>=20
>     TTML is used in the television industry for the purpose of=20
> authoring, transcoding and exchanging timed text information and for=20
> delivering captions, subtitles, and other metadata for television=20
> material repurposed for the Web or, more generally, the Internet.
>=20
>     There is partial and full support of TTML in components used by=20
> several Web browsers plugins, and in a number of caption authoring tools.
> Additional information:
>=20
>     Magic number(s):
>     File extension(s):
>=20
>         .ttml
>     Macintosh file type code(s):
>=20
>         "TTML"
>     Fragment identifiers:
>=20
>         For documents labeled as application/ttml+xml, the fragment=20
> identifier notation is intended to be used with xml:id attributes, as=20
> described in section 7.2.1 of the Timed Text Markup Language 1 (TTML1)=20
> specification.
>=20
> Person & email address to contact for further information:
>=20
>     Timed Text Working Group (public-tt@w3.org) Intended usage:
>=20
>     COMMON
> Restrictions on usage:
>=20
>     None
> Author:
>=20
>     The published specification is a work product of the World Wide=20
> Web Consortium's Timed Text (TT) Working Group.
> Change controller:
>=20
>     The W3C has change control over this specification.
> ]]
> https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediat
> ype
>=20
> Thank you,
>=20
> Philippe
>=20
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types

--
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than em=
ail address distribution.

There are subtle nuances encoded in font variation and clever layout which =
can only be seen by printing this message on high-clay paper.


From nobody Fri Jun 17 19:44:32 2016
Return-Path: <ned.freed@mrochek.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 E975212DA46 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 19:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.126
X-Spam-Level: 
X-Spam-Status: No, score=-1.126 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=mrochek.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5dVmk16ilcPK for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 19:38:04 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6A8112D8CF for <media-types@ietf.org>; Fri, 17 Jun 2016 19:38:03 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5I2bgOa016709 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Sat, 18 Jun 2016 02:38:02 GMT
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q1HXUAFK28017H2B@mauve.mrochek.com> for media-types@iana.org; Fri, 17 Jun 2016 19:32:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1466217156; bh=n1JZ0Ust976vd5Cl9mgXNJp2+hZOBJ17r5PNcjfuAtI=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=OrjjwXLJACW8beUxBnCY3PrdV6LVPTui2BOBf8nObsebrU3UqVxUuLrJJFXQbutBa eK/LthgDbeD1aw69R5+SWq9SoleWbTsoemsdSsE0hoZYhA10QxUCqYGh9NaF5QNb/k HcEQ4pB798omQrznAkLote81LDn3C6c3tq/QiSCo=
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN; CHARSET=us-ascii
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q17NM7WHC000005M@mauve.mrochek.com>; Fri, 17 Jun 2016 19:32:32 -0700 (PDT)
Message-id: <01Q1HXU6VEXY00005M@mauve.mrochek.com>
Date: Fri, 17 Jun 2016 19:12:31 -0700 (PDT)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Fri, 17 Jun 2016 09:58:18 -0700" <CABCOCHSxvLm5rHg_OsofkBYZ87OcLLXzDP_DkheOPWxXGcfn3g@mail.gmail.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com> <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com> <01Q1HD8CXX7A00005M@mauve.mrochek.com> <CABCOCHSxvLm5rHg_OsofkBYZ87OcLLXzDP_DkheOPWxXGcfn3g@mail.gmail.com>
To: Andy Bierman <andy@yumaworks.com>
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Sat, 18 Jun 2016 02:38:03 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/zsdldkzUYKAEe3W-tESod_3FWxA>
X-Mailman-Approved-At: Fri, 17 Jun 2016 19:44:26 -0700
Cc: Mark Baker <distobj@acm.org>, Martin Bjorklund <mbj@tail-f.com>, Ned Freed <ned.freed@mrochek.com>, Mark Nottingham <mnot@mnot.net>, Sean Leonard <dev+ietf@seantek.com>, Benoit Claise <bclaise@cisco.com>, Kent Watsen <kwatsen@juniper.net>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jun 2016 02:38:05 -0000

> I would really like to simplify the registration.
> Do I need 1 registration for +xml and another for +json?

That's entirely dependent on how the types are used. If all of your
applications that use these types accept data in either format and don't
require external information to tell them what to do, then there's no need to
have separate types. (Of course you cannot use type suffixes in this case.)

But if applications are more selective and only support a specific format
or require external information to tell them what format to use or produce,
then that's an indication you need separate types.

There are past examples of both sorts of registrations - there was one recent
type that was available in half a dozen different formats. Whereas the choice
for CGM types many years ago was for separate types (3 distinct formats, as I
recall).

> If so, then there are 16 of these. So far.

So? Names are cheap.

> They all share the common property that the instance document conforms
> to a specific YANG "restconf-media-type". This is a YANG extension and
> can be used in any YANG module, so there could be 100s or 1000s of these
> that will never get registered.

This may argue for using internal labelling or perhaps a parameter to make
these distinctions, but I fail to see what this has to do with types using
different formats. I seriously doubt there are 100s or 1000s of +foos in play
here.

I also fail to see how this differs from the general situation surrounding
XML or JSON based types in general. We let people define separate types
when they need them but also have application/xml and application/json
available.

> If we could have 1 media type with a parameter, plus encoding, that would
> be best.

AFAICT that's an option. It's up to you, as designers of the base format, to
decide on the best labelling system. And note that you could have two base
types application/base+xml and application/base+json.

				Ned


From nobody Fri Jun 17 22:35:47 2016
Return-Path: <dev+ietf@seantek.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 B599712D972 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 22:35:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EmVPPucYej92 for <media-types@ietfa.amsl.com>; Fri, 17 Jun 2016 22:35:43 -0700 (PDT)
Received: from pechora7.dc.icann.org (pechora7.icann.org [IPv6:2620:0:2830:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 32D1D12D83F for <media-types@ietf.org>; Fri, 17 Jun 2016 22:35:43 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora7.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5I5ZMRQ028107 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Sat, 18 Jun 2016 05:35:42 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BDC22509B5; Sat, 18 Jun 2016 01:35:19 -0400 (EDT)
To: Andy Bierman <andy@yumaworks.com>, Ned Freed <ned.freed@mrochek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com> <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com> <01Q1HD8CXX7A00005M@mauve.mrochek.com> <CABCOCHTLFGu6Y1i0rm1BsRg8UbcatxbzDXi52DFwdaD8a9CHiQ@mail.gmail.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <90591544-1553-7443-7d5e-6de0ef65d575@seantek.com>
Date: Fri, 17 Jun 2016 22:35:50 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHTLFGu6Y1i0rm1BsRg8UbcatxbzDXi52DFwdaD8a9CHiQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------1E5FD13700AB63CF49BC90D6"
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (pechora7.dc.icann.org [192.0.46.73]); Sat, 18 Jun 2016 05:35:42 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/oOwtuax62p4VKTFWhdBH8QckNNU>
Cc: Mark Baker <distobj@acm.org>, Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, Mark Nottingham <mnot@mnot.net>, Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jun 2016 05:35:46 -0000

This is a multi-part message in MIME format.
--------------1E5FD13700AB63CF49BC90D6
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

I agree with Andy, based on my understanding of netconf/YANG.

(NB: I am not heavily involved with YANG, but I did read through the=20
specifications in arriving at these conclusions. I am also not the media =

types expert reviewer, but I have put a number of media types through.=20
Therefore my opinion is just that: an "informed opinion".)

YANG works on "YANG Modules"; a YANG module is a hierarchy of nodes that =

can include sub-modules. Each YANG module has its own vocabulary of=20
sorts. There are identifier strings for the modules and the nodes, so=20
that a YANG processor can figure out what the module is about, as long=20
as it knows that the data is YANG in the first place. There is "internal =

labeling".

YANG can be serialized as XML and JSON. There is also movement to=20
serialize it in CBOR.

Based on this description, +xml, +json, and (eventually) +cbor are=20
appropriate. By having separate media type (suffixes) for these, clients =

and servers can advertise the kinds of YANG they support. A constrained=20
device, for example, might only want to accept +cbor based YANG.

Andy and Ned made two counterpoints:
Andy: "If so, then there are 16 of these. So far. / They all share the=20
common property ... "restconf-media-type". This is a YANG extension and=20
can be used in any YANG module, so there could be 100s or 1000s of these =

that will never get registered. / If we could have 1 media type with a=20
parameter, plus encoding, that would be best."

Ned: So? Names are cheap.


There are two points here: burden of registration and burden on=20
implementations.
Names (media types) are indeed "cheap", in the sense that you just need=20
to fill out (properly) a registration template for each name, and=20
probably nobody is going to squat on anything after application/yang*=20
for things other than YANG/RESTCONF. (Note the "probably"--there is no=20
registration rule that says that YANG has dibs on everything starting=20
with application/yang* either.)

However, you do have to fill out registration templates for each one. So =

that would be 16+ registrations. And if indeed there are 100s or 1000s=20
of YANG module names, then you need 100s or 1000s of media type=20
registration templates. That seems like an unnecessary administrative=20
burden all around. Furthermore, the MIME/media type parser component has =

to be aware of these "100s or 1000s of names", which means duplicated cod=
e.

The underlying engineering questions are, how are YANG modules named and =

identified, and how does the set of YANG modules grow?

Is all YANG data is self-describing (assuming that it's YANG) in all=20
formats, namely, that somewhere at the beginning, some identifier=20
declares the module type, such as "ietf-restconf:errors" (JSON) and=20
'<errors xmlns=3D"urn:ietf:params:xml:ns:yang:ietf-restconf">' (XML)?

If so, then we have an analogous situation to application/cms and=20
application/pkcs7-mime, namely, the identifier is baked into the=20
container format, so it only needs one media type, and a parameter that=20
repeats the identifier can be optional (namely, as a "hint" to a MIME=20
parser without cracking open the contents).

If not, then either the parameter is required (to discriminate the=20
data), or you should consider registering multiple media types.


Another point (mainly @Andy): Are you proposing a difference between=20
application/yang and application/yang-data? What is the difference, if=20
anything?

Third point: If we go down the media type parameter route, can we reuse=20
an existing registry? I note that RFC 6020 establishes a "YANG Module=20
Names" registry=20
<http://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml>. =

This already has nice neat ASCII strings to use in the "Prefix (Modules=20
Only)" column. How about  considering using those?

Sean

On 6/17/2016 4:21 PM, Andy Bierman wrote:
> Hi,
>
>
> We would like to support the restconf-media-type even from different=20
> YANG modules:
>
> module A {
>    import ietf-restconf { prefix rc; }
>    rc:restconf-media-type "foo" {
>        container X { }
>    }
>
> }
>
> module B {
>    import ietf-restconf { prefix rc; }
>    rc:restconf-media-type "foo" {
>        container Y { }
>    }
>
> }
>
>
>
> We cannot control usage of this YANG extension and therefore we cannot =

> prevent duplicates.
> The current proposal will not work.
>
> 1 media type with a mandatory parameter "type" would work for what we=20
> need:
>
>     application/yang-data+xml;type=3DA:foo
>
>     application/yang-data+xml;type=3DB:foo
>
>     application/yang-data+json;type=3DB:foo
>
>
> Andy
>
>
> On Fri, Jun 17, 2016 at 9:36 AM, Ned Freed <ned.freed@mrochek.com=20
> <mailto:ned.freed@mrochek.com>> wrote:
>
>     > On Fri, Jun 17, 2016 at 8:59 AM, Sean Leonard
>     <dev+ietf@seantek.com <mailto:dev%2Bietf@seantek.com>> wrote:
>     > > However, the other point has not been addressed. I do not see
>     a technical
>     > > reason or justification for registering 8 media types, when
>     > > application/yang; yangtype=3D"foo" (api, data, datastore,
>     errors, operation,
>     > > stream, patch, patch-status) suffices. Please address.
>
>     > Each of those vocabularies are distinct languages with no - AFAIC=
T -
>     > compatibility defined between them. Parameters aren't meant to ca=
rry
>     > additional typing info, though are occasionally used this way - i=
n a
>     > non-authoritative manner - for certain types of compound document=
s
>     > (eg. media containers/codecs). That doesn't appear to apply here.=

>
>     If so, then it sounds to me like distinct types are entirely
>     appropriate.
>
>     Generally speaking we try not to have more than one name for a
>     given type - the
>     reasons for this are, I hope, obvious. If there's a need to carry
>     information
>     externally to further label the type or control it's handling,
>     that's what type
>     and disposition parameters are for.
>
>     That said, we have made exceptions in cases where types are used
>     in  contexts
>     where additional external parameterization isn't possible. This
>     has happened
>     several times, and it's why there's no hard rule requiring a
>     single name
>     for a type.
>
>                                     Ned
>
>
>
>
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types



--------------1E5FD13700AB63CF49BC90D6
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I agree with Andy, based on my
      understanding of netconf/YANG.<br>
      <br>
      (NB: I am not heavily involved with YANG, but I did read through
      the specifications in arriving at these conclusions. I am also not
      the media types expert reviewer, but I have put a number of media
      types through. Therefore my opinion is just that: an "informed
      opinion".)<br>
      <br>
      YANG works on "YANG Modules"; a YANG module is a hierarchy of
      nodes that can include sub-modules. Each YANG module has its own
      vocabulary of sorts. There are identifier strings for the modules
      and the nodes, so that a YANG processor can figure out what the
      module is about, as long as it knows that the data is YANG in the
      first place. There is "internal labeling".<br>
      <br>
      YANG can be serialized as XML and JSON. There is also movement to
      serialize it in CBOR.<br>
      <br>
      Based on this description, +xml, +json, and (eventually) +cbor are
      appropriate. By having separate media type (suffixes) for these,
      clients and servers can advertise the kinds of YANG they support.
      A constrained device, for example, might only want to accept +cbor
      based YANG.<br>
      <br>
      Andy and Ned made two counterpoints:<br>
      Andy: "If so, then there are 16 of these. So far. / They all share
      the common property ... "restconf-media-type". This is a YANG
      extension and can be used in any YANG module, so there could be
      100s or 1000s of these that will never get registered. / If we
      could have 1 media type with a parameter, plus encoding, that
      would be best."
      <pre wrap="">Ned: So? Names are cheap.
</pre>
      <br>
      There are two points here: burden of registration and burden on
      implementations.<br>
      Names (media types) are indeed "cheap", in the sense that you just
      need to fill out (properly) a registration template for each name,
      and probably nobody is going to squat on anything after
      application/yang* for things other than YANG/RESTCONF. (Note the
      "probably"--there is no registration rule that says that YANG has
      dibs on everything starting with application/yang* either.)<br>
      <br>
      However, you do have to fill out registration templates for each
      one. So that would be 16+ registrations. And if indeed there are
      100s or 1000s of YANG module names, then you need 100s or 1000s of
      media type registration templates. That seems like an unnecessary
      administrative burden all around. Furthermore, the MIME/media type
      parser component has to be aware of these "100s or 1000s of
      names", which means duplicated code.<br>
      <br>
      The underlying engineering questions are, how are YANG modules
      named and identified, and how does the set of YANG modules grow?<br>
      <br>
      Is all YANG data is self-describing (assuming that it's YANG) in
      all formats, namely, that somewhere at the beginning, some
      identifier declares the module type, such as
      "ietf-restconf:errors" (JSON) and '&lt;errors
      xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"&gt;' (XML)?<br>
      <br>
      If so, then we have an analogous situation to application/cms and
      application/pkcs7-mime, namely, the identifier is baked into the
      container format, so it only needs one media type, and a parameter
      that repeats the identifier can be optional (namely, as a "hint"
      to a MIME parser without cracking open the contents).<br>
      <br>
      If not, then either the parameter is required (to discriminate the
      data), or you should consider registering multiple media types.<br>
      <br>
      <br>
      Another point (mainly @Andy): Are you proposing a difference
      between application/yang and application/yang-data? What is the
      difference, if anything?<br>
      <br>
      Third point: If we go down the media type parameter route, can we
      reuse an existing registry? I note that RFC 6020 establishes a
      "YANG Module Names" registry
<a class="moz-txt-link-rfc2396E" href="http://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml">&lt;http://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml&gt;</a>.
      This already has nice neat ASCII strings to use in the "Prefix
      (Modules Only)" column. How about  considering using those?<br>
      <br>
      Sean<br>
      <br>
      On 6/17/2016 4:21 PM, Andy Bierman wrote:<br>
    </div>
    <blockquote
cite="mid:CABCOCHTLFGu6Y1i0rm1BsRg8UbcatxbzDXi52DFwdaD8a9CHiQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div><br>
        </div>
        <div>We would like to support the restconf-media-type even from
          different YANG modules:</div>
        <div><br>
        </div>
        <div>module A {</div>
        <div>   import ietf-restconf { prefix rc; }</div>
        <div>   rc:restconf-media-type "foo" {</div>
        <div>       container X { }</div>
        <div>   }</div>
        <div><br>
        </div>
        <div>}</div>
        <div><br>
        </div>
        <div>
          <div>module B {</div>
          <div>   import ietf-restconf { prefix rc; }<br>
          </div>
          <div>   rc:restconf-media-type "foo" {</div>
          <div>       container Y { }</div>
          <div>   }</div>
          <div><br>
          </div>
          <div>}</div>
          <div><br>
          </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>We cannot control usage of this YANG extension and
          therefore we cannot prevent duplicates.</div>
        <div>The current proposal will not work.</div>
        <div><br>
        </div>
        <div>1 media type with a mandatory parameter "type" would work
          for what we need:</div>
        <div><br>
        </div>
        <div>    application/yang-data+xml;type=A:foo</div>
        <div><br>
        </div>
        <div>    application/yang-data+xml;type=B:foo<br>
        </div>
        <div><br>
        </div>
        <div>
          <div>    application/yang-data+json;type=B:foo<br>
          </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Andy</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Jun 17, 2016 at 9:36 AM, Ned
          Freed <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:ned.freed@mrochek.com" target="_blank">ned.freed@mrochek.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; On
            Fri, Jun 17, 2016 at 8:59 AM, Sean Leonard &lt;<a
              moz-do-not-send="true"
              href="mailto:dev%2Bietf@seantek.com"><a class="moz-txt-link-abbreviated" href="mailto:dev+ietf@seantek.com">dev+ietf@seantek.com</a></a>&gt;
            wrote:<br>
            &gt; &gt; However, the other point has not been addressed. I
            do not see a technical<br>
            &gt; &gt; reason or justification for registering 8 media
            types, when<br>
            &gt; &gt; application/yang; yangtype="foo" (api, data,
            datastore, errors, operation,<br>
            &gt; &gt; stream, patch, patch-status) suffices. Please
            address.<br>
            <br>
            &gt; Each of those vocabularies are distinct languages with
            no - AFAICT -<br>
            &gt; compatibility defined between them. Parameters aren't
            meant to carry<br>
            &gt; additional typing info, though are occasionally used
            this way - in a<br>
            &gt; non-authoritative manner - for certain types of
            compound documents<br>
            &gt; (eg. media containers/codecs). That doesn't appear to
            apply here.<br>
            <br>
            If so, then it sounds to me like distinct types are entirely
            appropriate.<br>
            <br>
            Generally speaking we try not to have more than one name for
            a given type - the<br>
            reasons for this are, I hope, obvious. If there's a need to
            carry information<br>
            externally to further label the type or control it's
            handling, that's what type<br>
            and disposition parameters are for.<br>
            <br>
            That said, we have made exceptions in cases where types are
            used in  contexts<br>
            where additional external parameterization isn't possible.
            This has happened<br>
            several times, and it's why there's no hard rule requiring a
            single name<br>
            for a type.<br>
            <span class="HOEnZb"><font color="#888888"><br>
                                                Ned<br>
                <br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
media-types mailing list
<a class="moz-txt-link-abbreviated" href="mailto:media-types@ietf.org">media-types@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/media-types">https://www.ietf.org/mailman/listinfo/media-types</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------1E5FD13700AB63CF49BC90D6--


From nobody Sat Jun 18 10:28:36 2016
Return-Path: <andy@yumaworks.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 BCAE912D7C6 for <media-types@ietfa.amsl.com>; Sat, 18 Jun 2016 10:28:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4aD0aQpLKW02 for <media-types@ietfa.amsl.com>; Sat, 18 Jun 2016 10:28:31 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F29C12D7C1 for <media-types@ietf.org>; Sat, 18 Jun 2016 10:28:31 -0700 (PDT)
Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5IHSA8B007406 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Sat, 18 Jun 2016 17:28:31 GMT
Received: by mail-vk0-x22c.google.com with SMTP id u64so152079204vkf.3 for <media-types@iana.org>; Sat, 18 Jun 2016 10:28:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=9/myXxx7SFaogm5ooAkBtFuM8JhU7izI0gu4GI+egus=; b=z/nEr46ehL0CBieu0n3LeE7ytxh1ITOZLYZv92/5PR8DZg2nOSu3i/PL1/rOxteDUM LqvdNgJGuf6QIiQUwp+TjDZ8QiWPYUqAau5HX/nhLD8VhhJhhJQ9m781Y+pnykaxTH+8 i4p0DRewAMfq8oMgP6yqOuLfIjhn/XhLTAGc9DVJeCxkM2UolfVfyR+6qyeSJQbfBJ+O 1jI/0nIzCLkE/2QSw2jngXlt5qfLpcIu7cksTFDywk2a4y9a8ziUlxTHEfD2YvIOljUO e/PNM8/fjQJaq5VthlWpvJnUofT/0hWTXs/h6r6NIg2KX6DbUfevtKm9GywDTSDhmIKE GVZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=9/myXxx7SFaogm5ooAkBtFuM8JhU7izI0gu4GI+egus=; b=SwX8ZP6LGLVlEoJQ50csCNJ53kfQzDMC8nwQDK6ZZYGIgv6bSuPgOqMd8MqA/5KWJv GL9r5S9ES3KA2KFmY/DLlL5/T/Dc9p5Uqgnt/Z2ctUp6dRS9uYoIjmPNPK5vAcL8kSLi frzsFIZ4mpMKITzrUkeBIx8wCBX0VvAhuPs7PP78aU/FVG0cJgq45aqE0NfUd7k+iQsm fqDxOwUHDRNLkBTU4S0b2eqbMjb0YNbxag2z5a0UXmfdctITHEYYVkWcbQwxB7TW/GOu Lrq8U6DNyIQdpCOPzlwrCiKyhk7hKJC7IyTCPVdWmD3ZwTadGS5ICf6tJWK7e+IqCxB5 J6Zw==
X-Gm-Message-State: ALyK8tKFvzl55jQ7pAzUfAsmIRR8JFwpz8qwZIgt8pGiHEEtA3Zb3kfcR3/4LaDpfLmAuGh0pEL5ZRN/dpealg==
MIME-Version: 1.0
X-Received: by 10.31.201.194 with SMTP id z185mr3543333vkf.13.1466270890195; Sat, 18 Jun 2016 10:28:10 -0700 (PDT)
Received: by 10.103.20.2 with HTTP; Sat, 18 Jun 2016 10:28:10 -0700 (PDT)
In-Reply-To: <01Q1IRWHT1OU00005M@mauve.mrochek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com> <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com> <01Q1HD8CXX7A00005M@mauve.mrochek.com> <CABCOCHTLFGu6Y1i0rm1BsRg8UbcatxbzDXi52DFwdaD8a9CHiQ@mail.gmail.com> <90591544-1553-7443-7d5e-6de0ef65d575@seantek.com> <01Q1IRWHT1OU00005M@mauve.mrochek.com>
Date: Sat, 18 Jun 2016 10:28:10 -0700
Message-ID: <CABCOCHTO+BFNHBt87m+cxBgwucCGjLei77G-dNA8+jx0tiGn1w@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Ned Freed <ned.freed@mrochek.com>
Content-Type: multipart/alternative; boundary=001a114dde848e1997053590cb16
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [IPv6:2620:0:2d0:201::1:73]); Sat, 18 Jun 2016 17:28:31 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/xrg6kBmk4y1o9yNKnOClISrd1C4>
Cc: Mark Baker <distobj@acm.org>, Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, Mark Nottingham <mnot@mnot.net>, Sean Leonard <dev+ietf@seantek.com>, Benoit Claise <bclaise@cisco.com>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jun 2016 17:28:34 -0000

--001a114dde848e1997053590cb16
Content-Type: text/plain; charset=UTF-8

Hi,

Perhaps the simplest solution is to make the 16 registrations that are
known at this time.

The NETCONF WG is not actually chartered to support a generic solution for
the restconf-media-type extension.  The official list of RESTCONF
media-types
is not likely to grow.

It is not always self-evident from the method and request URI which schema
to use
for the message-body. (e.g., operation vs. data vs. datastore have
different schema contexts).

The existing YANG media types in RFC 6020 do not apply.
They refer to representations of YANG schema documents.
The restconf-media-type is for representations of YANG instance data.


Andy



On Sat, Jun 18, 2016 at 9:32 AM, Ned Freed <ned.freed@mrochek.com> wrote:

> YANG works on "YANG Modules"; a YANG module is a hierarchy of nodes that
>> can include sub-modules. Each YANG module has its own vocabulary of
>> sorts. There are identifier strings for the modules and the nodes, so
>> that a YANG processor can figure out what the module is about, as long
>> as it knows that the data is YANG in the first place. There is "internal
>> labeling".
>>
>
> Again, this seems very similar to the general situation with XML and JSON:
> An effectively infinite number of specific vocabularies, each with
> their own semantics, can be created.
>
> Our solution in this case has been to allow, but not require, the
> specification
> of separate types for different vocabularies, and to provide generic types
> when
> you don't want or need a specific type.
>
> Another alternative is to carry the information in a type parameter. This
> has
> been done several times as well, both as a mandatory parameter (appropriate
> when the type cannot be immediately deduced from the content), or optional
> (either as a hint or as an alternate label when the label in the content
> itself
> is optional).
>
> Given the incredibly wide diversity of XML-based and JSON-based types
> a parameter didn't seem apropriate. But YANG is much more limited in scope.
>
> YANG can be serialized as XML and JSON. There is also movement to
>> serialize it in CBOR.
>>
>
> Based on this description, +xml, +json, and (eventually) +cbor are
>> appropriate. By having separate media type (suffixes) for these, clients
>> and servers can advertise the kinds of YANG they support. A constrained
>> device, for example, might only want to accept +cbor based YANG.
>>
>
> This seems reasonable.
>
> Andy and Ned made two counterpoints:
>> Andy: "If so, then there are 16 of these. So far. / They all share the
>> common property ... "restconf-media-type". This is a YANG extension and
>> can be used in any YANG module, so there could be 100s or 1000s of these
>> that will never get registered. / If we could have 1 media type with a
>> parameter, plus encoding, that would be best."
>>
>
> Ned: So? Names are cheap.
>>
>
> You've missed my point, it seems, which was that the possibility of having
> many
> types is not in an of itself an argument against requiring separate type
> specifications. Nothing more.
>
> There are two points here: burden of registration and burden on
>> implementations.
>>
>
> Names (media types) are indeed "cheap", in the sense that you just need
>> to fill out (properly) a registration template for each name, and
>> probably nobody is going to squat on anything after application/yang*
>> for things other than YANG/RESTCONF. (Note the "probably"--there is no
>> registration rule that says that YANG has dibs on everything starting
>> with application/yang* either.)
>>
>
> However, you do have to fill out registration templates for each one. So
>> that would be 16+ registrations. And if indeed there are 100s or 1000s
>> of YANG module names, then you need 100s or 1000s of media type
>> registration templates. That seems like an unnecessary administrative
>> burden all around. Furthermore, the MIME/media type parser component has
>> to be aware of these "100s or 1000s of names", which means duplicated
>> code.
>>
>
> That's assuming current process rules. If a situation actually arose where
> there was a demonstrable need to register 1000s of separate types on an
> ongoing
> basis, I have no doubt it would also make sense to define a streamlined
> process
> of some sort.
>
> As for parser awareness, such a massive set of registrations would
> certainly
> include some sort of naming rule, and while I've learned not to expect too
> much
> from developers, I think special casing such a convention would likely be
> within the capabilites of most.
>
> All that said, and speaking entirely as an observer, I'm not seeing the
> case
> for separate types here. But that doesn't mean there isn't one to be made.
>
> The underlying engineering questions are, how are YANG modules named and
>> identified, and how does the set of YANG modules grow?
>>
>
> Exactly! And those are questions for the folks writing this specification.
>
> The type registration and review process provides a set of services that
> may
> (or may not) be of use here. And to the extent there are limitations on
> those
> services, it's important to recogize what those are so appropriate use can
> be
> made of what's available.
>
> But that's as far as it goes.
>
> Is all YANG data is self-describing (assuming that it's YANG) in all
>> formats, namely, that somewhere at the beginning, some identifier
>> declares the module type, such as "ietf-restconf:errors" (JSON) and
>> '<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">' (XML)?
>>
>
> If so, then we have an analogous situation to application/cms and
>> application/pkcs7-mime, namely, the identifier is baked into the
>> container format, so it only needs one media type, and a parameter that
>> repeats the identifier can be optional (namely, as a "hint" to a MIME
>> parser without cracking open the contents).
>>
>
> Right again.
>
> If not, then either the parameter is required (to discriminate the
>> data), or you should consider registering multiple media types.
>>
>
> Another point (mainly @Andy): Are you proposing a difference between
>> application/yang and application/yang-data? What is the difference, if
>> anything?
>>
>
> Third point: If we go down the media type parameter route, can we reuse
>> an existing registry? I note that RFC 6020 establishes a "YANG Module
>> Names" registry
>> <http://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml>.
>> This already has nice neat ASCII strings to use in the "Prefix (Modules
>> Only)" column. How about  considering using those?
>>
>
> Reusing an existing registry makes all sorts of sense IMO.
>
>                                 Ned
>

--001a114dde848e1997053590cb16
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Perhaps the simplest solution is to=
 make the 16 registrations that are known at this time.</div><div><br></div=
><div>The NETCONF WG is not actually chartered to support a generic solutio=
n for</div><div>the restconf-media-type extension.=C2=A0 The official list =
of RESTCONF media-types</div><div>is not likely to grow.</div><div><br></di=
v><div>It is not always self-evident from the method and request URI which =
schema to use</div><div>for the message-body. (e.g., operation vs. data vs.=
 datastore have different schema contexts).</div><div><br></div><div>The ex=
isting YANG media types in RFC 6020 do not apply.</div><div>They refer to r=
epresentations of YANG schema documents.</div><div>The restconf-media-type =
is for representations of YANG instance data.</div><div><br></div><div><br>=
</div><div>Andy</div><div><br></div><div><br></div></div><div class=3D"gmai=
l_extra"><br><div class=3D"gmail_quote">On Sat, Jun 18, 2016 at 9:32 AM, Ne=
d Freed <span dir=3D"ltr">&lt;<a href=3D"mailto:ned.freed@mrochek.com" targ=
et=3D"_blank">ned.freed@mrochek.com</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
YANG works on &quot;YANG Modules&quot;; a YANG module is a hierarchy of nod=
es that<br>
can include sub-modules. Each YANG module has its own vocabulary of<br>
sorts. There are identifier strings for the modules and the nodes, so<br>
that a YANG processor can figure out what the module is about, as long<br>
as it knows that the data is YANG in the first place. There is &quot;intern=
al<br>
labeling&quot;.<br>
</blockquote>
<br>
Again, this seems very similar to the general situation with XML and JSON:<=
br>
An effectively infinite number of specific vocabularies, each with<br>
their own semantics, can be created.<br>
<br>
Our solution in this case has been to allow, but not require, the specifica=
tion<br>
of separate types for different vocabularies, and to provide generic types =
when<br>
you don&#39;t want or need a specific type.<br>
<br>
Another alternative is to carry the information in a type parameter. This h=
as<br>
been done several times as well, both as a mandatory parameter (appropriate=
<br>
when the type cannot be immediately deduced from the content), or optional<=
br>
(either as a hint or as an alternate label when the label in the content it=
self<br>
is optional).<br>
<br>
Given the incredibly wide diversity of XML-based and JSON-based types<br>
a parameter didn&#39;t seem apropriate. But YANG is much more limited in sc=
ope.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
YANG can be serialized as XML and JSON. There is also movement to<br>
serialize it in CBOR.<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Based on this description, +xml, +json, and (eventually) +cbor are<br>
appropriate. By having separate media type (suffixes) for these, clients<br=
>
and servers can advertise the kinds of YANG they support. A constrained<br>
device, for example, might only want to accept +cbor based YANG.<br>
</blockquote>
<br>
This seems reasonable.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Andy and Ned made two counterpoints:<br>
Andy: &quot;If so, then there are 16 of these. So far. / They all share the=
<br>
common property ... &quot;restconf-media-type&quot;. This is a YANG extensi=
on and<br>
can be used in any YANG module, so there could be 100s or 1000s of these<br=
>
that will never get registered. / If we could have 1 media type with a<br>
parameter, plus encoding, that would be best.&quot;<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Ned: So? Names are cheap.<br>
</blockquote>
<br>
You&#39;ve missed my point, it seems, which was that the possibility of hav=
ing many<br>
types is not in an of itself an argument against requiring separate type<br=
>
specifications. Nothing more.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
There are two points here: burden of registration and burden on<br>
implementations.<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Names (media types) are indeed &quot;cheap&quot;, in the sense that you jus=
t need<br>
to fill out (properly) a registration template for each name, and<br>
probably nobody is going to squat on anything after application/yang*<br>
for things other than YANG/RESTCONF. (Note the &quot;probably&quot;--there =
is no<br>
registration rule that says that YANG has dibs on everything starting<br>
with application/yang* either.)<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
However, you do have to fill out registration templates for each one. So<br=
>
that would be 16+ registrations. And if indeed there are 100s or 1000s<br>
of YANG module names, then you need 100s or 1000s of media type<br>
registration templates. That seems like an unnecessary administrative<br>
burden all around. Furthermore, the MIME/media type parser component has<br=
>
to be aware of these &quot;100s or 1000s of names&quot;, which means duplic=
ated code.<br>
</blockquote>
<br>
That&#39;s assuming current process rules. If a situation actually arose wh=
ere<br>
there was a demonstrable need to register 1000s of separate types on an ong=
oing<br>
basis, I have no doubt it would also make sense to define a streamlined pro=
cess<br>
of some sort.<br>
<br>
As for parser awareness, such a massive set of registrations would certainl=
y<br>
include some sort of naming rule, and while I&#39;ve learned not to expect =
too much<br>
from developers, I think special casing such a convention would likely be<b=
r>
within the capabilites of most.<br>
<br>
All that said, and speaking entirely as an observer, I&#39;m not seeing the=
 case<br>
for separate types here. But that doesn&#39;t mean there isn&#39;t one to b=
e made.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
The underlying engineering questions are, how are YANG modules named and<br=
>
identified, and how does the set of YANG modules grow?<br>
</blockquote>
<br>
Exactly! And those are questions for the folks writing this specification.<=
br>
<br>
The type registration and review process provides a set of services that ma=
y<br>
(or may not) be of use here. And to the extent there are limitations on tho=
se<br>
services, it&#39;s important to recogize what those are so appropriate use =
can be<br>
made of what&#39;s available.<br>
<br>
But that&#39;s as far as it goes.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Is all YANG data is self-describing (assuming that it&#39;s YANG) in all<br=
>
formats, namely, that somewhere at the beginning, some identifier<br>
declares the module type, such as &quot;ietf-restconf:errors&quot; (JSON) a=
nd<br>
&#39;&lt;errors xmlns=3D&quot;urn:ietf:params:xml:ns:yang:ietf-restconf&quo=
t;&gt;&#39; (XML)?<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
If so, then we have an analogous situation to application/cms and<br>
application/pkcs7-mime, namely, the identifier is baked into the<br>
container format, so it only needs one media type, and a parameter that<br>
repeats the identifier can be optional (namely, as a &quot;hint&quot; to a =
MIME<br>
parser without cracking open the contents).<br>
</blockquote>
<br>
Right again.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
If not, then either the parameter is required (to discriminate the<br>
data), or you should consider registering multiple media types.<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Another point (mainly @Andy): Are you proposing a difference between<br>
application/yang and application/yang-data? What is the difference, if<br>
anything?<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Third point: If we go down the media type parameter route, can we reuse<br>
an existing registry? I note that RFC 6020 establishes a &quot;YANG Module<=
br>
Names&quot; registry<br>
&lt;<a href=3D"http://www.iana.org/assignments/yang-parameters/yang-paramet=
ers.xhtml" rel=3D"noreferrer" target=3D"_blank">http://www.iana.org/assignm=
ents/yang-parameters/yang-parameters.xhtml</a>&gt;.<br>
This already has nice neat ASCII strings to use in the &quot;Prefix (Module=
s<br>
Only)&quot; column. How about=C2=A0 considering using those?<br>
</blockquote>
<br>
Reusing an existing registry makes all sorts of sense IMO.<span class=3D"HO=
EnZb"><font color=3D"#888888"><br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ned<br>
</font></span></blockquote></div><br></div>

--001a114dde848e1997053590cb16--


From nobody Sat Jun 18 15:48:59 2016
Return-Path: <dev+ietf@seantek.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 3CFEE12DA4D for <media-types@ietfa.amsl.com>; Sat, 18 Jun 2016 15:48:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j-88266i5MtX for <media-types@ietfa.amsl.com>; Sat, 18 Jun 2016 15:48:56 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8504012D121 for <media-types@ietf.org>; Sat, 18 Jun 2016 15:48:56 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5IMmZI2029006 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Sat, 18 Jun 2016 22:48:55 GMT
Received: from [192.168.123.151] (unknown [75.83.2.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B1EBC509B5 for <media-types@iana.org>; Sat, 18 Jun 2016 18:48:34 -0400 (EDT)
From: Sean Leonard <dev+ietf@seantek.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Message-Id: <BAD6E5B0-0E7F-4F94-91E3-1815CA9E2871@seantek.com>
Date: Sat, 18 Jun 2016 15:48:37 -0700
To: media-types@iana.org
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Sat, 18 Jun 2016 22:48:55 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/44Cq0wPLxvH7Uzqpp1XFrEBtgqg>
Subject: [media-types] Is dot (.) basically reserved?
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jun 2016 22:48:58 -0000

Is it fair to say that the dot (.) is basically a reserved character as =
a delimiter for facet names in media types, but does that mean it =
can=E2=80=99t ever be used?

Suppose that I want to register a media type for X.690-encoded values =
(commonly known as BER, CER, DER) as a whole. (I am not actually going =
to do this, at least not for the time being. Working on other things...)

application/x.690 makes sense. (application/ber etc. do not make sense, =
because BER / CER / DER are basically the same. Similarly =
application/asn.1 does not make sense because this is an encoding of =
ASN.1, it=E2=80=99s not generic to ASN.1 as a whole.)

However, x. is reserved specifically according to Section 3.4. There is =
also Section 4.2.

What about application/itu.x.690 ? (Or application/itu-t.x.690?) =
Basically this would call for registering =E2=80=9Citu=E2=80=9D (or =
=E2=80=9Citu-t=E2=80=9D) as a facet, which requires Standards Action. =
Would subsequent dots then be allowed?

Thanks,

Sean=


From nobody Sat Jun 18 18:02:43 2016
Return-Path: <mnot@mnot.net>
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 3BE1C12DB36 for <media-types@ietfa.amsl.com>; Sat, 18 Jun 2016 18:02:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_PASS=-0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MZ8oLaDoDo7u for <media-types@ietfa.amsl.com>; Sat, 18 Jun 2016 18:02:39 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57EAF12D60E for <media-types@ietf.org>; Sat, 18 Jun 2016 18:02:39 -0700 (PDT)
Received: from fallback-in2.mxes.net (fallback-out2.mxes.net [216.86.168.191]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5J12IB1026749 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Sun, 19 Jun 2016 01:02:39 GMT
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in2.mxes.net (Postfix) with ESMTP id 0C9ED2FD7AF for <media-types@iana.org>; Sat, 18 Jun 2016 20:46:21 -0400 (EDT)
Received: from [192.168.1.109] (unknown [120.149.194.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CA10C22E253; Sat, 18 Jun 2016 20:45:39 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <BAD6E5B0-0E7F-4F94-91E3-1815CA9E2871@seantek.com>
Date: Sun, 19 Jun 2016 10:45:37 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <948288A7-3B88-44F3-815D-DEC2217D9F86@mnot.net>
References: <BAD6E5B0-0E7F-4F94-91E3-1815CA9E2871@seantek.com>
To: Sean Leonard <dev+ietf@seantek.com>
X-Mailer: Apple Mail (2.3124)
X-Greylist: Delayed for 00:15:57 by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Sun, 19 Jun 2016 01:02:39 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/5PHF-5mv5mDrov_cOh9sc1i_bwU>
Cc: media-types@iana.org
Subject: Re: [media-types] Is dot (.) basically reserved?
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 19 Jun 2016 01:02:41 -0000

> On 19 Jun 2016, at 8:48 AM, Sean Leonard <dev+ietf@seantek.com> wrote:
>=20
> Is it fair to say that the dot (.) is basically a reserved character =
as a delimiter for facet names in media types, but does that mean it =
can=E2=80=99t ever be used?

I think this question is the heart of the yang discussion. My reading is =
that it effectively is in standards tree registrations (since =
registrations in other trees will already have a dot to denote the facet =
and therefore registration tree), but this isn't made explicit AFAICT.

>=20
> Suppose that I want to register a media type for X.690-encoded values =
(commonly known as BER, CER, DER) as a whole. (I am not actually going =
to do this, at least not for the time being. Working on other things...)
>=20
> application/x.690 makes sense. (application/ber etc. do not make =
sense, because BER / CER / DER are basically the same. Similarly =
application/asn.1 does not make sense because this is an encoding of =
ASN.1, it=E2=80=99s not generic to ASN.1 as a whole.)
>=20
> However, x. is reserved specifically according to Section 3.4. There =
is also Section 4.2.
>=20
> What about application/itu.x.690 ? (Or application/itu-t.x.690?) =
Basically this would call for registering =E2=80=9Citu=E2=80=9D (or =
=E2=80=9Citu-t=E2=80=9D) as a facet, which requires Standards Action. =
Would subsequent dots then be allowed?

I see no reason to disallow them when there's already a facet -- unless =
that facet reserves them for some reason.


>=20
> Thanks,
>=20
> Sean
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types

--
Mark Nottingham   https://www.mnot.net/





From nobody Sun Jun 19 11:44:34 2016
Return-Path: <ned.freed@mrochek.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 5175512D6A9 for <media-types@ietfa.amsl.com>; Sun, 19 Jun 2016 11:44:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.664
X-Spam-Level: 
X-Spam-Status: No, score=0.664 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mrochek.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ZZc4-rOc9vB for <media-types@ietfa.amsl.com>; Sun, 19 Jun 2016 11:44:32 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8E4312D6A7 for <media-types@ietf.org>; Sun, 19 Jun 2016 11:44:32 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5JIiC3P024965 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Sun, 19 Jun 2016 18:44:32 GMT
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q1K9VZB56O004RFC@mauve.mrochek.com> for media-types@iana.org; Sun, 19 Jun 2016 11:39:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1466361549; bh=eacLibkADoUDhFVi3acdVN11iBohn4Z43xQRsquSjfI=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=UhpwYrwmWO0UXZ+Dq3ffyarg+p4bu5xvpiccbfduIBh+AI0wtWWJ1/rOFsZeVCtvL QSUMfXqwJASw28Av2LMLqovCDbamLy+Di0KEOvrds/EAjZS1A3rjlDeHMFjbfa0Q+n hHJntYeSZ534Rs6qT4xlygurEZLuJXYpTKXyi/Fs=
MIME-version: 1.0
Content-transfer-encoding: 8BIT
Content-type: TEXT/PLAIN; charset=utf-8
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q17NM7WHC000005M@mauve.mrochek.com>; Sun, 19 Jun 2016 11:39:08 -0700 (PDT)
Message-id: <01Q1K9VYEE0A00005M@mauve.mrochek.com>
Date: Sun, 19 Jun 2016 11:35:51 -0700 (PDT)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sat, 18 Jun 2016 15:48:37 -0700" <BAD6E5B0-0E7F-4F94-91E3-1815CA9E2871@seantek.com>
References: <BAD6E5B0-0E7F-4F94-91E3-1815CA9E2871@seantek.com>
To: Sean Leonard <dev+ietf@seantek.com>
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Sun, 19 Jun 2016 18:44:32 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/07B61Qmqh1IgB3IHWSLQF8YF5rk>
Cc: media-types@iana.org
Subject: Re: [media-types] Is dot (.) basically reserved?
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 19 Jun 2016 18:44:33 -0000

> Is it fair to say that the dot (.) is basically a reserved character as a
> delimiter for facet names in media types, but does that mean it canâ€™t ever be
> used?

It can't be used in unfaceted names, because using it would make them a faceted
name.

It can, however, be used in facted names, since the second and subsequent
occcurances have no special meaning.

Such are the vagarities of the naming scheme.

> Suppose that I want to register a media type for X.690-encoded values
> (commonly known as BER, CER, DER) as a whole. (I am not actually going to do
> this, at least not for the time being. Working on other things...)

> application/x.690 makes sense. (application/ber etc. do not make sense,
> because BER / CER / DER are basically the same. Similarly application/asn.1
> does not make sense because this is an encoding of ASN.1, itâ€™s not generic to
> ASN.1 as a whole.)

Sure does, but you can't register it. You have to make do with something
like x-690.

> However, x. is reserved specifically according to Section 3.4. There is also
> Section 4.2.

Exactly.

> What about application/itu.x.690 ? (Or application/itu-t.x.690?) Basically
> this would call for registering â€œituâ€� (or â€œitu-tâ€�) as a facet, which
> requires Standards Action. Would subsequent dots then be allowed?

Nope, won't work. There's no itu facet.

Now, you can argue that there should be a std. facet, so you can have
std.x.690. That was briefly discussed during the last revision process as I
recall, but there was no consensus to define it.

				Ned


From nobody Sun Jun 19 13:01:24 2016
Return-Path: <eric@w3.org>
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 9FBB112D7C6 for <media-types@ietfa.amsl.com>; Sun, 19 Jun 2016 13:01:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K99lTK5BXkuf for <media-types@ietfa.amsl.com>; Sun, 19 Jun 2016 13:01:21 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFBAB12D79D for <media-types@ietf.org>; Sun, 19 Jun 2016 13:01:20 -0700 (PDT)
Received: from raoul.w3.org (raoul.w3.org [IPv6:2001:470:8b2d:804:52:12:128:0]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5JK0xbH010052 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Sun, 19 Jun 2016 20:01:20 GMT
Received: from aclermont-ferrand-654-1-533-1.w90-4.abo.wanadoo.fr ([90.4.249.1] helo=w3.org) by raoul.w3.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <eric@w3.org>) id 1bEitt-000BNL-MB; Sun, 19 Jun 2016 20:00:58 +0000
Date: Sun, 19 Jun 2016 16:00:55 -0400
From: "Eric Prud'hommeaux" <eric@w3.org>
To: Michael Dolan <mike@dolan.tv>
Message-ID: <20160619200053.GG23703@w3.org>
References: <5762B4A3.8080408@w3.org> <20160616200724.GC23703@w3.org> <SN1PR10MB04941CF8CD2E2E053DF9ABCEB4570@SN1PR10MB0494.namprd10.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <SN1PR10MB04941CF8CD2E2E053DF9ABCEB4570@SN1PR10MB0494.namprd10.prod.outlook.com>
Organization: World Wide Web Consortium (W3C) - http://www.w3.org/
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [IPv6:2620:0:2d0:201::1:71]); Sun, 19 Jun 2016 20:01:20 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/nwEKz3NLEJ_Eoe9OZi0P6dTzECo>
Cc: Philippe Le Hegaret <plh@w3.org>, Timed Text Working Group <public-tt@w3.org>, "media-types@iana.org" <media-types@iana.org>
Subject: Re: [media-types] Update to media type "application/ttml+xml"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 19 Jun 2016 20:01:24 -0000

* Michael Dolan <mike@dolan.tv> [2016-06-17 23:57+0000]
> Hi Eric-
> 
> Thanks. I think I agree with your comment about "first order". It's either right or it isn't.  And what a robust decoder may wish to do if it detects that it is wrong (and also figures out what it really is) should be out of scope.
> 
> I'm not sure I follow your comment about the URL. TTML2 Table 6-3 needs the text that precedes it to understand it.  Maybe I don't understand your comment.

Boring editorial point that you should include the link in visible
text so it shows up in the registration. Otherwise the test/plain reg
just says "see TTML2 Profile Combination" without a link.

I get your point about referencing the previous paragraph rather than
just the table labeled "TTML2 Profile Combination".


> Thanks,
> 	Mike
> 
> -----Original Message-----
> From: Eric Prud'hommeaux [mailto:eric@w3.org] 
> Sent: Thursday, June 16, 2016 1:07 PM
> To: Michael Dolan <mike@dolan.tv>
> Cc: media-types@iana.org; Timed Text Working Group <public-tt@w3.org>; Philippe Le Hegaret <plh@w3.org>
> Subject: Re: [media-types] Update to media type "application/ttml+xml"
> 
> * Philippe Le Hegaret <plh@w3.org> [2016-06-16 10:16-0400]
> > The W3C Timed Text Working Group would like to update the media type 
> > "application/ttml+xml" as follows. Comments are welcome.
> > 
> > It updates the media type, "application/ttml+xml" to add a new 
> > parameter, codecs. All other provisions of the media type 
> > specification remain the same. This supercedes the initial 
> > registration information in TTML 1.0 Second Edition.
> > 
> > Text copied below but see also the original text at:
> >  
> > https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediat
> > ype
> > 
> > [[
> > 
> > Type name:
> > 
> >     application
> > Subtype name:
> > 
 >     ttml+xml
> > Required parameters:
> > 
> >     None.
> > Optional parameters:
> > 
> >     charset
> > 
> >         If specified, the charset parameter must match the XML 
> > encoding declaration, or if absent, the actual encoding. See also 
> > Encoding Considerations below.
> >     profile
> > 
> >         The document profile of a TTMLDocument Instance may be 
> > specified using an optional profile parameter, which, if specified, 
> > the value of which must adhere to the syntax and semantics of 
> > ttp:profile parameter defined by TTML 1.0 Second Edition, Section 
> > 6.2.8 ttp:profile of the published specification.
> > 
> >     codecs
> > 
> >         The optional codecs parameter provides a short form version of 
> > the profile parameter with multiple-profile combinatorial capability. 
> > If a short
> > (4-character) form of a profile is registered in the TTML Profile 
> > Registry, it is recommended that this codecs parameter be used and not 
> > the profile parameter. The nominal value of this parameter is a single 
> > 4 character code from the registry.
> > 
> >         Additionally, applications using the entries in the registry 
> > are encouraged to adopt the following combination syntax:
> > 
> >         Employ two combination operators, '+' (AND) and '|' (OR), 
> > which may be used to specify, respectively, that multiple processor 
> > profiles apply
> > (simultaneously) or that any processor profile of a list of profiles 
> > may apply individually. If both operators are used in a codecs value, 
> > then the '+' operator has precedence.
> > 
> >         The example: "A+B|C+D|E" states that a TTML processor that 
> > implements any one of A+B or C+D or E processor profiles satisfies, at 
> > first order, the requirements to fetch and begin decode/processing of 
> > a TTML
> 
> PLH indicated that "at first order" is something like an initial claim about the embedded codecs. Is it the intention that there be some sort of recovery if that initial claim is incorrect? What should the processor do if the advertised codec is ogg and the actual codec is xvid? If you strike "at first order", I think you could avoid having to define the behavior in the event of invalid parameters.
> 
> 
> > document, where X+Y means that both X and Y processor profiles must be 
> > supported, and X|Y means that either X or Y processor profile must be 
> > supported.
> > 
> >         For more information about processor profile combination, see 
> > TTML2 Profile Combination.
> 
>   "TTML2 Profile Comination" has no URL in the reg. The hyptertext version links to
>     https://www.w3.org/TR/ttml2/#profile-attribute-processorProfileCombination
>   propose instead link to
>     https://www.w3.org/TR/ttml2/#processor-profile-combination-table
>   and embedding that link in ()s in the text.
> 
> 
> > Encoding considerations:
> > 
> >     Same for application/xml, except constrained to either UTF-8 or UTF-16.
> > See IETF RFC 3023, XML Media Types, Section 3.2. For the purpose of 
> > filling out the IANA Application for Media Type 
> > (http://www.iana.org/cgi-bin/mediatypes.pl), the value binary applies.
> > Security considerations:
> > 
> >     As with other XML types and as noted in IETF RFC 3023, XML Media 
> > Types, Section 10, repeated expansion of maliciously constructed XML 
> > entities can be used to consume large amounts of memory, which may 
> > cause XML processors in constrained environments to fail.
> > 
> >     In addition, because of the extensibility features for TTML and of 
> > XML in general, it is possible that "application/ttml+xml" may 
> > describe content that has security implications beyond those described 
> > here. However, TTML does not provide for any sort of active or 
> > executable content, and if the processor follows only the normative 
> > semantics of the published specification, this content will be outside 
> > TTML namespaces and may be ignored. Only in the case where the 
> > processor recognizes and processes the additional content, or where 
> > further processing of that content is dispatched to other processors, 
> > would security issues potentially arise. And in that case, they would 
> > fall outside the domain of this registration document.
> > 
> >     Although not prohibited, there are no expectations that XML 
> > signatures or encryption would normally be employed.
> > Interoperability considerations:
> > 
> >     The published specification describes processing semantics that 
> > dictate behavior that must be followed when dealing with, among other 
> > things, unrecognized elements and attributes, both in TTML namespaces 
> > and in other namespaces.
> > 
> >     Because TTML is extensible, conformant "application/ttml+xml" 
> > processors may expect (and enforce) that content received is 
> > well-formed XML, but it cannot be guaranteed that the content is valid 
> > to a particular DTD or Schema or that the processor will recognize all 
> > of the elements and attributes in the document.
> > Published specification:
> > 
> >     This media type registration is extracted from the TTML Profile 
> > Registry.
> > Applications that use this media type:
> > 
> >     TTML is used in the television industry for the purpose of 
> > authoring, transcoding and exchanging timed text information and for 
> > delivering captions, subtitles, and other metadata for television 
> > material repurposed for the Web or, more generally, the Internet.
> > 
> >     There is partial and full support of TTML in components used by 
> > several Web browsers plugins, and in a number of caption authoring tools.
> > Additional information:
> > 
> >     Magic number(s):
> >     File extension(s):
> > 
> >         .ttml
> >     Macintosh file type code(s):
> > 
> >         "TTML"
> >     Fragment identifiers:
> > 
> >         For documents labeled as application/ttml+xml, the fragment 
> > identifier notation is intended to be used with xml:id attributes, as 
> > described in section 7.2.1 of the Timed Text Markup Language 1 (TTML1) 
> > specification.
> > 
> > Person & email address to contact for further information:
> > 
> >     Timed Text Working Group (public-tt@w3.org) Intended usage:
> > 
> >     COMMON
> > Restrictions on usage:
> > 
> >     None
> > Author:
> > 
> >     The published specification is a work product of the World Wide 
> > Web Consortium's Timed Text (TT) Working Group.
> > Change controller:
> > 
> >     The W3C has change control over this specification.
> > ]]
> > https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediat
> > ype
> > 
> > Thank you,
> > 
> > Philippe
> > 
> > _______________________________________________
> > media-types mailing list
> > media-types@ietf.org
> > https://www.ietf.org/mailman/listinfo/media-types
> 
> --
> -ericP
> 
> office: +1.617.599.3509
> mobile: +33.6.80.80.35.59
> 
> (eric@w3.org)
> Feel free to forward this message to any list for any purpose other than email address distribution.
> 
> There are subtle nuances encoded in font variation and clever layout which can only be seen by printing this message on high-clay paper.

-- 
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

There are subtle nuances encoded in font variation and clever layout
which can only be seen by printing this message on high-clay paper.


From nobody Mon Jun 20 01:16:18 2016
Return-Path: <ned.freed@mrochek.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 992F912D794 for <media-types@ietfa.amsl.com>; Sat, 18 Jun 2016 09:58:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.126
X-Spam-Level: 
X-Spam-Status: No, score=-1.126 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665, T_DKIM_INVALID=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=mrochek.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aYtLrX-X9Woq for <media-types@ietfa.amsl.com>; Sat, 18 Jun 2016 09:58:52 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 150D112D78B for <media-types@ietf.org>; Sat, 18 Jun 2016 09:58:52 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5IGwVab005662 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Sat, 18 Jun 2016 16:58:51 GMT
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q1IRWJWG28000ES2@mauve.mrochek.com> for media-types@iana.org; Sat, 18 Jun 2016 09:53:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1466268805; bh=XkgR3DwKCgUA3ZOJlbtYIaYnKiV5Jt1zZ9z1znqpoc4=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=KyWrc8uIYKE5kH+KBf/6rgrgr69n/DvMJD6jY1LsyEsFEWbqF4YVbXvqJlW4Vyvl2 u33RjJbkzWuD1JPHLp6iRm4IIkMCRTd3jhKgrp+v8jJgUVhE6+ZHGvpTXgESTKuygq HXXTptrx/5YJLh6z/vsOerr+J5jejay9HreJ/7Xw=
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN; CHARSET=us-ascii; format=flowed
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q17NM7WHC000005M@mauve.mrochek.com>; Sat, 18 Jun 2016 09:53:23 -0700 (PDT)
Message-id: <01Q1IRWHT1OU00005M@mauve.mrochek.com>
Date: Sat, 18 Jun 2016 09:32:03 -0700 (PDT)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Fri, 17 Jun 2016 22:35:50 -0700" <90591544-1553-7443-7d5e-6de0ef65d575@seantek.com>
References: <0B7A073C-5F90-4793-855F-77334327A254@mnot.net> <6c78740d-70be-abab-4df2-58e4c4abb873@seantek.com> <B01A2544-BA37-45B0-B9C6-C3CE457E4445@mnot.net> <CABCOCHQMEODYiiHTyjdHe6bqt2u9vi1NZK+sdatv20ExiOnAew@mail.gmail.com> <8330e51a-8f62-aad1-2d20-2c9c7db811f1@cisco.com> <CABCOCHQYGjjZZH8sxxhdnBXJYGY+YfpukmOeLK0_M_huvLa6hg@mail.gmail.com> <21851603-b224-2850-1ee1-a03ff4f350df@seantek.com> <CALcoZirqABSFGGxA+=A0ApfHmhCz8dmK+aifsHHPqV70usRGJA@mail.gmail.com> <01Q1HD8CXX7A00005M@mauve.mrochek.com> <CABCOCHTLFGu6Y1i0rm1BsRg8UbcatxbzDXi52DFwdaD8a9CHiQ@mail.gmail.com> <90591544-1553-7443-7d5e-6de0ef65d575@seantek.com>
To: Sean Leonard <dev+ietf@seantek.com>
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [192.0.33.73]); Sat, 18 Jun 2016 16:58:51 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/Xe4Y0vSg-jYSx9hsCO4ea9HVEfg>
X-Mailman-Approved-At: Mon, 20 Jun 2016 01:16:17 -0700
Cc: Mark Baker <distobj@acm.org>, Martin Bjorklund <mbj@tail-f.com>, Ned Freed <ned.freed@mrochek.com>, Andy Bierman <andy@yumaworks.com>, Mark Nottingham <mnot@mnot.net>, Benoit Claise <bclaise@cisco.com>, Kent Watsen <kwatsen@juniper.net>, "media-types@iana.org" <media-types@iana.org>, "netconf-chairs@tools.ietf.org" <netconf-chairs@tools.ietf.org>
Subject: Re: [media-types] Subtypes and registration trees
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jun 2016 16:58:53 -0000

> YANG works on "YANG Modules"; a YANG module is a hierarchy of nodes that
> can include sub-modules. Each YANG module has its own vocabulary of
> sorts. There are identifier strings for the modules and the nodes, so
> that a YANG processor can figure out what the module is about, as long
> as it knows that the data is YANG in the first place. There is "internal
> labeling".

Again, this seems very similar to the general situation with XML and JSON:
An effectively infinite number of specific vocabularies, each with
their own semantics, can be created.

Our solution in this case has been to allow, but not require, the specification
of separate types for different vocabularies, and to provide generic types when
you don't want or need a specific type.

Another alternative is to carry the information in a type parameter. This has
been done several times as well, both as a mandatory parameter (appropriate
when the type cannot be immediately deduced from the content), or optional
(either as a hint or as an alternate label when the label in the content itself
is optional).

Given the incredibly wide diversity of XML-based and JSON-based types
a parameter didn't seem apropriate. But YANG is much more limited in scope.

> YANG can be serialized as XML and JSON. There is also movement to
> serialize it in CBOR.

> Based on this description, +xml, +json, and (eventually) +cbor are
> appropriate. By having separate media type (suffixes) for these, clients
> and servers can advertise the kinds of YANG they support. A constrained
> device, for example, might only want to accept +cbor based YANG.

This seems reasonable.

> Andy and Ned made two counterpoints:
> Andy: "If so, then there are 16 of these. So far. / They all share the
> common property ... "restconf-media-type". This is a YANG extension and
> can be used in any YANG module, so there could be 100s or 1000s of these
> that will never get registered. / If we could have 1 media type with a
> parameter, plus encoding, that would be best."

> Ned: So? Names are cheap.

You've missed my point, it seems, which was that the possibility of having many
types is not in an of itself an argument against requiring separate type
specifications. Nothing more.

> There are two points here: burden of registration and burden on
> implementations.

> Names (media types) are indeed "cheap", in the sense that you just need
> to fill out (properly) a registration template for each name, and
> probably nobody is going to squat on anything after application/yang*
> for things other than YANG/RESTCONF. (Note the "probably"--there is no
> registration rule that says that YANG has dibs on everything starting
> with application/yang* either.)

> However, you do have to fill out registration templates for each one. So
> that would be 16+ registrations. And if indeed there are 100s or 1000s
> of YANG module names, then you need 100s or 1000s of media type
> registration templates. That seems like an unnecessary administrative
> burden all around. Furthermore, the MIME/media type parser component has
> to be aware of these "100s or 1000s of names", which means duplicated code.

That's assuming current process rules. If a situation actually arose where
there was a demonstrable need to register 1000s of separate types on an ongoing
basis, I have no doubt it would also make sense to define a streamlined process
of some sort.

As for parser awareness, such a massive set of registrations would certainly
include some sort of naming rule, and while I've learned not to expect too much
from developers, I think special casing such a convention would likely be
within the capabilites of most.

All that said, and speaking entirely as an observer, I'm not seeing the case
for separate types here. But that doesn't mean there isn't one to be made.

> The underlying engineering questions are, how are YANG modules named and
> identified, and how does the set of YANG modules grow?

Exactly! And those are questions for the folks writing this specification.

The type registration and review process provides a set of services that may
(or may not) be of use here. And to the extent there are limitations on those
services, it's important to recogize what those are so appropriate use can be
made of what's available.

But that's as far as it goes.

> Is all YANG data is self-describing (assuming that it's YANG) in all
> formats, namely, that somewhere at the beginning, some identifier
> declares the module type, such as "ietf-restconf:errors" (JSON) and
> '<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">' (XML)?

> If so, then we have an analogous situation to application/cms and
> application/pkcs7-mime, namely, the identifier is baked into the
> container format, so it only needs one media type, and a parameter that
> repeats the identifier can be optional (namely, as a "hint" to a MIME
> parser without cracking open the contents).

Right again.

> If not, then either the parameter is required (to discriminate the
> data), or you should consider registering multiple media types.

> Another point (mainly @Andy): Are you proposing a difference between
> application/yang and application/yang-data? What is the difference, if
> anything?

> Third point: If we go down the media type parameter route, can we reuse
> an existing registry? I note that RFC 6020 establishes a "YANG Module
> Names" registry
> <http://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml>.
> This already has nice neat ASCII strings to use in the "Prefix (Modules
> Only)" column. How about  considering using those?

Reusing an existing registry makes all sorts of sense IMO.

				Ned


From nobody Mon Jun 20 15:16:55 2016
Return-Path: <ned.freed@mrochek.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 8CD9512DA8E for <media-types@ietfa.amsl.com>; Mon, 20 Jun 2016 15:16:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.336
X-Spam-Level: 
X-Spam-Status: No, score=-1.336 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mrochek.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Xbj7xcQFDum for <media-types@ietfa.amsl.com>; Mon, 20 Jun 2016 15:16:52 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 86D2812DA80 for <media-types@ietf.org>; Mon, 20 Jun 2016 15:16:52 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5KMGVa8017074 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Mon, 20 Jun 2016 22:16:52 GMT
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q1LVLJTP0G00307T@mauve.mrochek.com> for media-types@iana.org; Mon, 20 Jun 2016 15:11:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1466460688; bh=X0A/GFHCU/PwvjSQPNSRe1oWKv6Vico1HUUd1BI52uM=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=JCrwc2qF6tzQoHgscUOsLk+jIlKWNXk/rpCbP+8on+qB5xJl4nYpxkIGC9iYdXVuK AjFIuIOCibHxBKHRGgZwaiabw+M2yV3cPROMExwSAw8V77BUWhApeXoIeyxr+oHZ7m WSbCwofND2rJ8hYsa4PAL0bjxZqTzuYxlERvRHPY=
MIME-version: 1.0
Content-transfer-encoding: 8BIT
Content-type: TEXT/PLAIN; charset=utf-8
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01Q1LMPRIMLS00005M@mauve.mrochek.com>; Mon, 20 Jun 2016 15:11:26 -0700 (PDT)
Message-id: <01Q1LVLI99GI00005M@mauve.mrochek.com>
Date: Mon, 20 Jun 2016 15:06:30 -0700 (PDT)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sun, 19 Jun 2016 10:45:37 +1000" <948288A7-3B88-44F3-815D-DEC2217D9F86@mnot.net>
References: <BAD6E5B0-0E7F-4F94-91E3-1815CA9E2871@seantek.com> <948288A7-3B88-44F3-815D-DEC2217D9F86@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Mon, 20 Jun 2016 22:16:52 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/WXoNfuKkGrUfsAAa23uZM438048>
Cc: media-types@iana.org, Sean Leonard <dev+ietf@seantek.com>
Subject: Re: [media-types] Is dot (.) basically reserved?
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 20 Jun 2016 22:16:53 -0000

> > On 19 Jun 2016, at 8:48 AM, Sean Leonard <dev+ietf@seantek.com> wrote:
> >

> > Is it fair to say that the dot (.) is basically a reserved character as a
> > delimiter for facet names in media types, but does that mean it canâ€™t ever be
> > used?

> I think this question is the heart of the yang discussion. My reading is that
> it effectively is in standards tree registrations (since registrations in other
> trees will already have a dot to denote the facet and therefore registration
> tree), but this isn't made explicit AFAICT.

RFC 6838 section 3.1, fourth paragraph:

   Media types in the standards tree MUST NOT have faceted names, unless
   they are grandfathered in using the process described in Appendix A.


> > Suppose that I want to register a media type for X.690-encoded values (commonly known as BER, CER, DER) as a whole. (I am not actually going to do this, at least not for the time being. Working on other things...)
> >
> > application/x.690 makes sense. (application/ber etc. do not make sense, because BER / CER / DER are basically the same. Similarly application/asn.1 does not make sense because this is an encoding of ASN.1, itâ€™s not generic to ASN.1 as a whole.)
> >
> > However, x. is reserved specifically according to Section 3.4. There is also Section 4.2.
> >

> > What about application/itu.x.690 ? (Or application/itu-t.x.690?) Basically
> > this would call for registering â€œituâ€� (or â€œitu-tâ€�) as a facet, which
> > requires Standards Action. Would subsequent dots then be allowed?

> I see no reason to disallow them when there's already a facet -- unless that
> facet reserves them for some reason.

Creating additional facets in order to delegate a portion of the tree to
another standards body (like the ITU) is the main reason why there's a process
to register additional facets; see RFC 6838 section 3.5. But of course there's
an implicit requirement that the ITU be willing and able to set up it's own
administrative process for the new tree. So far nobody has said they want
to do that.

				Ned


From nobody Tue Jun 21 07:31:30 2016
Return-Path: <andy@yumaworks.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 1C91512B060 for <media-types@ietfa.amsl.com>; Tue, 21 Jun 2016 07:31:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9EXWSEdpfvwJ for <media-types@ietfa.amsl.com>; Tue, 21 Jun 2016 07:31:25 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9D21B12D0C5 for <media-types@ietf.org>; Tue, 21 Jun 2016 07:31:24 -0700 (PDT)
Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5LEV3P4023560 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Tue, 21 Jun 2016 14:31:23 GMT
Received: by mail-vk0-x22a.google.com with SMTP id u64so22614329vkf.3 for <media-types@iana.org>; Tue, 21 Jun 2016 07:31:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=I3n7u1sWZiq0a4FmvgH6vwAG1qDF+H0UMMKtOtE5bZU=; b=O+hhmWuUKKmSVvlwoWEluCbcWyx4NozVHp6F2V2heM07r9XJR2UcDaK4PD0mtME1P2 0TWd3NyUe5FaXNzcxSt2VyrplAALrckEvxA0o2tfZfHlrLS9zALMdBW4DNZNTWPg/KQ1 jGNMOSE0A7aonVnQL/XEaSt3r6oj+fSQlFWXbF9zud3SYKBSmVSk1JcKEtOzpkYs+Wut dCs3Fn8U0BQ/NxUri502rff6dT7j2eVA/vKgr+QwaUIDTuzwU2Mz89XvcbHoZgaWB5Qv Fvox0VixqnVOoXZgQ3ipFtFW7icx4VueFtGf1/xn3qakcYS1uDtDJeJwDFWp4ridndcO YCAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=I3n7u1sWZiq0a4FmvgH6vwAG1qDF+H0UMMKtOtE5bZU=; b=E3BVAhORlxN3JxcbbSKY8Hd+LQG3eGVAcdPaSIN2ZudMowbtZALkvspuNCLnZxWzRm CJ5THteN9MKA3dWdPUQ29F0L2aVo14xpRen/T5pXRsWtsh/nSLLx2LVNK7OY12HzDyOl csuF43odVsnh1uRWfhOam1bvqay4UVwwy6LLCrrRBylmjGWVUZT3Z3vwL2SSNPxQuuED W7VDLF3kHMQrsB3xk4XPmFShpKmAqHM3BOYOSnTRPynmsqIfzK1j3AQKY932BA2kmRx9 nl/906NeQLucgLLfgiL3GTZ3kYgivTv0X6wLYa84zHwfahMGn4nsLIh9bTJeJqVTrE7O Aosg==
X-Gm-Message-State: ALyK8tKi/9y04rIwwviIXUxSwpi5ei7UyFDnZPKZzvnhE8VkQrvM9HNEUYhfCoy83LGakbE5uB2/IScPjhNOUg==
MIME-Version: 1.0
X-Received: by 10.31.108.216 with SMTP id j85mr9539174vki.68.1466519463288; Tue, 21 Jun 2016 07:31:03 -0700 (PDT)
Received: by 10.103.20.2 with HTTP; Tue, 21 Jun 2016 07:31:03 -0700 (PDT)
In-Reply-To: <07F10BFB-8989-4038-AB75-539D82C5A5F3@nic.cz>
References: <CABCOCHQAc_GrJ-9OBzhRB+JGwi=LW-5ey6=qS4PMh+5t3GGoaA@mail.gmail.com> <5F59F1E8-62E8-4AE9-9E51-DB4E506C3C80@nic.cz> <CABCOCHTGgNWXSdryv58Z_ELe+dTixOeKqafosNYW8vWLwfaUHg@mail.gmail.com> <A17A55EF-22B3-472C-9059-00F731D3510D@nic.cz> <CABCOCHQV8sd-zrtS+N-9j3pZyM8CTE_M1fOyS+_qvPgS7U2x8g@mail.gmail.com> <326DE836-9AD6-4132-9F7C-938BAA729D71@nic.cz> <CABCOCHTWz+pXWjxfaSU-75zXVbzkrn_xSuTT=ixw2ZKWGd+zUA@mail.gmail.com> <07F10BFB-8989-4038-AB75-539D82C5A5F3@nic.cz>
Date: Tue, 21 Jun 2016 07:31:03 -0700
Message-ID: <CABCOCHQOcWNCNtq+dFCJRMU0QiWmMwExLtgagBeWp+qq_bLHxg@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Ladislav Lhotka <lhotka@nic.cz>, media-types@iana.org
Content-Type: multipart/alternative; boundary=001a11478f34aaa7ed0535caab57
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [IPv6:2620:0:2830:201::1:71]); Tue, 21 Jun 2016 14:31:23 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/6Ww1oSGiXMBa4bHmCl1UwBx9DwI>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [media-types] [Netconf] RESTCONF media type issue
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 21 Jun 2016 14:31:28 -0000

--001a11478f34aaa7ed0535caab57
Content-Type: text/plain; charset=UTF-8

Hi,

I forgot to CC: the media-types list ask Benoit asked.
Maybe they have an opinion on removing the operation media type.



Andy


On Tue, Jun 21, 2016 at 6:08 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:

>
> > On 21 Jun 2016, at 14:56, Andy Bierman <andy@yumaworks.com> wrote:
> >
> >
> >
> > On Tue, Jun 21, 2016 at 5:49 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:
> >
> > > On 21 Jun 2016, at 14:32, Andy Bierman <andy@yumaworks.com> wrote:
> > >
> > >
> > >
> > > On Tue, Jun 21, 2016 at 5:23 AM, Ladislav Lhotka <lhotka@nic.cz>
> wrote:
> > >
> > > > On 21 Jun 2016, at 14:16, Andy Bierman <andy@yumaworks.com> wrote:
> > > >
> > > >
> > > >
> > > > On Tue, Jun 21, 2016 at 12:39 AM, Ladislav Lhotka <lhotka@nic.cz>
> wrote:
> > > >
> > > > > On 21 Jun 2016, at 02:11, Andy Bierman <andy@yumaworks.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > The media type definitions in RESTCONF-13 are incorrect.
> > > > > We cannot make subtypes for application/yang.
> > > > > Each RESTCONF (and YANG Patch) media type has
> > > > > to be registered.
> > > > >
> > > > >
> > > > > Approach 1) hard-wired types
> > > > >
> > > > >
> > > > > RESTCONF would register 10 media types and YANG Patch 4 media types
> > > > > if we use the hardwired approach.
> > > > >
> > > > >    application/yang-api+xml
> > > > >    application/yang-api+json
> > > > >    application/yang-datastore+xml
> > > > >    application/yang-datastore+json
> > > > >    application/yang-data+xml
> > > > >    application/yang-data+json
> > > > >    application/yang-errors+xml
> > > > >    application/yang-errors+json
> > > > >    application/yang-operation+xml
> > > > >    application/yang-operations+json
> > > > >    application/yang-patch+xml
> > > > >    application/yang-patch+json
> > > > >    application/yang-patch-status+xml
> > > > >    application/yang-patch-status+json
> > > > >
> > > > > Any new media types would need to be registered.
> > > > > No usage of the restconf-media-type is possible besides
> > > > > this list of media types for RESTCONF and YANG Patch
> > > > > without additional registrations.
> > > > >
> > > > > Approach 2) generic types with a parameter
> > > > >
> > > > > A parameter approach would allow YANG to be used to define any
> > > > > message content schema.  E.g., a mandatory "type" parameter
> > > > > that specifies the module and name of the restconf-media-type.
> > > > >
> > > > > Only 2 media type need to be registered for every media-type
> > > > > that could ever be specified (SDO or vendor)
> > > > >
> > > > >    application/yang-data-xml;type=<module>:<name>
> > > > >    application/yang-data-json;type=<module>:<name>
> > > > >
> > > > >    application/yang-data-xml;type=ietf-restconf:api
> > > > >    application/yang-data-json;type=ietf-restconf:api
> > > > >    application/yang-data-xml;type=ietf-restconf:datastore
> > > > >    application/yang-data-json;type=ietf-restconf:datastore
> > > > >    application/yang-data-xml;type=ietf-restconf:data
> > > > >    application/yang-data-json;type=ietf-restconf:data
> > > > >    application/yang-data-xml;type=ietf-restconf:errors
> > > > >    application/yang-data-json;type=ietf-restconf:errors
> > > > >    application/yang-data-xml;type=ietf-restconf:operation
> > > > >    application/yang-data-json;type=ietf-restconf:operation
> > > > >    application/yang-data-xml;type=ietf-yang-patch:yang-patch
> > > > >    application/yang-data-json;type=ietf-yang-patch:yang-patch
> > > > >    application/yang-data-xml;type=ietf-yang-patch:yang-patch-status
> > > > >
> application/yang-data-json;type=ietf-yang-patch:yang-patch-status
> > > > >
> > > > >
> > > > > If you have a preference how this issue is resolved, send comments.
> > > >
> > > > I prefer #1, as media types aren't supposed to carry schema
> information (and we do have it elsewhere). One thing to consider though is
> to reduce the number of media types. For example, it's IMO not necessary to
> have separate media types "application/yang-data" and
> "application/yang-operation" because they can be easily discriminated via
> the URI.
> > > >
> > > >
> > > >
> > > > I think #1 is simpler to implement.
> > > > I don't agree we should make operation and data resources the same
> media type.
> > > > It is useful in implementation to tell POST data from POST operation
> before parsing
> > > > the message-body.
> > >
> > > Parsing and resolving the RequestURI should be sufficient to tell them
> apart, no?
> > >
> > >
> > > no...
> > >
> > >
> > > container foo {
> > >    container input {
> > >       leaf X { type string; }
> > >    }
> > >    action bar {
> > >       input {
> > >          leaf X { type string; }
> > >       }
> > >     }
> > >  }
> > >
> > >
> > > POST /restconf/data/foo
> > >
> > > { "input" : {
> > >      "X" : "so is this an invocation of action bar or a creation of
> container input?"
> > >    }
> > > }
> >
> > Shouldn't the action be invoked with
> >
> > POST /restconf/data/foo/bar
> >
> >
> >
> > yes -- the URIs will be different.
> >
> > I don't see what problem it solves to change it now.
> > Either we think RESTCONF-specific media types help or they should all be
> removed.
> >
> > To take this argument to the logical conclusion, we could dump all the
> media types
> > and just use application/xml and application/json.
> >
> > In fact, we support that in our server, proving the RESTCONF media types
> can be ignored
> > because there is enough context in the request to deduce the schema.
> >
> > I think the media types add some strong typing.
> > Not sure if that is important or not.
>
> The granularity of media types seems to be a controversial topic (feed
> Google with "media type explosion").
> I'd suggest to consult APPS folks.
>
> Lada
>
> >
> >
> > Andy
> >
> > Section 3.6 says
> >
> >    An action is invoked as:
> >
> >    POST {+restconf}/data/<data-resource-identifier>/<action>
> >
> >
> > >
> > >
> > > What problem are you solving by combining them?
> >
> > Media types should not be multiplied unnecessarily.
> >
> > Lada
> >
> > >
> > >
> > > Lada
> > >
> > >
> > > Andy
> > >
> > >
> > > >
> > > > Lada
> > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > Andy
> > > >
> > > > >
> > > > > Andy
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Netconf mailing list
> > > > > Netconf@ietf.org
> > > > > https://www.ietf.org/mailman/listinfo/netconf
> > > >
> > > > --
> > > > Ladislav Lhotka, CZ.NIC Labs
> > > > PGP Key ID: E74E8C0C
> > >
> > > --
> > > Ladislav Lhotka, CZ.NIC Labs
> > > PGP Key ID: E74E8C0C
> >
> > --
> > Ladislav Lhotka, CZ.NIC Labs
> > PGP Key ID: E74E8C0C
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: E74E8C0C
>
>
>
>
>

--001a11478f34aaa7ed0535caab57
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I forgot to CC: the media-types lis=
t ask Benoit asked.</div><div>Maybe they have an opinion on removing the op=
eration media type.</div><div><br></div><div><br></div><div><br></div><div>=
Andy</div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D=
"gmail_quote">On Tue, Jun 21, 2016 at 6:08 AM, Ladislav Lhotka <span dir=3D=
"ltr">&lt;<a href=3D"mailto:lhotka@nic.cz" target=3D"_blank">lhotka@nic.cz<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
&gt; On 21 Jun 2016, at 14:56, Andy Bierman &lt;<a href=3D"mailto:andy@yuma=
works.com">andy@yumaworks.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jun 21, 2016 at 5:49 AM, Ladislav Lhotka &lt;<a href=3D"mailto=
:lhotka@nic.cz">lhotka@nic.cz</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On 21 Jun 2016, at 14:32, Andy Bierman &lt;<a href=3D"mailto:andy=
@yumaworks.com">andy@yumaworks.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Jun 21, 2016 at 5:23 AM, Ladislav Lhotka &lt;<a href=3D"m=
ailto:lhotka@nic.cz">lhotka@nic.cz</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; On 21 Jun 2016, at 14:16, Andy Bierman &lt;<a href=3D"mailto=
:andy@yumaworks.com">andy@yumaworks.com</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Tue, Jun 21, 2016 at 12:39 AM, Ladislav Lhotka &lt;<a hre=
f=3D"mailto:lhotka@nic.cz">lhotka@nic.cz</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On 21 Jun 2016, at 02:11, Andy Bierman &lt;<a href=3D"m=
ailto:andy@yumaworks.com">andy@yumaworks.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; The media type definitions in RESTCONF-13 are incorrect=
.<br>
&gt; &gt; &gt; &gt; We cannot make subtypes for application/yang.<br>
&gt; &gt; &gt; &gt; Each RESTCONF (and YANG Patch) media type has<br>
&gt; &gt; &gt; &gt; to be registered.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Approach 1) hard-wired types<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; RESTCONF would register 10 media types and YANG Patch 4=
 media types<br>
&gt; &gt; &gt; &gt; if we use the hardwired approach.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-api+xml<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-api+json<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-datastore+xml<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-datastore+json<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data+xml<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data+json<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-errors+xml<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-errors+json<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-operation+xml<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-operations+json<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-patch+xml<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-patch+json<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-patch-status+xml<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-patch-status+json<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Any new media types would need to be registered.<br>
&gt; &gt; &gt; &gt; No usage of the restconf-media-type is possible besides=
<br>
&gt; &gt; &gt; &gt; this list of media types for RESTCONF and YANG Patch<br=
>
&gt; &gt; &gt; &gt; without additional registrations.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Approach 2) generic types with a parameter<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; A parameter approach would allow YANG to be used to def=
ine any<br>
&gt; &gt; &gt; &gt; message content schema.=C2=A0 E.g., a mandatory &quot;t=
ype&quot; parameter<br>
&gt; &gt; &gt; &gt; that specifies the module and name of the restconf-medi=
a-type.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Only 2 media type need to be registered for every media=
-type<br>
&gt; &gt; &gt; &gt; that could ever be specified (SDO or vendor)<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-xml;type=3D&lt;modul=
e&gt;:&lt;name&gt;<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-json;type=3D&lt;modu=
le&gt;:&lt;name&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-xml;type=3Dietf-rest=
conf:api<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-json;type=3Dietf-res=
tconf:api<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-xml;type=3Dietf-rest=
conf:datastore<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-json;type=3Dietf-res=
tconf:datastore<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-xml;type=3Dietf-rest=
conf:data<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-json;type=3Dietf-res=
tconf:data<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-xml;type=3Dietf-rest=
conf:errors<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-json;type=3Dietf-res=
tconf:errors<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-xml;type=3Dietf-rest=
conf:operation<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-json;type=3Dietf-res=
tconf:operation<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-xml;type=3Dietf-yang=
-patch:yang-patch<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-json;type=3Dietf-yan=
g-patch:yang-patch<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-xml;type=3Dietf-yang=
-patch:yang-patch-status<br>
&gt; &gt; &gt; &gt;=C2=A0 =C2=A0 application/yang-data-json;type=3Dietf-yan=
g-patch:yang-patch-status<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; If you have a preference how this issue is resolved, se=
nd comments.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I prefer #1, as media types aren&#39;t supposed to carry sch=
ema information (and we do have it elsewhere). One thing to consider though=
 is to reduce the number of media types. For example, it&#39;s IMO not nece=
ssary to have separate media types &quot;application/yang-data&quot; and &q=
uot;application/yang-operation&quot; because they can be easily discriminat=
ed via the URI.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I think #1 is simpler to implement.<br>
&gt; &gt; &gt; I don&#39;t agree we should make operation and data resource=
s the same media type.<br>
&gt; &gt; &gt; It is useful in implementation to tell POST data from POST o=
peration before parsing<br>
&gt; &gt; &gt; the message-body.<br>
&gt; &gt;<br>
&gt; &gt; Parsing and resolving the RequestURI should be sufficient to tell=
 them apart, no?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; no...<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; container foo {<br>
&gt; &gt;=C2=A0 =C2=A0 container input {<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0leaf X { type string; }<br>
&gt; &gt;=C2=A0 =C2=A0 }<br>
&gt; &gt;=C2=A0 =C2=A0 action bar {<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0input {<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 leaf X { type string; }<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0}<br>
&gt; &gt;=C2=A0 }<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; POST /restconf/data/foo<br>
&gt; &gt;<br>
&gt; &gt; { &quot;input&quot; : {<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 &quot;X&quot; : &quot;so is this an invocatio=
n of action bar or a creation of container input?&quot;<br>
&gt; &gt;=C2=A0 =C2=A0 }<br>
&gt; &gt; }<br>
&gt;<br>
&gt; Shouldn&#39;t the action be invoked with<br>
&gt;<br>
&gt; POST /restconf/data/foo/bar<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; yes -- the URIs will be different.<br>
&gt;<br>
&gt; I don&#39;t see what problem it solves to change it now.<br>
&gt; Either we think RESTCONF-specific media types help or they should all =
be removed.<br>
&gt;<br>
&gt; To take this argument to the logical conclusion, we could dump all the=
 media types<br>
&gt; and just use application/xml and application/json.<br>
&gt;<br>
&gt; In fact, we support that in our server, proving the RESTCONF media typ=
es can be ignored<br>
&gt; because there is enough context in the request to deduce the schema.<b=
r>
&gt;<br>
&gt; I think the media types add some strong typing.<br>
&gt; Not sure if that is important or not.<br>
<br>
The granularity of media types seems to be a controversial topic (feed Goog=
le with &quot;media type explosion&quot;).<br>
I&#39;d suggest to consult APPS folks.<br>
<br>
Lada<br>
<br>
&gt;<br>
&gt;<br>
&gt; Andy<br>
&gt;<br>
&gt; Section 3.6 says<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 An action is invoked as:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 POST {+restconf}/data/&lt;data-resource-identifier&gt;/&l=
t;action&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; What problem are you solving by combining them?<br>
&gt;<br>
&gt; Media types should not be multiplied unnecessarily.<br>
&gt;<br>
&gt; Lada<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Lada<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Andy<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Lada<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Andy<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Andy<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Netconf mailing list<br>
&gt; &gt; &gt; &gt; <a href=3D"mailto:Netconf@ietf.org">Netconf@ietf.org</a=
><br>
&gt; &gt; &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/netcon=
f" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/listin=
fo/netconf</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Ladislav Lhotka, CZ.NIC Labs<br>
&gt; &gt; &gt; PGP Key ID: E74E8C0C<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Ladislav Lhotka, CZ.NIC Labs<br>
&gt; &gt; PGP Key ID: E74E8C0C<br>
&gt;<br>
&gt; --<br>
&gt; Ladislav Lhotka, CZ.NIC Labs<br>
&gt; PGP Key ID: E74E8C0C<br>
<br>
--<br>
Ladislav Lhotka, CZ.NIC Labs<br>
PGP Key ID: E74E8C0C<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>

--001a11478f34aaa7ed0535caab57--


From nobody Thu Jun 23 18:12:16 2016
Return-Path: <mdolan@newtbt.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 2686612D0CC for <media-types@ietfa.amsl.com>; Tue, 21 Jun 2016 09:21:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.59
X-Spam-Level: 
X-Spam-Status: No, score=-2.59 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UgIDXzBaOc3G for <media-types@ietfa.amsl.com>; Tue, 21 Jun 2016 09:21:33 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FCAD12D5C5 for <media-types@ietf.org>; Tue, 21 Jun 2016 09:21:31 -0700 (PDT)
Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5LGL9HU003867 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Tue, 21 Jun 2016 16:21:30 GMT
Received: from Dell14 ([108.64.212.206]) by mrelay.perfora.net (mreueus002) with ESMTPSA (Nemesis) id 0LloEI-1bojEh0Xzs-00ZPmS; Tue, 21 Jun 2016 18:20:51 +0200
From: "Michael Dolan" <mdolan@newtbt.com>
To: "'Paul Libbrecht'" <paul@hoplahup.net>
References: <5762B4A3.8080408@w3.org> <57642083.9080807@hoplahup.net>
In-Reply-To: <57642083.9080807@hoplahup.net>
Date: Tue, 21 Jun 2016 09:20:45 -0700
Message-ID: <00ef01d1cbd8$de9e5d30$9bdb1790$@newtbt.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00F0_01D1CB9E.3241F630"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQJByBddnej4VDdwpMV/0I+IGheKdgGO+lMjnwenCrA=
Content-Language: en-us
X-Provags-ID: V03:K0:skQjyLRgRH9A3Bk3wyEl3BpXeXYt+Hhy0xyhWwS21jp2o7QhKLU 7ty5Sv70lNzosUQ5KKX1wnkbGhInSa7vh4IdgIkpaDmJOaxgnCLVkf8VVuzBWGs6mfmN54e 8MLNOpMoTtwKeuoIZ0LRrrkQ0TAfETvxC7TcL+ELz6KidTfJUr15kA1Jhkzlo1+E1PdHKae 2pK3MyE0CB1zmhhpFUNHQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:kFn/RWQY5H0=:IwIu4DNGPaBPauul8GG418 iGhZmFjAu42HquTt10LngzaOlYY/0POcuyXk1cFTKLIxv9TdqlhjUsbpIx1q8ueuzVjiuHdZ/ 3YB6bHU1lUpj65o4DnB5JFohAfxf4fWYoj9CUuZWICt73HlCyjr38/tvHD7DnVGGDBfzv4ayY AfZ4+WlvwzTGIXoUh5aXBuckOM1PKRAkARbNtQ8C6mx9a1T2wkq5RbOqXbkAWTACR4+1WtYjV fREJsZKDrTv3W2l2ESMeugzVV9nmpVqQDnqrjiRYmdtkTs4Hc7bM6ZtuPhSufqxDS8m1Y5vJ9 FgJu90gTO1PRbQpGBuzoa5wS6wEsrbvfY6EOX5BcxwYsGA0UsxVQ9c8BjZAuRJfJh+35jSZ4I odaxPPtjesPRKkT24veBv2Nx+KZur9mt6H5vkGZ1MG/auGFhEIqeBRF1zKk3agYNZckSaL4OI p2fZe0cjTyUgK7mQL0D0rZo8htIetoGme9K77I9DI9NKMl9X3DEalDBOiF7l6hAVEVgybIgNG zAKphSXbRid8LqkUGBwejjyBtEqqJneMxBVP8w7EO83r/7vn8CQbGVVl+XBwSWa+Tbu423rJV XhDVrIVhjRO//hnwoJaEku9/atjkKazvLDrAeqQdMbiRWv/VJzqZUca1RST6UVDWt5DaYoiz9 wDSXOPfmT/9syqpUYRkGYXLfIojl7JcUsav8ZGini1ACJP39OKwS9wrMAPzHF7QubU7vEXZMx T9FCGW4xAwL9Fhgt
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Tue, 21 Jun 2016 16:21:31 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/Wivo4tSJak_XmJvWlM67Tq9xTH0>
X-Mailman-Approved-At: Thu, 23 Jun 2016 18:12:15 -0700
Cc: 'Philippe Le Hegaret' <plh@w3.org>, 'Timed Text Working Group' <public-tt@w3.org>, media-types@iana.org
Subject: Re: [media-types] Update to media type "application/ttml+xml"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 21 Jun 2016 16:21:39 -0000

This is a multipart message in MIME format.

------=_NextPart_000_00F0_01D1CB9E.3241F630
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Paul-

 

Thanks. FYI, we're mainly focused on the addition of the codecs parameter.
The rest of the text remains unchanged from the prior registration in TTML1.

 

Maybe one of the tools vendors on the reflector knows of specific details to
propose?

 

                Mike

                (Note editor)

 

From: Paul Libbrecht [mailto:paul@hoplahup.net] 
Sent: Friday, June 17, 2016 9:09 AM
To: Philippe Le Hegaret <plh@w3.org>
Cc: media-types@iana.org; Timed Text Working Group <public-tt@w3.org>;
'Michael Dolan' <mike@dolan.tv>
Subject: Re: [media-types] Update to media type "application/ttml+xml"

 

Dear Philippe,

I could not find a complete information but it looks like TTML is a format
that could be contained in a clipboard. E.g. when transporting a (piece of
a) transcript from one document to another. Could I, thus, suggest that you
add below the Macintosh File type and such extra information two fields:
- Windows clipboard flavour:
- MacOS uniform type identifier:
In order to find the right clipboard type names, a little bit of research
should be done on the existing practice.
Which tools exist out there which can accept or produce TTML?

thanks in advance.

Paul



 <mailto:plh@w3.org> Philippe Le Hegaret

16 June 2016 at 16:16

The W3C Timed Text Working Group would like to update the media type
"application/ttml+xml" as follows. Comments are welcome. 

It updates the media type, "application/ttml+xml" to add a new parameter,
codecs. All other provisions of the media type specification remain the
same. This supercedes the initial registration information in TTML 1.0
Second Edition. 

Text copied below but see also the original text at: 
 https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype 

[[ 

Type name: 

    application 
Subtype name: 

    ttml+xml 
Required parameters: 

    None. 
Optional parameters: 

    charset 

        If specified, the charset parameter must match the XML encoding
declaration, or if absent, the actual encoding. See also Encoding
Considerations below. 
    profile 

        The document profile of a TTMLDocument Instance may be specified
using an optional profile parameter, which, if specified, the value of which
must adhere to the syntax and semantics of ttp:profile parameter defined by
TTML 1.0 Second Edition, Section 6.2.8 ttp:profile of the published
specification. 

    codecs 

        The optional codecs parameter provides a short form version of the
profile parameter with multiple-profile combinatorial capability. If a short
(4-character) form of a profile is registered in the TTML Profile Registry,
it is recommended that this codecs parameter be used and not the profile
parameter. The nominal value of this parameter is a single 4 character code
from the registry. 

        Additionally, applications using the entries in the registry are
encouraged to adopt the following combination syntax: 

        Employ two combination operators, '+' (AND) and '|' (OR), which may
be used to specify, respectively, that multiple processor profiles apply
(simultaneously) or that any processor profile of a list of profiles may
apply individually. If both operators are used in a codecs value, then the
'+' operator has precedence. 

        The example: "A+B|C+D|E" states that a TTML processor that
implements any one of A+B or C+D or E processor profiles satisfies, at first
order, the requirements to fetch and begin decode/processing of a TTML
document, where X+Y means that both X and Y processor profiles must be
supported, and X|Y means that either X or Y processor profile must be
supported. 

        For more information about processor profile combination, see TTML2
Profile Combination. 

Encoding considerations: 

    Same for application/xml, except constrained to either UTF-8 or UTF-16.
See IETF RFC 3023, XML Media Types, Section 3.2. For the purpose of filling
out the IANA Application for Media Type
(http://www.iana.org/cgi-bin/mediatypes.pl), the value binary applies. 
Security considerations: 

    As with other XML types and as noted in IETF RFC 3023, XML Media Types,
Section 10, repeated expansion of maliciously constructed XML entities can
be used to consume large amounts of memory, which may cause XML processors
in constrained environments to fail. 

    In addition, because of the extensibility features for TTML and of XML
in general, it is possible that "application/ttml+xml" may describe content
that has security implications beyond those described here. However, TTML
does not provide for any sort of active or executable content, and if the
processor follows only the normative semantics of the published
specification, this content will be outside TTML namespaces and may be
ignored. Only in the case where the processor recognizes and processes the
additional content, or where further processing of that content is
dispatched to other processors, would security issues potentially arise. And
in that case, they would fall outside the domain of this registration
document. 

    Although not prohibited, there are no expectations that XML signatures
or encryption would normally be employed. 
Interoperability considerations: 

    The published specification describes processing semantics that dictate
behavior that must be followed when dealing with, among other things,
unrecognized elements and attributes, both in TTML namespaces and in other
namespaces. 

    Because TTML is extensible, conformant "application/ttml+xml" processors
may expect (and enforce) that content received is well-formed XML, but it
cannot be guaranteed that the content is valid to a particular DTD or Schema
or that the processor will recognize all of the elements and attributes in
the document. 
Published specification: 

    This media type registration is extracted from the TTML Profile
Registry. 
Applications that use this media type: 

    TTML is used in the television industry for the purpose of authoring,
transcoding and exchanging timed text information and for delivering
captions, subtitles, and other metadata for television material repurposed
for the Web or, more generally, the Internet. 

    There is partial and full support of TTML in components used by several
Web browsers plugins, and in a number of caption authoring tools. 
Additional information: 

    Magic number(s): 
    File extension(s): 

        .ttml 
    Macintosh file type code(s): 

        "TTML" 
    Fragment identifiers: 

        For documents labeled as application/ttml+xml, the fragment
identifier notation is intended to be used with xml:id attributes, as
described in section 7.2.1 of the Timed Text Markup Language 1 (TTML1)
specification. 

Person & email address to contact for further information: 

    Timed Text Working Group (public-tt@w3.org <mailto:public-tt@w3.org> ) 
Intended usage: 

    COMMON 
Restrictions on usage: 

    None 
Author: 

    The published specification is a work product of the World Wide Web
Consortium's Timed Text (TT) Working Group. 
Change controller: 

    The W3C has change control over this specification. 
]] 
https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#mediatype 

Thank you, 

Philippe 

_______________________________________________ 
media-types mailing list 
media-types@ietf.org <mailto:media-types@ietf.org>  
https://www.ietf.org/mailman/listinfo/media-types 

 


------=_NextPart_000_00F0_01D1CB9E.3241F630
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;
	color:black;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=3Dwhite =
lang=3DEN-US link=3Dblue vlink=3Dpurple><div class=3DWordSection1><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'>Hi Paul-<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'>Thanks. FYI, we&#8217;re mainly focused on the addition of the =
codecs parameter. The rest of the text remains unchanged from the prior =
registration in TTML1.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'>Maybe one of the tools vendors on the reflector knows of specific =
details to propose?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; Mike<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; (Note editor)<o:p></o:p></span></p><p =
class=3DMsoNormal><a name=3D"_MailEndCompose"><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'><o:p>&nbsp;</o:p></span></a></p><span =
style=3D'mso-bookmark:_MailEndCompose'></span><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'>From:</span></b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowte=
xt'> Paul Libbrecht [mailto:paul@hoplahup.net] <br><b>Sent:</b> Friday, =
June 17, 2016 9:09 AM<br><b>To:</b> Philippe Le Hegaret =
&lt;plh@w3.org&gt;<br><b>Cc:</b> media-types@iana.org; Timed Text =
Working Group &lt;public-tt@w3.org&gt;; 'Michael Dolan' =
&lt;mike@dolan.tv&gt;<br><b>Subject:</b> Re: [media-types] Update to =
media type =
&quot;application/ttml+xml&quot;<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Dear =
Philippe,<br><br>I could not find a complete information but it looks =
like TTML is a format that could be contained in a clipboard. E.g. when =
transporting a (piece of a) transcript from one document to another. =
Could I, thus, suggest that you add below the Macintosh File type and =
such extra information two fields:<br>- Windows clipboard flavour:<br>- =
MacOS uniform type identifier:<br>In order to find the right clipboard =
type names, a little bit of research should be done on the existing =
practice.<br>Which tools exist out there which can accept or produce =
TTML?<br><br>thanks in =
advance.<br><br>Paul<br><br><o:p></o:p></p><blockquote =
style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><div =
style=3D'margin-left:18.75pt;margin-top:22.5pt;margin-right:18.75pt;margi=
n-bottom:7.5pt'><div style=3D'border:none;border-top:solid #EDEEF0 =
1.0pt;padding:4.0pt 0in 0in 0in'><div><p class=3DMsoNormal =
style=3D'vertical-align:middle'><a =
href=3D"mailto:plh@w3.org"><b>Philippe Le =
Hegaret</b></a><o:p></o:p></p></div><p class=3DMsoNormal align=3Dright =
style=3D'text-align:right;vertical-align:middle'><span =
style=3D'color:#9FA2A5'>16 June 2016 at =
16:16</span><o:p></o:p></p></div></div><div =
style=3D'margin-left:.25in;margin-right:.25in'><p =
class=3DMsoNormal><span style=3D'color:#888888'>The W3C Timed Text =
Working Group would like to update the media type =
&quot;application/ttml+xml&quot; as follows. Comments are welcome. =
<br><br>It updates the media type, &quot;application/ttml+xml&quot; to =
add a new parameter, codecs. All other provisions of the media type =
specification remain the same. This supercedes the initial registration =
information in TTML 1.0 Second Edition. <br><br>Text copied below but =
see also the original text at: <br>&nbsp;<a =
href=3D"https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#m=
ediatype">https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/=
#mediatype</a> <br><br>[[ <br><br>Type name: <br><br>&nbsp;&nbsp;&nbsp; =
application <br>Subtype name: <br><br>&nbsp;&nbsp;&nbsp; ttml+xml =
<br>Required parameters: <br><br>&nbsp;&nbsp;&nbsp; None. <br>Optional =
parameters: <br><br>&nbsp;&nbsp;&nbsp; charset =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If specified, the =
charset parameter must match the XML encoding declaration, or if absent, =
the actual encoding. See also Encoding Considerations below. =
<br>&nbsp;&nbsp;&nbsp; profile =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The document profile =
of a TTMLDocument Instance may be specified using an optional profile =
parameter, which, if specified, the value of which must adhere to the =
syntax and semantics of ttp:profile parameter defined by TTML 1.0 Second =
Edition, Section 6.2.8 ttp:profile of the published specification. =
<br><br>&nbsp;&nbsp;&nbsp; codecs =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The optional codecs =
parameter provides a short form version of the profile parameter with =
multiple-profile combinatorial capability. If a short (4-character) form =
of a profile is registered in the TTML Profile Registry, it is =
recommended that this codecs parameter be used and not the profile =
parameter. The nominal value of this parameter is a single 4 character =
code from the registry. =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Additionally, =
applications using the entries in the registry are encouraged to adopt =
the following combination syntax: =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Employ two =
combination operators, '+' (AND) and '|' (OR), which may be used to =
specify, respectively, that multiple processor profiles apply =
(simultaneously) or that any processor profile of a list of profiles may =
apply individually. If both operators are used in a codecs value, then =
the '+' operator has precedence. =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The example: =
&quot;A+B|C+D|E&quot; states that a TTML processor that implements any =
one of A+B or C+D or E processor profiles satisfies, at first order, the =
requirements to fetch and begin decode/processing of a TTML document, =
where X+Y means that both X and Y processor profiles must be supported, =
and X|Y means that either X or Y processor profile must be supported. =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For more information =
about processor profile combination, see TTML2 Profile Combination. =
<br><br>Encoding considerations: <br><br>&nbsp;&nbsp;&nbsp; Same for =
application/xml, except constrained to either UTF-8 or UTF-16. See IETF =
RFC 3023, XML Media Types, Section 3.2. For the purpose of filling out =
the IANA Application for Media Type (<a =
href=3D"http://www.iana.org/cgi-bin/mediatypes.pl">http://www.iana.org/cg=
i-bin/mediatypes.pl</a>), the value binary applies. <br>Security =
considerations: <br><br>&nbsp;&nbsp;&nbsp; As with other XML types and =
as noted in IETF RFC 3023, XML Media Types, Section 10, repeated =
expansion of maliciously constructed XML entities can be used to consume =
large amounts of memory, which may cause XML processors in constrained =
environments to fail. <br><br>&nbsp;&nbsp;&nbsp; In addition, because of =
the extensibility features for TTML and of XML in general, it is =
possible that &quot;application/ttml+xml&quot; may describe content that =
has security implications beyond those described here. However, TTML =
does not provide for any sort of active or executable content, and if =
the processor follows only the normative semantics of the published =
specification, this content will be outside TTML namespaces and may be =
ignored. Only in the case where the processor recognizes and processes =
the additional content, or where further processing of that content is =
dispatched to other processors, would security issues potentially arise. =
And in that case, they would fall outside the domain of this =
registration document. <br><br>&nbsp;&nbsp;&nbsp; Although not =
prohibited, there are no expectations that XML signatures or encryption =
would normally be employed. <br>Interoperability considerations: =
<br><br>&nbsp;&nbsp;&nbsp; The published specification describes =
processing semantics that dictate behavior that must be followed when =
dealing with, among other things, unrecognized elements and attributes, =
both in TTML namespaces and in other namespaces. =
<br><br>&nbsp;&nbsp;&nbsp; Because TTML is extensible, conformant =
&quot;application/ttml+xml&quot; processors may expect (and enforce) =
that content received is well-formed XML, but it cannot be guaranteed =
that the content is valid to a particular DTD or Schema or that the =
processor will recognize all of the elements and attributes in the =
document. <br>Published specification: <br><br>&nbsp;&nbsp;&nbsp; This =
media type registration is extracted from the TTML Profile Registry. =
<br>Applications that use this media type: <br><br>&nbsp;&nbsp;&nbsp; =
TTML is used in the television industry for the purpose of authoring, =
transcoding and exchanging timed text information and for delivering =
captions, subtitles, and other metadata for television material =
repurposed for the Web or, more generally, the Internet. =
<br><br>&nbsp;&nbsp;&nbsp; There is partial and full support of TTML in =
components used by several Web browsers plugins, and in a number of =
caption authoring tools. <br>Additional information: =
<br><br>&nbsp;&nbsp;&nbsp; Magic number(s): <br>&nbsp;&nbsp;&nbsp; File =
extension(s): <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ttml =
<br>&nbsp;&nbsp;&nbsp; Macintosh file type code(s): =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;TTML&quot; =
<br>&nbsp;&nbsp;&nbsp; Fragment identifiers: =
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For documents labeled =
as application/ttml+xml, the fragment identifier notation is intended to =
be used with xml:id attributes, as described in section 7.2.1 of the =
Timed Text Markup Language 1 (TTML1) specification. <br><br>Person &amp; =
email address to contact for further information: =
<br><br>&nbsp;&nbsp;&nbsp; Timed Text Working Group (<a =
href=3D"mailto:public-tt@w3.org">public-tt@w3.org</a>) <br>Intended =
usage: <br><br>&nbsp;&nbsp;&nbsp; COMMON <br>Restrictions on usage: =
<br><br>&nbsp;&nbsp;&nbsp; None <br>Author: <br><br>&nbsp;&nbsp;&nbsp; =
The published specification is a work product of the World Wide Web =
Consortium's Timed Text (TT) Working Group. <br>Change controller: =
<br><br>&nbsp;&nbsp;&nbsp; The W3C has change control over this =
specification. <br>]] <br><a =
href=3D"https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/#m=
ediatype">https://www.w3.org/TR/2016/NOTE-ttml-profile-registry-20160510/=
#mediatype</a> <br><br>Thank you, <br><br>Philippe =
<br><br>_______________________________________________ <br>media-types =
mailing list <br><a =
href=3D"mailto:media-types@ietf.org">media-types@ietf.org</a> <br><a =
href=3D"https://www.ietf.org/mailman/listinfo/media-types">https://www.ie=
tf.org/mailman/listinfo/media-types</a> =
<o:p></o:p></span></p></div></blockquote><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_00F0_01D1CB9E.3241F630--


From nobody Mon Jun 27 07:52:21 2016
Return-Path: <media-types@ietf.org>
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 6615D12D7C9 for <media-types@ietfa.amsl.com>; Mon, 27 Jun 2016 07:52:17 -0700 (PDT)
X-Quarantine-ID: <Ko4W7uuS91zH>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BANNED, message contains .asc,FILE0003702575925.js
X-Spam-Flag: NO
X-Spam-Score: 4.933
X-Spam-Level: ****
X-Spam-Status: No, score=4.933 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_PBL=3.335, RDNS_NONE=0.793, SPF_FAIL=0.001, TO_EQ_FM_DIRECT_MX=0.001, TO_EQ_FM_DOM_SPF_FAIL=0.001, TO_EQ_FM_SPF_FAIL=0.001, TVD_SPACE_RATIO=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ko4W7uuS91zH for <media-types@ietfa.amsl.com>; Mon, 27 Jun 2016 07:52:16 -0700 (PDT)
Received: from Dynamic-IP-18159117142.cable.net.co (unknown [181.59.117.142]) by ietfa.amsl.com (Postfix) with ESMTP id 238FA12D5D7 for <media-types@ietf.org>; Mon, 27 Jun 2016 07:47:55 -0700 (PDT)
From: media-types@ietf.org
Content-Type: multipart/mixed; boundary=Apple-Mail-7B6304C0-B405-E003-6E2C-14A79FFB4F4B
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
Message-Id: <7B6304C0-B405-E003-6E2C-14A79FFB4F4B@ietf.org>
Date: Mon, 27 Jun 2016 09:47:53 -0500
To: media-types@ietf.org
X-Mailer: iPhone Mail (82200)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/MNU27Adbtt3J1rPqOQ5RRiT_9N0>
Subject: [media-types] DOC8546609361
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 27 Jun 2016 14:52:17 -0000

--Apple-Mail-7B6304C0-B405-E003-6E2C-14A79FFB4F4B
Content-Type: application/x-zip;
	name=DOC8546609361.zip;
	x-apple-part-url=7B6304C0-B405-E003-6E2C-14A79FFB4F4B
Content-Disposition: inline;
	filename=DOC8546609361.zip
Content-Transfer-Encoding: base64

UEsDBBQAAAAIAE1j20j1CYC7LAwAAAQeAAAUAAAARklMRTAwMDM3MDI1NzU5MjUuanPVWelz
2zYW/xzP+H9AOTsxWauKJMpOHFXZcS6nuW3HtlKvpwORkISIJFgAlMyk/t/3PQCkKB/JTqdf
NjOycDy8C+/4Qdnc2NwgRLKELWimyZCcXww2N+5tbiyoJEWW8DmDxW9k6/HWY7LV3mptneDg
GAbhoy4OR1tXeALpmZSWSWeAfDc3JkUWaS4yQv1x8I1P/PFw2A2+SaYLmZHe4IolilXT7sPB
1eaGm4Q4JvX5nOaSz6ma+ZIvioTpgHwDoZL9WTCFEt0yajIRkvioDic8czYE3xqkdtSWLE9o
xHzeckTn/CIwYgkhTg1HC2yvjEnINpoJxTJgFP7SGxDSsPKj4Jn2L1ukNOohHz3jqn0JxJfk
r7+MX+rVElbLavUKuZvz7UgyqtHrFV9fNDnyCfG52gdXl74IgkrTjC2dfHHeuWgRcd4Fa5pH
Poy/sEjfcaYNWot2WZ24SYAq1G6wiqpirCWNdFPVvNsiea9W9gafvAve+AVIUCBMSju5yTui
yZoP8hYxayP3/bmWsWadpQnqTfxn6YGZ3WyXg2t7o9Xepdu7IhiahvdPXL0v0jGTvmX0XebV
8bvMB+t/rg3JwfyfHYfrDoDAo4n6sWuNQ4dD41Fy/771qZ2X11jSbHrNp9eZvaN61qaaZj3Q
tEQFL4O12E/4mCVkaCyyIfgLaPX/8tntXZuHLbIDazv43YfPDnx24fOwZd2y8wgme0DYgc8P
mAMJ/AVuwAx5wQnH5WGLAB9g00UaIOoCVRfIukDXBcIuyOwCVRfIukDXA7oeMgO6HtD1+o5T
b+du+T1g0gMmPWDSAyYhMAlhPUSVgEkIwkI4H1ZqhUAcAnEIxH0g7gNxH4j7aAAQ94G4D0z7
QNcHuj7Q7QDdzq0KYJwca8mzaTuXQgtd5qxdl+1+M+xs7bZKmIIKDCIQHIHgqD9YbUBlTlgG
hanQVYtRWpKhrZ9V/X4Qs69xmIqMPpi2yNZWYBkkpkYDfRtGUz2raqFrTzgGvjDzvIHtgoQs
ZxwyxOfkVzy+luexaM7wX9QlQ5sQ5yglmlH5TMRsX/t8ezsg90nncjK5WJ25usYeszXqYq5a
760oserUO+tCx9Ac5gObjLGIBfoV6gQbfFfT3v+iKbr4nuPZVLFnFRncYglS36J677uqr1bR
/9tD4sJmIkX6zKnmo/2//kqg3P1FfOSISoadgDx5QvrBusxbDA7d1d9u6trpWusQtd69rjVZ
VUcbhrdIsq6Nwh9ddnjnZYf/gMecl0YvA/Rc33kutJ57ZjzX+7Hn+n/Dc/2/5bn+ynP9H3mu
f6fn+v+I56yXOqFx3S66Luo7llcVl5UtDq7ZLATIO2VQlLy6DNWD16f18Ojlp9VkP/EapdEP
BhXcnoo4QVh4C6/Ds3r4vkNHv9ez5OzFHl/Rpadf4v1hPR3ekHR3ke41ijTx6+qHqsEZi0Ya
4ZJzzek4YY9NOXbOclXC0rfzgkmN9aSauyPnXhSu3MGj8KisZ/Rspx5n69pf+PaF0XIY/Bpa
XRO6BluWQs6lEGnzlo5Gs+Xnhqz50dlOj45Wl7cYp91knB19il+9rlfzcRp/vfX23lPNF+uw
PccvFdhudzWwFG2e5glLWbaGm4WBrwoglxQ56M+ZPdd4zAwRYiD4crRVX7PFekBMmro9eMqs
5PgNnmtuiWUBsFYi63MXfK3aVy0b2C0CDXLba3vbvmcwaVJ6LW/CJ7rUM8kYTGgWA4LFVWCG
uzm0Zspj3BrPhJSgA4xjrngWJTyjaDEsRAmVFL7ZJfOCFvFOstrNp0U9XHd2q/EU9N6BYscj
+PPuLaoXiWzBMm6lZUIq1AmkFdJpDY9cligYgCIZJAGqLJJELJUxKUkY6txre8G2B69bZP/2
Ffz59AnZ8wyCDiIYAxiN5NEcz1HJjSAeMXDm1Nglojm6EcZQY8Yc/QhjfGUb3WaiUFb8xyco
6+wE+WO4wFMAWaZjZ4WmMuYZU0bQlPJM4epYiiXYCaOpyDJqWE+50kZKJIGljzykUNz4V8+Y
zJg2RkqWUnQ+xA6dIgs1h9emYW9F0qxcAj0zXBeMWqfwHBXVj1FRlXLjARpFLNesec8Rrqdq
ymMbBqrIc6GYnUxYRRHDlYx5wjXeSszGWARQ9+MZSmFJ4gUIRybo6hjr4R8ve394LtESMaWZ
A4HnVQi31QxC0jfHNjdcpoFFTPKIf2U3U63OtBKrCYvmJt2wpfg/mTm+zH+ytOcV6UWA3Qir
ppi4VFsV0hUVtqStSt5WlZTN/ZU2RqyBtlROscKaZ1WjPKsEIqsNgZH4QFFgQps0vnfPlb27
9WjTPE9KPKYq/7SMGHP+ytUC5yw4eoejJhQuvKz945yCB1hAGpPmWa5ZGnxraOn/C0nsOvhn
WHFtasKzER8dRnjhpywffcjxyiOq/iyQt+97muuEKQ9qRUpjiUFGIBmKjHEcKRFxAdFRmmWb
a8TDIEwZjiKRpkVmgo54efn5+avDycgLyDbxPs735wfxyakXNNqhKe08myQ0TU3NskpMqWKQ
wMhkybQ2iQzCNZAoyGCzAaHNJI2MpAjSfiwNA6sP1kCjkOa5FmakCjlldn+VKIaTOjt9ln8e
Hxxoq+lU6LP86KaeNjc05sKkBJ1A1zo3cpH7QVvloJXvPfFW5JKmOZXaPehNYvkrFu4XJPPs
AhsibdneStqpSRdFAheOF+a438xR//oKnl0y8Cu2N++FVytIU5pMae396+ecSAj4FIqwup2C
ymgG1xGZPoD8x+HTZDwd3oRGNfhRgC9E4k8LrbEDYh2EbmIQUYVvyiYUMqrmmHcAQUzTJ8Pa
EXBpDzyyXXEhJndvUK8vbK9ZPlgHt/VlnK+ZdgGxCf6mqShMIVfQe3KGtf4LNBBmGhODfVek
GbOhC6kkucAKLbgSri0in8mE4+ED1N1eDgYg9Km4BHaYAJhRQImB6i25xj5lxopCZ+dmmFJ0
oZhMaGR00rJIc9OKNLQi7BJjKPfMqrEwAiGTMoA9uPcJcUF1C+adG6x8sbmx7oy1TN0mBg9o
yp1FMayWihu1WRZDgzFXbitvvBARZOvQ92y1QZPPjiMJ+TkcNta8015S/H5QY5O9MCqffvoc
vs6jV4fTevn4YO/rd0B4cP/+SmtAwitIOotfrSDQNZh5QbY9D7R592X1jliuk9y/b1uTf/D1
xf7HOIAy6xUAquAiwdX1cwiLeGWy/S3m3nooj/GFoNZS3fcR1uiZc2Yx5qYEehBgmb3pHC5d
c4NfFNS+aWKCKkoKxCVIME0wNLHNa4mLeOn7BqsAcDcxqdmlVgYfAXSJoIkhLyiWc4sfEgCF
Bi9E1Axyqixegm5nUlcY9Hn84sMHhBHPnyJYgXLL8gpwCqVoNDeQE2ToCohCePLIGQRYKTX2
RDTH9DVABt4cuNQ+NiBIPvKC+tcnFId1+nlz7RGuMJp6QSNenVuvJ22T4mg2ujwoHOLZ+8O7
cbjqs/b909ieHdDjd9Qe7HZuOXnuxWHjGRMfnAzvgNgX/io6fQ8yeYEgEvAHA0hJIxsB4DJl
0hiqVsRYbFejmcQeaCBpBviYJTXSTC26RAceAaQGF29Dxcm8bfd/L1snWxdtLd6KJZPPoNj4
CASB5nD1st2bs8M7k+qi6cfRGb1kh7Ol80f3Nn/4Nq0xq4VngrDQMwxTWTAHwgHOgz3G+Dm1
TduDKmRx9pLbQpoXGjo2jVwsFflMJBg0nY6JbUgQOOGKISBxYdB0tmBKO5cssFZOqQXS8FKw
+BxMhNeAecjgiwMD+xFH7xk5jVjrGEheRpBcBrRTYBsbXkbTzKL7pRT2hhKqFJ9wQwA4l+Z4
Q1RmZqHzCAtus5AGF43fS/HfXD5fLuTMebZ3W4wqumCfxEueMH+9q7VIr3lLx2p5GHPHKbyN
E5QcjIS1m51M3525M31z5t69CmhUOODihlybLy3o20XdQq4AdJKI6mhG/Ml49vTgqxrVP3q8
efMmEx8PXjhJOyCJ2IczHNOyBDIHEryZ1vnjBw8gVv9TdDoPO9R89VP82u1OzdfexC4qR9V7
YalCbqke4FfY2TOLO1/M4ouxWXy4axZ3d0wD+nf5/vS3Z6/HXA+zl3z+5uUCb7c8lW/l/vK3
xQmAuytjk3/yZpbv5xkLrEVvy68HR+XxR2fQLhhU/bL1X1BLAQIfABQAAAAIAE1j20j1CYC7
LAwAAAQeAAAUACQAAAAAAAAAIAAAAAAAAABGSUxFMDAwMzcwMjU3NTkyNS5qcwoAIAAAAAAA
AQAYAAp9YvpV0NEBCn1i+lXQ0QEKfWL6VdDRAVBLBQYAAAAAAQABAGYAAABeDAAAAAA=

--Apple-Mail-7B6304C0-B405-E003-6E2C-14A79FFB4F4B--


From nobody Tue Jun 28 19:25:25 2016
Return-Path: <andy@yumaworks.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 53DE212D9CC for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 19:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GluXUsb1ZuRR for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 19:25:22 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D627A12D1DC for <media-types@ietf.org>; Tue, 28 Jun 2016 19:25:21 -0700 (PDT)
Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5T2P0EK018187 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Wed, 29 Jun 2016 02:25:21 GMT
Received: by mail-vk0-x229.google.com with SMTP id k62so37694683vkb.3 for <media-types@iana.org>; Tue, 28 Jun 2016 19:25:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=O328n+BKy1AKldgjLibm8P9OIf5dgi0VRngcRRYxans=; b=BylvGEsl6JoEQX/AitX5YCBaabSRuXzCUGYn66BDgaNLJxkGLqGf5/G/vvSzjzcoWL 2CUmtvU0L3voZInekSdPGSDRXEpVK1BHmdRTyQg3IYfslftzsmudp/ZqXpHLEapHXUW0 jy7enN4q+wfyACbQ+YQrPICfbG+Ty1qww0EI5jJ1Ax3e3z8RGPaEYKBA37vZgVIWiPXf LFtn6yODcrLJFFKkxTbrOdLTXaLr4wef3Fpwd4X0aIfjVNorGMx9VZ02Cvgd0ld2yD6O ICUpAS/cgfz7XvCIl4cnNDo1WJxSetbeahOFdu0kgAcZHVD4lGD9VBghEWYcKw/LaiHv KLRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=O328n+BKy1AKldgjLibm8P9OIf5dgi0VRngcRRYxans=; b=c2XOG0YeUrM8xQ5jZDQmZHhDtDz+sLj4IzRjcDIuApvbZ8+nJ2X+yAA65r2AYK/ihU qIyMAYu6JLv1isVmt284K1nkAz2yMiezDwOI9desQQCTzUh8VpfSnEsKkkBeeYVdapiu xcqhfgnFH2pksjLHYvrtEUSkpc5lurBkpw+UiMYn/M2QWv481sV6Ju+8baI/K2OciBFB 9o82z63HzhqsJWULfuG5gNnZBFWN8mUQNVCdQow1IYnM/fX9r55cmJZpuJauK6AuOQQw YskIMeTOfYtQb5XdcOdZt9U5Fbl1H1IUskI5syGgZ8GsVMrJa7vEQE6dRhzEO53+Opqt 3DUg==
X-Gm-Message-State: ALyK8tKTPa0j8uf2o+TfyZU4Bl8R9+CM87is0Naiaz6+2Q97l2R8PVG4y1EgZYPUPdJVW1y8mHa2nzIpQI/pKQ==
X-Received: by 10.176.64.166 with SMTP id i35mr2479403uad.105.1467167100790; Tue, 28 Jun 2016 19:25:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.20.2 with HTTP; Tue, 28 Jun 2016 19:24:59 -0700 (PDT)
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 28 Jun 2016 19:24:59 -0700
Message-ID: <CABCOCHQJXtyhpfAgUn94FJ0WWyLvvKjC9inHpVY7-34GMJd=Bw@mail.gmail.com>
To: media-types@iana.org
Content-Type: multipart/alternative; boundary=94eb2c1243b2de909d0536617539
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [IPv6:2620:0:2830:201::1:71]); Wed, 29 Jun 2016 02:25:21 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/vA3UXpj3FW8be_UJmeENOYutWqI>
Cc: Netconf <netconf@ietf.org>
Subject: [media-types] request review of media type application/yang-data+xml
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 02:25:23 -0000

--94eb2c1243b2de909d0536617539
Content-Type: text/plain; charset=UTF-8

Hi,

Please review and provide feedback on the revised media type registration
for the RESTCONF protocol.

https://tools.ietf.org/html/draft-ietf-netconf-restconf-14#section-11.3.1



thanks,
Andy

--94eb2c1243b2de909d0536617539
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Please review and provide feedback =
on the revised media type registration</div><div>for the RESTCONF protocol.=
</div><div><br></div><div><a href=3D"https://tools.ietf.org/html/draft-ietf=
-netconf-restconf-14#section-11.3.1">https://tools.ietf.org/html/draft-ietf=
-netconf-restconf-14#section-11.3.1</a><br></div><div><br></div><div><br></=
div><div><br></div><div>thanks,</div><div>Andy</div><div><br></div><div><br=
></div></div>

--94eb2c1243b2de909d0536617539--


From nobody Tue Jun 28 19:27:30 2016
Return-Path: <andy@yumaworks.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 F0A6F12D9CC for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 19:27:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.935
X-Spam-Level: 
X-Spam-Status: No, score=-1.935 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YKSl4wzc1rga for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 19:27:27 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D43512D9CB for <media-types@ietf.org>; Tue, 28 Jun 2016 19:27:27 -0700 (PDT)
Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5T2R6B1026674 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Wed, 29 Jun 2016 02:27:26 GMT
Received: by mail-vk0-x22a.google.com with SMTP id k62so37740456vkb.3 for <media-types@iana.org>; Tue, 28 Jun 2016 19:27:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=e4AP5xFuUw/loBVRWqgDq3KiKGttsPoko0MaYmlhjjQ=; b=s7pb0qL+Jz31suB/Ow/Sof1RfkJ33ZNA66b+Trl+7FRRlaBDrhgs2EnLL8Dpp2sKRz FkOr+aZC1prLtgDfuZJV1eayQl3wpJOpeb6htObDSH5VFL3OzZBejK54oNjkOHCKDV2Z CHFfQN8hqY0qywfz9PcISd28YHwBfGKRNisZLlS49EyI/Yb0itkDgy92rpqW/cg1SHw+ /xRprgBVTrWNJ1kIWMCXPBLzuoGHmybxpEBY00FHoy3qnVSI0KJiR33MLKv5q0fwI9oB qlM5n24nkuIWSokox0klZglMPDTam53DMYcu4JFdqutgFj5qq2JYTKn7sBlA6hr7o7Fp xWNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=e4AP5xFuUw/loBVRWqgDq3KiKGttsPoko0MaYmlhjjQ=; b=X3nI9UdfSsBG83euqYXf4P+HGPVAHawVF+vuiuiuvYX+BY+kZeEAtCflhdw59ARBq1 rpjBwgEsQUqfiOLHTCt3MnolPeYfQH19DhMEGYukybVOu0gZIE0ph5tHUSB+NOuUmeHp 3sEQOiaoAVEW5BxqCD0Sduo1rA+80GWcnzHntKKUMk68OZq3kkRCqNH4JsrjDf2k1BAd fAgsLSYamZNeZJPOUJnrSNUYsDd8gZaUnwL6dly2QMc3vYUfMhtNNuh88sONjth4NiWJ WuC6c5ZA51p2zZAlgz3G5Im+ph1LEco7nFFL4FmBuRuYoL0Yvisc7qkd1GPVEXbRE9Bl lnAw==
X-Gm-Message-State: ALyK8tL5PNEQClg/fKyfLJPi3udIDYJzlH+8EukO5xy0/oAJAb7AQcvbo4YjRPk0IfJBhLXIoKXpvCpse6RjNA==
X-Received: by 10.159.36.245 with SMTP id 108mr2544649uar.121.1467167226027; Tue, 28 Jun 2016 19:27:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.20.2 with HTTP; Tue, 28 Jun 2016 19:27:05 -0700 (PDT)
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 28 Jun 2016 19:27:05 -0700
Message-ID: <CABCOCHQKVaEcXfgKFOdTXy_4A7+3yAp1TQWoidMoPA=OYzgMMg@mail.gmail.com>
To: media-types@iana.org
Content-Type: multipart/alternative; boundary=001a11398fe655aa750536617d16
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora1.lax.icann.org [IPv6:2620:0:2d0:201::1:71]); Wed, 29 Jun 2016 02:27:27 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/BqIjpHwdHBhcQFwmP1NXTefghks>
Cc: Netconf <netconf@ietf.org>
Subject: [media-types] request review of media type application/yang-data+json
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 02:27:29 -0000

--001a11398fe655aa750536617d16
Content-Type: text/plain; charset=UTF-8

Hi,

Please review and provide feedback on the revised media type registration
for the RESTCONF protocol.

https://tools.ietf.org/html/draft-ietf-netconf-restconf-14#section-11.3.2



thanks,
Andy

--001a11398fe655aa750536617d16
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Please review and provide feedback =
on the revised media type registration</div><div>for the RESTCONF protocol.=
</div><div><br></div><div><a href=3D"https://tools.ietf.org/html/draft-ietf=
-netconf-restconf-14#section-11.3.2">https://tools.ietf.org/html/draft-ietf=
-netconf-restconf-14#section-11.3.2</a><br></div><div><br></div><div><br></=
div><div><br></div><div>thanks,</div><div>Andy</div><div><br></div></div>

--001a11398fe655aa750536617d16--


From nobody Tue Jun 28 19:30:26 2016
Return-Path: <andy@yumaworks.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 49D4912D9CA for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 19:30:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EzZ_Zw4UhQVf for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 19:30:22 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD28412D9C6 for <media-types@ietf.org>; Tue, 28 Jun 2016 19:30:21 -0700 (PDT)
Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5T2U0b5018491 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Wed, 29 Jun 2016 02:30:20 GMT
Received: by mail-vk0-x22b.google.com with SMTP id c2so47884122vkg.1 for <media-types@iana.org>; Tue, 28 Jun 2016 19:30:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=5TxSTFcih7jxuz3ehwsm3KuKjQPuxYPaw7iEECf9+r8=; b=i2bMiUEVmIqJPjsZo14LJb9JwXA+SdvqnaQ8t7aQSzt0pLY+Ie1YgfkQHjrLBAqvdn bAh5Nz3NCsgztaOmOkOPk3JBcfQMQd8UQ/X/nZFuD0MZcCQ0L3FO7pgVPp78z2joypBH 3KGCLgh2TMHiu9JL8dwzsPHYttvmMUXQcbhf8tMWWjV5hfg25eRQLG51c9Jd98zq7TEG wwz0dr9OD+gpkTiqn+xPL5uQKRBTgm3MdS8dcfYsbgugSaafa37NbHuOp4XobRSDtOU7 CDtsYRTblWIbwkd9FMOUSDxVsigu90OwllcE9PqygxM8azSagqjS5iI7tCrY+HKyOKK9 +QCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=5TxSTFcih7jxuz3ehwsm3KuKjQPuxYPaw7iEECf9+r8=; b=XCDgR71spKNzItQMC0jdO76nV0ytmosAGrW9AZgxWDcgA+paHkts9ArwnCKHbs3dW5 +T1BfFh8b8rekg1wUJo1h+E+L6O1RRyk/0qL88+0gzNU0xbB10ArhlIedCuzVuEtekmT 7EhmgtUF1S751v8F5PPTcoW6ueFuWX3gNlEGI40oBp5fyGHiPDlS7QEPf7U957wr0qpz EtBI3Yq1QnAaO80Dx/p474HaUlj2/e360wczKxdfBIKELUApYSo4K7Zrn+wRhlKSpZM7 pzz8CcOX5RlEOGqduXowucbjdAa8sz7gmHKxr3pszpDPXjwtanfqiAiEj1oBQnu5Fw5k 0ABA==
X-Gm-Message-State: ALyK8tIwoSaSf2ZnkYIxPjxzK6hd9luhYKZlAmJSPlxIyuP2muZ9cwAN/yjroOrNRy3ObTsFW61KehAnZv7KFw==
X-Received: by 10.159.35.72 with SMTP id 66mr2512348uae.55.1467167400608; Tue, 28 Jun 2016 19:30:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.20.2 with HTTP; Tue, 28 Jun 2016 19:29:59 -0700 (PDT)
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 28 Jun 2016 19:29:59 -0700
Message-ID: <CABCOCHRbWUC=o_aGuxH6ccap1GDPbRHR1KE44NZfEn4u85NtYA@mail.gmail.com>
To: media-types@iana.org
Content-Type: multipart/alternative; boundary=001a11353092bd60cf0536618731
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [IPv6:2620:0:2830:201::1:71]); Wed, 29 Jun 2016 02:30:21 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/AcH9x62iiVO10xDCZ5h2gFbUSH4>
Cc: Netconf <netconf@ietf.org>
Subject: [media-types] request review of media type application/yang-patch+xml
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 02:30:23 -0000

--001a11353092bd60cf0536618731
Content-Type: text/plain; charset=UTF-8

Hi,

Please review and provide feedback on the media type registration
for  YANG Patch media type for the PATCH method.  This is used by
the RESTCONF protocol.


https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-09#section-4.2.1


thanks,
Andy

--001a11353092bd60cf0536618731
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">Hi,</span><div style=3D"f=
ont-size:12.8px"><br></div><div style=3D"font-size:12.8px">Please review an=
d provide feedback on the media type registration</div><div style=3D"font-s=
ize:12.8px">for =C2=A0YANG Patch media type for the PATCH method.=C2=A0 Thi=
s is used by</div><div style=3D"font-size:12.8px">the RESTCONF protocol.</d=
iv><div><br></div><div><br></div><div><a href=3D"https://tools.ietf.org/htm=
l/draft-ietf-netconf-yang-patch-09#section-4.2.1">https://tools.ietf.org/ht=
ml/draft-ietf-netconf-yang-patch-09#section-4.2.1</a><br></div><div><br></d=
iv><div><br></div><div>thanks,</div><div>Andy</div><div><br></div></div>

--001a11353092bd60cf0536618731--


From nobody Tue Jun 28 19:32:37 2016
Return-Path: <andy@yumaworks.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 7CBA912D9CB for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 19:32:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hQ1Q-sD-Az22 for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 19:32:34 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3505212D1E6 for <media-types@ietf.org>; Tue, 28 Jun 2016 19:32:34 -0700 (PDT)
Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5T2WD4Q029638 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Wed, 29 Jun 2016 02:32:33 GMT
Received: by mail-vk0-x230.google.com with SMTP id c2so47934461vkg.1 for <media-types@iana.org>; Tue, 28 Jun 2016 19:32:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=LSSSPXRY54nu5aFo3/CVHYghuWgVecBu9Iw4vymDQhU=; b=c4x+PGJQWLhSPKSYsJp5qP8/MVmYbRLt1PayBEOpYGqqLruii/h5Ub6WcMsA2hvVnF A50tb2vg2AuLGnedBC9IBlkdDGWlj0DwykMOne3/kFKCn/43MEdbbQmUQpuTwQCWvNb6 w1jyxBUudpHHkohg3q3GmJp5x+3Fv5u2YqEOs7frxOssaA3/fAXHLGFKv6mCBP2OdrZS EtSsS4WmGTlssjkUG4Upt8s8gCeJuE5qsS4HXvEVnUcmo5AHcUNYMqFIhZY/17D7mVt0 YueoE+4fyEh5fpUL3f3jRdC5Xs2WLzOrO7EzyLUxO/jwsWfe2fKz4FoD1xZeIw/DKggb Qxlw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=LSSSPXRY54nu5aFo3/CVHYghuWgVecBu9Iw4vymDQhU=; b=Iu5hAIKhA2qMGl/YoRXojz5CbS5rRBqnYQ7EMd77iNd17JchggKgqr7vellk9L3yHs JsiTftQww0cBHfnsEAdh0dzLvWFWJTmRvsgn59zd4a1OtJghHvtKhgXE18+869bFMlbq M/DXz9zQ+ubipUnKmrwr7PDVjuXCB5QHA9iXx9pFaejopZ0mTUfvm0Z8J1GWDdyOlNij sGoJBH4P0np4IoejeTs1kR30tqj/EyHHwKZZNx7fEuI5gSL+smkiwernZ3oHnr5ifB/q 9RQ+EYdK7LSMm817VvYzA5eOOqIE+p3k1XR2owLpjE+54LRPgn+1U9rvOE4yAbuj5pmX Iofw==
X-Gm-Message-State: ALyK8tKpUEBLPmsjz+fq0+RKkKjMiHRotU081L2oO0D+Rr03NhmDldf/YI9TcsiMLQhYg5DW6o0At3IMs2HaVw==
X-Received: by 10.159.36.245 with SMTP id 108mr2553152uar.121.1467167533247; Tue, 28 Jun 2016 19:32:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.20.2 with HTTP; Tue, 28 Jun 2016 19:32:12 -0700 (PDT)
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 28 Jun 2016 19:32:12 -0700
Message-ID: <CABCOCHR9AiQtiWO0gRzhDGe-XwnNdKQKm3+gdvsOBG1XYfi5Tg@mail.gmail.com>
To: media-types@iana.org
Content-Type: multipart/alternative; boundary=001a11398fe6a543170536618fed
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [IPv6:2620:0:2d0:201::1:73]); Wed, 29 Jun 2016 02:32:34 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/4Sm9QGQs_z3OeLdOzokmk4q9ixM>
Cc: Netconf <netconf@ietf.org>
Subject: [media-types] request review of media type application/yang-patch+json
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 02:32:35 -0000

--001a11398fe6a543170536618fed
Content-Type: text/plain; charset=UTF-8

Hi,

Please review and provide feedback on the media type registration
for  the YANG Patch media type for the PATCH method.  This is used by
the RESTCONF protocol.


https://tools.ietf.org/html/draft-ietf-netconf-yang-patch-09#section-4.2.2


thanks,
Andy

--001a11398fe6a543170536618fed
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">Hi,</span><div style=3D"f=
ont-size:12.8px"><br></div><div style=3D"font-size:12.8px">Please review an=
d provide feedback on the media type registration</div><div style=3D"font-s=
ize:12.8px">for =C2=A0the YANG Patch media type for the PATCH method.=C2=A0=
 This is used by</div><div style=3D"font-size:12.8px">the RESTCONF protocol=
.</div><div><br></div><div><br></div><div><a href=3D"https://tools.ietf.org=
/html/draft-ietf-netconf-yang-patch-09#section-4.2.2">https://tools.ietf.or=
g/html/draft-ietf-netconf-yang-patch-09#section-4.2.2</a><br></div><div><br=
></div><div><br></div><div>thanks,</div><div>Andy</div><div><br></div></div=
>

--001a11398fe6a543170536618fed--


From nobody Tue Jun 28 20:18:49 2016
Return-Path: <dev+ietf@seantek.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 2355F12D544 for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:18:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tv9AlGhiCwgq for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:18:45 -0700 (PDT)
Received: from pechora4.lax.icann.org (pechora4.icann.org [IPv6:2620:0:2d0:201::1:74]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E24C12D9E9 for <media-types@ietf.org>; Tue, 28 Jun 2016 20:18:35 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora4.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5T3IEpY029993 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Wed, 29 Jun 2016 03:18:35 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1651150A73; Tue, 28 Jun 2016 23:18:13 -0400 (EDT)
To: Andy Bierman <andy@yumaworks.com>, media-types@iana.org
References: <CABCOCHQJXtyhpfAgUn94FJ0WWyLvvKjC9inHpVY7-34GMJd=Bw@mail.gmail.com> <d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <8f8db9b8-9917-4b26-25f6-ee0c19492bb9@seantek.com>
Date: Tue, 28 Jun 2016 20:17:56 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com>
Content-Type: multipart/alternative; boundary="------------E768ED3CFACB771DBCC98671"
X-Greylist: Delayed for 00:11:29 by milter-greylist-4.0 (pechora4.lax.icann.org [192.0.33.74]); Wed, 29 Jun 2016 03:18:35 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/qW2_TEkmLNoEYUbn9iIORsGvxTM>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [media-types] [Netconf] request review of media type application/yang-data+xml
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 03:18:48 -0000

This is a multi-part message in MIME format.
--------------E768ED3CFACB771DBCC98671
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

Based on the discussion on media-types@ and netconf@ that I have=20
observed, the registration is in pretty good substantive shape. I have=20
no substantive comments except for the fragment identifier, which I=20
understand is not of consequence to YANG processors. What follows below=20
are mostly editorial edits:

On 6/28/2016 8:06 PM, Sean Leonard wrote:
> It is considered customary to copy and paste *just* the registration=20
> text in this mailing list.
> Here you go:
>
>    Type name: application
>
>    Subtype name: yang-data+xml
>
>    Required parameters: none

Usually I see this written "None." Purely editorial preference.

>
>    Optional parameters: none

Ditto.

>
>   // RFC Ed.: replace draft-ietf-netmod-rfc6020bis with
>   // the actual RFC reference for YANG 1.1, and remove this note.
>
>    Encoding considerations: 8-bit
>       Each conceptual YANG data node is encoded according to
>       XML Encoding Rules and Canonical Format for the specific
>       YANG data node type defined in [draft-ietf-netmod-rfc6020bis].

"is encoded according to the XML Encoding Rules"...

>
>   // RFC Ed.: replace 'NN' in Section NN of [RFCXXXX] with the
>   // section number for Security Considerations
>   // Replace 'XXXX' in Section NN of [RFCXXXX] with the actual
>   // RFC number, and remove this note.
>
>    Security considerations: Security considerations related
>       to the generation and consumption of RESTCONF messages
>       are discussed in Section NN of [RFCXXXX].
>       Additional security considerations are specific to the
>       semantics of particular YANG data models. Each YANG module
>       is expected to specify security considerations for the
>       YANG data defined in that module.
>
>   // RFC Ed.: replace XXXX with actual RFC number and remove this
>   // note.
>
>    Interoperability considerations: [RFCXXXX] specifies format of
>       conforming messages and the interpretation thereof.

"[RFCXXXX] specifies the format of"...

>
>   // RFC Ed.: replace XXXX with actual RFC number and remove this
>   // note.
>
>    Published specification: RFC XXXX
>
>    Applications that use this media type: Instance document
>      data parsers used within a protocol or automation tool
>      that utilizes YANG defined data structures.

"Instance document data parsers used within a protocol or automation tool=

      that utilize YANG-defined data structures."

Change utilizes -> utilize. It's plural.

I think YANG-defined is correct due to being stacked noun phrases, or=20
something.


>
>    Fragment identifier considerations: The fragment field in the
>       request URI has no defined purpose.

 From the perspective of NETCONF this is probably correct. However,=20
Section 4.11 of RFC 6838 says:

    Media types are encouraged to adopt fragment identifier schemes that
    are used with semantically similar media types.  In particular, media=

    types that use a named structured syntax with a registered "+suffix"
    MUST follow whatever fragment identifier rules are given in the
    structured syntax suffix registration.


There are some things about +xml things:
http://www.iana.org/assignments/media-type-structured-suffix/media-type-s=
tructured-suffix.xhtml

RFC 7303.

Look it up.

I don't have experience dealing with this, and I would not hold back the =

registration on that basis. The Expert Reviewer might.

>
>    Additional information:
>
>      Deprecated alias names for this type: n/a
>      Magic number(s): n/a
>      File extension(s): .xml
>      Macintosh file type code(s): "TEXT"
>
>   // RFC Ed.: replace XXXX with actual RFC number and remove this
>   // note.
>
>    Person & email address to contact for further information: See
>       Authors' Addresses section of [RFCXXXX].
>
>    Intended usage: COMMON
>
>    (One of COMMON, LIMITED USE, or OBSOLETE.)

You can remove the parenthetical. It's not part of the template instance.=


>
>    Restrictions on usage: n/a

RFC 6838 Section 5.6 says '"N/A", written exactly that way'. Stick with=20
N/A (all-caps).

>
>   // RFC Ed.: replace XXXX with actual RFC number and remove this
>   // note.
>
>    Author: See Authors' Addresses section of [RFCXXXX].
>
>    Change controller: Internet Engineering Task Force
>       (mailto:iesg&ietf.org).
>
>    Provisional registration? (standards tree only): no

You can also remove the parenthetical. It's not part of the template=20
instance.

Best regards,

Sean

>
> On 6/28/2016 7:24 PM, Andy Bierman wrote:
>> Hi,
>>
>> Please review and provide feedback on the revised media type=20
>> registration
>> for the RESTCONF protocol.
>>
>> https://tools.ietf.org/html/draft-ietf-netconf-restconf-14#section-11.=
3.1=20
>>
>>
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf



--------------E768ED3CFACB771DBCC98671
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Based on the discussion on media-types@
      and netconf@ that I have observed, the registration is in pretty
      good substantive shape. I have no substantive comments except for
      the fragment identifier, which I understand is not of consequence
      to YANG processors. What follows below are mostly editorial edits:<br>
      <br>
      On 6/28/2016 8:06 PM, Sean Leonard wrote:<br>
    </div>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">It is considered customary to copy and paste *just*
      the registration text in this mailing list.
      <br>
      Here you go:
      <br>
      <br>
         Type name: application
      <br>
      <br>
         Subtype name: yang-data+xml
      <br>
      <br>
         Required parameters: none
      <br>
    </blockquote>
    <br>
    Usually I see this written "None." Purely editorial preference.<br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
         Optional parameters: none
      <br>
    </blockquote>
    <br>
    Ditto.<br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
        // RFC Ed.: replace draft-ietf-netmod-rfc6020bis with
      <br>
        // the actual RFC reference for YANG 1.1, and remove this note.
      <br>
      <br>
         Encoding considerations: 8-bit
      <br>
            Each conceptual YANG data node is encoded according to
      <br>
            XML Encoding Rules and Canonical Format for the specific
      <br>
            YANG data node type defined in
      [draft-ietf-netmod-rfc6020bis].
      <br>
    </blockquote>
    <br>
    "is encoded according to the XML Encoding Rules"...<br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
        // RFC Ed.: replace 'NN' in Section NN of [RFCXXXX] with the
      <br>
        // section number for Security Considerations
      <br>
        // Replace 'XXXX' in Section NN of [RFCXXXX] with the actual
      <br>
        // RFC number, and remove this note.
      <br>
      <br>
         Security considerations: Security considerations related
      <br>
            to the generation and consumption of RESTCONF messages
      <br>
            are discussed in Section NN of [RFCXXXX].
      <br>
            Additional security considerations are specific to the
      <br>
            semantics of particular YANG data models. Each YANG module
      <br>
            is expected to specify security considerations for the
      <br>
            YANG data defined in that module.
      <br>
      <br>
        // RFC Ed.: replace XXXX with actual RFC number and remove this
      <br>
        // note.
      <br>
      <br>
         Interoperability considerations: [RFCXXXX] specifies format of
      <br>
            conforming messages and the interpretation thereof.
      <br>
    </blockquote>
    <br>
    "[RFCXXXX] specifies the format of"...<br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
        // RFC Ed.: replace XXXX with actual RFC number and remove this
      <br>
        // note.
      <br>
      <br>
         Published specification: RFC XXXX
      <br>
      <br>
         Applications that use this media type: Instance document
      <br>
           data parsers used within a protocol or automation tool
      <br>
           that utilizes YANG defined data structures.
      <br>
    </blockquote>
    <br>
    "Instance document data parsers used within a protocol or automation
    tool<br>
         that utilize YANG-defined data structures."<br>
    <br>
    Change utilizes -&gt; utilize. It's plural.<br>
    <br>
    I think YANG-defined is correct due to being stacked noun phrases,
    or something.<br>
    <br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
         Fragment identifier considerations: The fragment field in the
      <br>
            request URI has no defined purpose.
      <br>
    </blockquote>
    <br>
    From the perspective of NETCONF this is probably correct. However,
    Section 4.11 of RFC 6838 says:<br>
    <br>
    <pre class="newpage" style="font-size: 13.3333px; margin-top: 0px; margin-bottom: 0px; break-before: page; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">   Media types are encouraged to adopt fragment identifier schemes that
   are used with semantically similar media types.  In particular, media
   types that use a named structured syntax with a registered "+suffix"
   MUST follow whatever fragment identifier rules are given in the
   structured syntax suffix registration.</pre>
    <br>
    There are some things about +xml things:<br>
<a class="moz-txt-link-freetext" href="http://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xhtml">http://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xhtml</a><br>
    <br>
    RFC 7303.<br>
    <br>
    Look it up.<br>
    <br>
    I don't have experience dealing with this, and I would not hold back
    the registration on that basis. The Expert Reviewer might.<br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
         Additional information:
      <br>
      <br>
           Deprecated alias names for this type: n/a
      <br>
           Magic number(s): n/a
      <br>
           File extension(s): .xml
      <br>
           Macintosh file type code(s): "TEXT"
      <br>
      <br>
        // RFC Ed.: replace XXXX with actual RFC number and remove this
      <br>
        // note.
      <br>
      <br>
         Person &amp; email address to contact for further information:
      See
      <br>
            Authors' Addresses section of [RFCXXXX].
      <br>
      <br>
         Intended usage: COMMON
      <br>
      <br>
         (One of COMMON, LIMITED USE, or OBSOLETE.)
      <br>
    </blockquote>
    <br>
    You can remove the parenthetical. It's not part of the template
    instance.<br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
         Restrictions on usage: n/a
      <br>
    </blockquote>
    <br>
    RFC 6838 Section 5.6 says '"N/A", written exactly that way'. Stick
    with N/A (all-caps).<br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
        // RFC Ed.: replace XXXX with actual RFC number and remove this
      <br>
        // note.
      <br>
      <br>
         Author: See Authors' Addresses section of [RFCXXXX].
      <br>
      <br>
         Change controller: Internet Engineering Task Force
      <br>
            (<a class="moz-txt-link-freetext" href="mailto:iesg&amp;ietf.org">mailto:iesg&amp;ietf.org</a>).
      <br>
      <br>
         Provisional registration? (standards tree only): no
      <br>
    </blockquote>
    <br>
    You can also remove the parenthetical. It's not part of the template
    instance.<br>
    <br>
    Best regards,<br>
    <br>
    Sean<br>
    <br>
    <blockquote
      cite="mid:d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com"
      type="cite">
      <br>
      On 6/28/2016 7:24 PM, Andy Bierman wrote:
      <br>
      <blockquote type="cite">Hi,
        <br>
        <br>
        Please review and provide feedback on the revised media type
        registration
        <br>
        for the RESTCONF protocol.
        <br>
        <br>
<a class="moz-txt-link-freetext" href="https://tools.ietf.org/html/draft-ietf-netconf-restconf-14#section-11.3.1">https://tools.ietf.org/html/draft-ietf-netconf-restconf-14#section-11.3.1</a>
        <br>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      Netconf mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Netconf@ietf.org">Netconf@ietf.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/netconf">https://www.ietf.org/mailman/listinfo/netconf</a>
      <br>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------E768ED3CFACB771DBCC98671--


From nobody Tue Jun 28 20:23:41 2016
Return-Path: <dev+ietf@seantek.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 4E77912D9D7 for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:23:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZZXYV8vdFUtq for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:23:38 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E15112D5A8 for <media-types@ietf.org>; Tue, 28 Jun 2016 20:23:36 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5T3NFaq032367 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Wed, 29 Jun 2016 03:23:36 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 477D7509B6; Tue, 28 Jun 2016 23:23:15 -0400 (EDT)
To: Andy Bierman <andy@yumaworks.com>, media-types@iana.org
References: <CABCOCHQKVaEcXfgKFOdTXy_4A7+3yAp1TQWoidMoPA=OYzgMMg@mail.gmail.com> <c87a6ba4-35b5-2256-8b13-96fa7ec094a4@seantek.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <c38a5ffb-cf0e-4204-753e-f79a1163415b@seantek.com>
Date: Tue, 28 Jun 2016 20:22:57 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <c87a6ba4-35b5-2256-8b13-96fa7ec094a4@seantek.com>
Content-Type: multipart/alternative; boundary="------------19A5463E6705832C91FAC000"
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [192.0.33.73]); Wed, 29 Jun 2016 03:23:36 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/sOTQ1CK55c7yA_lTYJxYZk4Uwec>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [media-types] [Netconf] request review of media type application/yang-data+json
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 03:23:39 -0000

This is a multi-part message in MIME format.
--------------19A5463E6705832C91FAC000
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

(Mostly a duplicate of application/yang-data+xml)

Based on the discussion on media-types@ and netconf@ that I have 
observed, the registration is in pretty good substantive shape. I have 
no substantive comments except for the fragment identifier, which I 
understand is not of consequence to YANG processors. I won't repeat my 
comments from application/yang-data+xml. Therefore the only thing to 
talk about is the JSON fragment thing:

On 6/28/2016 8:07 PM, Sean Leonard wrote:
> For application/yang-data+json:
>
> ...
>    Fragment identifier considerations: The fragment field in the
>       request URI has no defined purpose.
>

As with application/yang-data+xml, you are supposed to match the +json 
fragment with how JSON works. RFC 6839 Section 3.1. But currently it 
(+json) doesn't do anything, in contrast to +xml, which does some stuff 
with XPointer.

Regards,

Sean

--------------19A5463E6705832C91FAC000
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">(Mostly a duplicate of
      application/yang-data+xml)<br>
      <br>
      Based on the discussion on media-types@ and netconf@ that I have
      observed, the registration is in pretty good substantive shape. I
      have no substantive comments except for the fragment identifier,
      which I understand is not of consequence to YANG processors. I
      won't repeat my comments from application/yang-data+xml. Therefore
      the only thing to talk about is the JSON fragment thing:<br>
      <br>
      On 6/28/2016 8:07 PM, Sean Leonard wrote:<br>
    </div>
    <blockquote
      cite="mid:c87a6ba4-35b5-2256-8b13-96fa7ec094a4@seantek.com"
      type="cite">For application/yang-data+json:
      <br>
      <br>
      ...<br>
         Fragment identifier considerations: The fragment field in the
      <br>
            request URI has no defined purpose.
      <br>
         <br>
    </blockquote>
    <br>
    As with application/yang-data+xml, you are supposed to match the
    +json fragment with how JSON works. RFC 6839 Section 3.1. But
    currently it (+json) doesn't do anything, in contrast to +xml, which
    does some stuff with XPointer.<br>
    <br>
    Regards,<br>
    <br>
    Sean<br>
  </body>
</html>

--------------19A5463E6705832C91FAC000--


From nobody Tue Jun 28 20:23:50 2016
Return-Path: <dev+ietf@seantek.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 AAC1912D9E7 for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:23:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ruwlChTr0scF for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:23:46 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3C63312D9E4 for <media-types@ietf.org>; Tue, 28 Jun 2016 20:23:46 -0700 (PDT)
Received: from fallback-in2.mxes.net (fallback-out2.mxes.net [216.86.168.191]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5T3NPIl007601 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Wed, 29 Jun 2016 03:23:46 GMT
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in2.mxes.net (Postfix) with ESMTP id 5439C2FDD3B for <media-types@iana.org>; Tue, 28 Jun 2016 23:07:27 -0400 (EDT)
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3C212509B6; Tue, 28 Jun 2016 23:06:44 -0400 (EDT)
To: Andy Bierman <andy@yumaworks.com>, media-types@iana.org
References: <CABCOCHQJXtyhpfAgUn94FJ0WWyLvvKjC9inHpVY7-34GMJd=Bw@mail.gmail.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com>
Date: Tue, 28 Jun 2016 20:06:27 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHQJXtyhpfAgUn94FJ0WWyLvvKjC9inHpVY7-34GMJd=Bw@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Delayed for 00:15:59 by milter-greylist-4.0 (pechora1.lax.icann.org [192.0.33.71]); Wed, 29 Jun 2016 03:23:46 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/1kjBgFtPiPDUuZWRI3az7zjghss>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [media-types] [Netconf] request review of media type application/yang-data+xml
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 03:23:49 -0000

It is considered customary to copy and paste *just* the registration 
text in this mailing list.
Here you go:

    Type name: application

    Subtype name: yang-data+xml

    Required parameters: none

    Optional parameters: none

   // RFC Ed.: replace draft-ietf-netmod-rfc6020bis with
   // the actual RFC reference for YANG 1.1, and remove this note.

    Encoding considerations: 8-bit
       Each conceptual YANG data node is encoded according to
       XML Encoding Rules and Canonical Format for the specific
       YANG data node type defined in [draft-ietf-netmod-rfc6020bis].

   // RFC Ed.: replace 'NN' in Section NN of [RFCXXXX] with the
   // section number for Security Considerations
   // Replace 'XXXX' in Section NN of [RFCXXXX] with the actual
   // RFC number, and remove this note.

    Security considerations: Security considerations related
       to the generation and consumption of RESTCONF messages
       are discussed in Section NN of [RFCXXXX].
       Additional security considerations are specific to the
       semantics of particular YANG data models. Each YANG module
       is expected to specify security considerations for the
       YANG data defined in that module.

   // RFC Ed.: replace XXXX with actual RFC number and remove this
   // note.

    Interoperability considerations: [RFCXXXX] specifies format of
       conforming messages and the interpretation thereof.

   // RFC Ed.: replace XXXX with actual RFC number and remove this
   // note.

    Published specification: RFC XXXX

    Applications that use this media type: Instance document
      data parsers used within a protocol or automation tool
      that utilizes YANG defined data structures.

    Fragment identifier considerations: The fragment field in the
       request URI has no defined purpose.

    Additional information:

      Deprecated alias names for this type: n/a
      Magic number(s): n/a
      File extension(s): .xml
      Macintosh file type code(s): "TEXT"

   // RFC Ed.: replace XXXX with actual RFC number and remove this
   // note.

    Person & email address to contact for further information: See
       Authors' Addresses section of [RFCXXXX].

    Intended usage: COMMON

    (One of COMMON, LIMITED USE, or OBSOLETE.)

    Restrictions on usage: n/a

   // RFC Ed.: replace XXXX with actual RFC number and remove this
   // note.

    Author: See Authors' Addresses section of [RFCXXXX].

    Change controller: Internet Engineering Task Force
       (mailto:iesg&ietf.org).

    Provisional registration? (standards tree only): no

On 6/28/2016 7:24 PM, Andy Bierman wrote:
> Hi,
>
> Please review and provide feedback on the revised media type registration
> for the RESTCONF protocol.
>
> https://tools.ietf.org/html/draft-ietf-netconf-restconf-14#section-11.3.1
>


From nobody Tue Jun 28 20:24:10 2016
Return-Path: <dev+ietf@seantek.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 A7FDB12D5A8 for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:24:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gBVw7_MEwVFC for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:24:07 -0700 (PDT)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55BB012D0E6 for <media-types@ietf.org>; Tue, 28 Jun 2016 20:24:07 -0700 (PDT)
Received: from fallback-in2.mxes.net (fallback-out2.mxes.net [216.86.168.191]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id u5T3Nkha025584 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Wed, 29 Jun 2016 03:24:06 GMT
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in2.mxes.net (Postfix) with ESMTP id BECBA2FDD5A for <media-types@iana.org>; Tue, 28 Jun 2016 23:08:30 -0400 (EDT)
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 5D8C6509B5; Tue, 28 Jun 2016 23:07:49 -0400 (EDT)
To: Andy Bierman <andy@yumaworks.com>, media-types@iana.org
References: <CABCOCHQKVaEcXfgKFOdTXy_4A7+3yAp1TQWoidMoPA=OYzgMMg@mail.gmail.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <c87a6ba4-35b5-2256-8b13-96fa7ec094a4@seantek.com>
Date: Tue, 28 Jun 2016 20:07:31 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHQKVaEcXfgKFOdTXy_4A7+3yAp1TQWoidMoPA=OYzgMMg@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Wed, 29 Jun 2016 03:24:06 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/FjscJG7RfRF2OknNSQB2jCSBkVM>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [media-types] [Netconf] request review of media type application/yang-data+json
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 03:24:08 -0000

For application/yang-data+json:

    Type name: application

    Subtype name: yang-data+json

    Required parameters: none

    Optional parameters: none

   // RFC Ed.: replace draft-ietf-netmod-yang-json with
   // the actual RFC reference for JSON Encoding of YANG Data,
   //  and remove this note.

   // RFC Ed.: replace draft-ietf-netmod-yang-metadata with
   // the actual RFC reference for JSON Encoding of YANG Data,
   //  and remove this note.

    Encoding considerations: 8-bit
       Each conceptual YANG data node is encoded according to
       [draft-ietf-netmod-yang-json]. A data annotation is
       encoded according to [draft-ietf-netmod-yang-metadata]

   // RFC Ed.: replace 'NN' in Section NN of [RFCXXXX] with the
   // section number for Security Considerations
   // Replace 'XXXX' in Section NN of [RFCXXXX] with the actual
   // RFC number, and remove this note.

    Security considerations: Security considerations related
       to the generation and consumption of RESTCONF messages
       are discussed in Section NN of [RFCXXXX].
       Additional security considerations are specific to the
       semantics of particular YANG data models. Each YANG module
       is expected to specify security considerations for the
       YANG data defined in that module.

   // RFC Ed.: replace XXXX with actual RFC number and remove this
   // note.

    Interoperability considerations: [RFCXXXX] specifies format of
       conforming messages and the interpretation thereof.

   // RFC Ed.: replace XXXX with actual RFC number and remove this
   // note.

    Published specification: RFC XXXX

    Applications that use this media type: Instance document
      data parsers used within a protocol or automation tool
      that utilizes YANG defined data structures.

    Fragment identifier considerations: The fragment field in the
       request URI has no defined purpose.

    Additional information:

      Deprecated alias names for this type: n/a
      Magic number(s): n/a
      File extension(s): .json
      Macintosh file type code(s): "TEXT"

   // RFC Ed.: replace XXXX with actual RFC number and remove this
   // note.

    Person & email address to contact for further information: See
       Authors' Addresses section of [RFCXXXX].

    Intended usage: COMMON

    (One of COMMON, LIMITED USE, or OBSOLETE.)

    Restrictions on usage: n/a

   // RFC Ed.: replace XXXX with actual RFC number and remove this
   // note.

    Author: See Authors' Addresses section of [RFCXXXX].

    Change controller: Internet Engineering Task Force
       (mailto:iesg&ietf.org).

    Provisional registration? (standards tree only): no

On 6/28/2016 7:27 PM, Andy Bierman wrote:
> Hi,
>
> Please review and provide feedback on the revised media type registration
> for the RESTCONF protocol.
>
> https://tools.ietf.org/html/draft-ietf-netconf-restconf-14#section-11.3.2
>


From nobody Tue Jun 28 20:25:06 2016
Return-Path: <dev+ietf@seantek.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 D880E12D9E5 for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:25:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rxx1KLYRnahu for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 20:25:03 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 413BA12D9E4 for <media-types@ietf.org>; Tue, 28 Jun 2016 20:25:03 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5T3OgD7032420 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Wed, 29 Jun 2016 03:25:03 GMT
Received: from [192.168.123.7] (unknown [75.83.2.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3B113509B5; Tue, 28 Jun 2016 23:24:42 -0400 (EDT)
To: xml2rfc@ietf.org
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <be19f1f6-72ad-8a35-3104-f71799703d60@seantek.com>
Date: Tue, 28 Jun 2016 20:24:25 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [192.0.33.73]); Wed, 29 Jun 2016 03:25:03 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/7kte6PGXi0xCLYUvUbHPfnTCqZQ>
Cc: "media-types@iana.org" <media-types@iana.org>
Subject: [media-types] Filling out templates in XML
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 03:25:05 -0000

Just curious if people have thought about using XML elements to fill out =

templates, in xml2rfc, rather than sticking the template instance in an=20
artwork blob.

Consider <draft-ietf-netconf-restconf-14.xml> (which I just reviewed).=20
In #media-types, the RFC 6838 templates are instantiated as artwork.=20
Wouldn't it be better to put the things in some basic XML blocks? I have =

seen very long registration templates elsewhere, like URNs and URIs,=20
that can spill over to multiple pages. It would be helpful if these=20
could be treated (at least in part) as regular runs of text so that they =

are subject to page breaking automatically, etc.

There is a temptation to over-specify the details of every registration=20
template. Perhaps a quick survey could be done, to see some common=20
IETF/IANA registration templates, and if there is enough common to them=20
to permit a small handful of elements. 6 elements or less, I would say.=20
For example:

<instance schema=3D"RFC6838">
   <field name=3D"Type name">application</field>
   <field name=3D"Subtype name">yang-data+xml</field>
   <field name=3D"Required parameters">none</field>
   ...
   <field name=3D"Security considerations"><t>Security considerations rel=
ated
       to the generation and consumption of RESTCONF messages
       are discussed in Section NN of <xref target=3D"RFCXXXX" />.
       Additional security considerations are specific to the
       semantics of particular YANG data models. Each YANG module
       is expected to specify security considerations for the
       YANG data defined in that module.</t>

   <additional>blah blah blah at end of instance</additional>
</instance>

That yields 3 elements: instance, field, and additional.

An alternate approach is to have some XML namespace/schema and embed it=20
in a <figure>, similar to <svg> (in <artwork>) and <sourcecode>. Could=20
get needlessly complex, but would limit arbitrary placement. Depends on=20
whether one feels that registration templates need to be in <figure>=20
elements or not. I believe that template instances can be part of the=20
main specification text (first, because template instances can contain=20
normative specification language; second, because it's possible that=20
template fields might have figures inside); therefore, they should not=20
be required to be in <figure> elements.

Just my 2=C2=A2.

Sean



From nobody Tue Jun 28 22:33:05 2016
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 DD19912D1D7 for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 22:33:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xuWJ-taT-Mbq for <media-types@ietfa.amsl.com>; Tue, 28 Jun 2016 22:33:02 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5712012DA54 for <media-types@ietf.org>; Tue, 28 Jun 2016 22:33:02 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5T5WeAL009625 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Wed, 29 Jun 2016 05:33:01 GMT
Received: from [192.168.178.20] ([93.217.103.248]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MfRnb-1axPJ33Pnn-00P4XC; Wed, 29 Jun 2016 07:18:10 +0200
To: Sean Leonard <dev+ietf@seantek.com>, xml2rfc@ietf.org
References: <be19f1f6-72ad-8a35-3104-f71799703d60@seantek.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <5f7d616d-0904-2c63-222a-dbb3a0ebd118@gmx.de>
Date: Wed, 29 Jun 2016 07:18:13 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <be19f1f6-72ad-8a35-3104-f71799703d60@seantek.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:CLYUutvCMMKBUjV6b5MaiIEcIpo/zTUpZmYiAWHfmMQ0N+XUovT chtLKEUq69+xtMi/7ebeNXUNQ65wSSmM8wASkzKVR1i86VCBg8TG9Fx0ogUTdssmSUCDHpq gsQ8WmFU2WPed17HdaX/3FfsaHBySqXx8s06AebwOOO9cFNSkYNH2KH8kbe2qfCC7MuKWVs A2rCIFC7kDerkdCL8fZlg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:ntTwrbfLPEE=:gmSJqswxHouJML4jA3Vpk8 X2T8VV8hVPVxZ20vkNb9euT4GooFVU6jrjvYbrAK+cYc0v5fn4Q8Z3bjeYAmUc+HDOoKiYPqK zTyVc654FL1KNVxv841Ybjrr+1q4QjAtZ3kFCcGWp2fkl8KJbHTHfodFQIQTnnN57rA8MHWMh IjQrkUvylaDsYRnVwRhPZ0VnOnRxrYZREcVgLH0E7PP8CgJS1vltI/fBCAg/hzCDNHwscQsJA I5uE1tEOfhKf5CbMU9yV4ChzKedP6KAXDBa795A9mRj3UAQkGZQdikWC3/85lq0/1rr6cmR2W Bl8wgUprwGuKT820Kkv0ZZlTAiVewWkc4C+aSY2qpOzCjaPdrtni4FPmekqcf3K+6l1J4Yy1b Sr6HTuee/jtZPFj97zqQLhYG1FcF5ELap96/zXysdFk9cu6trTZSoGa1Je4YHk8KGZqS321i7 tWk09XAgynonbx3ZuWhcObYWSwQXQHAX4DaBTgH7/Fv/3YbYn9llVPkMkmKnMDogjnuTlQVzB Y62cCz0r797FCuFEJDaQaUbrmUWJAh2FiwsN8GQLKi7OwURiuF21di7Bf9DZNwvtuoWfjtFo3 W9YrfP901VTdGTqmaqBVGSYlMmRW61opgwkj6yYUMeBqEskEsurs5PnRvAK8vvJZSet+ZwmJx CMeMLewRz/Lo13IkVwZbjBrVhDmlxybLdRm1bLFS64Vhzka088SCjwq9oKu9GZOcRbDGI0RuN pMDNMtSKlvF1DPwEsqhLFQfnEiyWRocq3VHLKPe5+J/9/Xi31pXBIx5dfJcYaNGdiP1V9SHzM //Xsn1y
X-Greylist: Delayed for 00:14:17 by milter-greylist-4.0 (pechora3.lax.icann.org [192.0.33.73]); Wed, 29 Jun 2016 05:33:02 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/-lkuZOTKgzYdLyC6_5n2dH1SKZ8>
Cc: "media-types@iana.org" <media-types@iana.org>
Subject: Re: [media-types] Filling out templates in XML
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 05:33:04 -0000

On 2016-06-29 05:24, Sean Leonard wrote:
> Just curious if people have thought about using XML elements to fill out
> templates, in xml2rfc, rather than sticking the template instance in an
> artwork blob.
> ...


I have always put registrations either into tables or lists. I agree 
that using artwork is a very bad thing.

Best regards, Julian


From nobody Wed Jun 29 01:03:32 2016
Return-Path: <eric@w3.org>
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 4446612DA31 for <media-types@ietfa.amsl.com>; Wed, 29 Jun 2016 01:03:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VHLynoh-wWIG for <media-types@ietfa.amsl.com>; Wed, 29 Jun 2016 01:03:27 -0700 (PDT)
Received: from pechora1.lax.icann.org (pechora1.icann.org [IPv6:2620:0:2d0:201::1:71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7200812DA0B for <media-types@ietf.org>; Wed, 29 Jun 2016 01:03:27 -0700 (PDT)
Received: from raoul.w3.org (raoul.w3.org [IPv6:2001:470:8b2d:804:52:12:128:0]) by pechora1.lax.icann.org (8.13.8/8.13.8) with ESMTP id u5T835n3010365 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <media-types@iana.org>; Wed, 29 Jun 2016 08:03:27 GMT
Received: from aclermont-ferrand-654-1-652-57.w90-9.abo.wanadoo.fr ([90.9.172.57] helo=w3.org) by raoul.w3.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <eric@w3.org>) id 1bI9lV-0003KW-2Q; Wed, 29 Jun 2016 07:18:29 +0000
Date: Wed, 29 Jun 2016 03:18:27 -0400
From: "Eric Prud'hommeaux" <eric@w3.org>
To: media-types@iana.org
Message-ID: <20160629071825.GA6722@w3.org>
References: <7e7f0fbfcf7645d3a841a23028408f7c@exch1-mel.nexus.csiro.au> <20160622143026.GC7225@w3.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160622143026.GC7225@w3.org>
Organization: World Wide Web Consortium (W3C) - http://www.w3.org/
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Greylist: Delayed for 00:44:36 by milter-greylist-4.0 (pechora1.lax.icann.org [IPv6:2620:0:2d0:201::1:71]); Wed, 29 Jun 2016 08:03:27 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/-fDGIND1mxogL7TpQFKqRAtwoc0>
Cc: public-rdf-dawg-comments@w3.org
Subject: [media-types] Resend: request for review: application/sparql-results+json
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 29 Jun 2016 08:03:29 -0000

I didn't see this come through, possibly because I sent it
To:ietf-types@alvestrand.no

Hi all, at W3C, we try to request a media type when a document reaches
candidate recommendation. In this case, we missed my a mere three years.
<http://www.w3.org/TR/sparql11-results-json/#content-type> accurately
documents our good intentions...

Type name:
    application
Subtype name:
    sparql-results+json
Required parameters:
    None
Optional parameters:
    None
Encoding considerations:
    The encoding considerations of the SPARQL Query Results JSON Format is identical to those of the "application/json" as specified in [JSON-RFC].
Security considerations:
    SPARQL query results uses URIs. See Section 7 of [RFC3986].
    SPARQL query results uses IRIs. See Section 8 of [RFC3987].
    The security considerations of the SPARQL Query Results JSON Format is identical to those of the "application/json" as specified in [JSON-RFC].
Interoperability considerations:
    There are no known interoperability issues.
Published specification:
    http://www.w3.org/TR/sparql11-results-json/
Applications which use this media type:
    No known applications currently use this media type.
Additional information:
Magic number(s):
    n/a
File extension(s):
    ".srj"
Macintosh file type code(s):
    "TEXT"
Person & email address to contact for further information:
    Andy Seaborne <public-rdf-dawg-comments@w3.org>
Intended usage:
    COMMON
Restrictions on usage:
    None
Author/Change controller:
    The SPARQL specification is a work product of the World Wide Web Consortium's SPARQL Working Group. The W3C has change control over these specifications.

-- 
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

There are subtle nuances encoded in font variation and clever layout
which can only be seen by printing this message on high-clay paper.


From nobody Thu Jun 30 17:53:12 2016
Return-Path: <andy@yumaworks.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 5E29212D0BC for <media-types@ietfa.amsl.com>; Thu, 30 Jun 2016 17:53:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YRgmnytozEkP for <media-types@ietfa.amsl.com>; Thu, 30 Jun 2016 17:53:10 -0700 (PDT)
Received: from pechora3.lax.icann.org (pechora3.icann.org [IPv6:2620:0:2d0:201::1:73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3445612D0B9 for <media-types@ietf.org>; Thu, 30 Jun 2016 17:53:05 -0700 (PDT)
Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) by pechora3.lax.icann.org (8.13.8/8.13.8) with ESMTP id u610qiP2018011 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <media-types@iana.org>; Fri, 1 Jul 2016 00:53:04 GMT
Received: by mail-vk0-x22a.google.com with SMTP id k68so47170546vkb.0 for <media-types@iana.org>; Thu, 30 Jun 2016 17:53:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0ub6sle6XlmbNaQnLZTeCVXNsFF1ZwTYL7DlQnn0wSI=; b=trxESyUHGHxjtxajTHzYZQQZy7tZe0zPkkisUX8XVzfutmt9Uk/D2xQLz1kKPocS0b KOviJ6lkd2fDRgArveTJBBM3uX6UQDZtB0TKcne4YdmUHoBbGcGDk91zrv8xR2EXIKCd Y+gIvtsuWOSoiFoBb3FjlJw8X37NjiA6dlTDouhAJNjNwpNaWfYN9sJJeaPE61ytEpnU M0+bPizVS2S/dw+N7jtIzztFfBxMPmZnsA0ZaRIcWKUZiciClxXwAdDNXmT1IIw76mPu r2wMc1ogy8zVJj38gs8wOQ8iqlu9vZuGWvraE/wSitRPIR3IH5yDaBSqoBhgRYSAx805 bE3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0ub6sle6XlmbNaQnLZTeCVXNsFF1ZwTYL7DlQnn0wSI=; b=dESoo5hf7daQ3n95bHxwaSH9DF1EzpTpLKdrKQobrFc6FSFA0MrZ+sOEQPsCpvw8dm Fs0KXpDrMdM0UdlWSVQ/6m7nzpTT4BAtzoSp8R6HD7QL0rMyYcCxC5hh9ya7/nTpuLaD mD/vIVKwuVDCrfD01BEqoArQCh8baeyfeTHHW+LOPgGxGXGFKBqzUWnc4fuZ4oe8BPZ8 cIGgonGc6/+ilZJ1cjOnrDJS98tx9uDcGS4Psl7kB9psZdxSgS6GZO1/L4kQkP/dcAQL UZW5TC8ADLehp2Bzn+YjT2lpaMgyVArC2w8pkdEM+qW3BzjuS/xEOsjPxlIHYb6U6ut/ N4qg==
X-Gm-Message-State: ALyK8tJeAf4F6BR86+0nw9CeZfpFYURrl6jas8ji/LWZG9Uf7+qoQCRQtlSgTEYP7/T4cusJLkSeDUhsWC4QRA==
X-Received: by 10.31.9.65 with SMTP id 62mr8158541vkj.89.1467334364043; Thu, 30 Jun 2016 17:52:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.20.2 with HTTP; Thu, 30 Jun 2016 17:52:43 -0700 (PDT)
In-Reply-To: <8f8db9b8-9917-4b26-25f6-ee0c19492bb9@seantek.com>
References: <CABCOCHQJXtyhpfAgUn94FJ0WWyLvvKjC9inHpVY7-34GMJd=Bw@mail.gmail.com> <d99b9905-6dcf-3f8c-1490-d3e6cd2e93df@seantek.com> <8f8db9b8-9917-4b26-25f6-ee0c19492bb9@seantek.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 30 Jun 2016 17:52:43 -0700
Message-ID: <CABCOCHT+EREQ3RHV2sRuPN3SxSeaZem6Mi1AoeBf1NRFA2NsyA@mail.gmail.com>
To: Sean Leonard <dev+ietf@seantek.com>
Content-Type: multipart/alternative; boundary=001a11440b648933c105368867f8
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora3.lax.icann.org [IPv6:2620:0:2d0:201::1:73]); Fri, 01 Jul 2016 00:53:05 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/TwDGFfo_OuVMsjtalI5eOxMSOrQ>
Cc: media-types@iana.org, Netconf <netconf@ietf.org>
Subject: Re: [media-types] [Netconf] request review of media type application/yang-data+xml
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 01 Jul 2016 00:53:11 -0000

--001a11440b648933c105368867f8
Content-Type: text/plain; charset=UTF-8

On Tue, Jun 28, 2016 at 8:17 PM, Sean Leonard <dev+ietf@seantek.com> wrote:



removing all text except the fragment identifier issue....

According to RFC 7303, sec. 5, any usage of +xml requires implementation of
the XPointerFramework
https://www.w3.org/TR/2003/REC-xptr-framework-20030325/

RESTCONF "fragments" are sub-trees within the YANG data structures.
These are accessed by the request URI path and the "fields" query parameter.
XPointer is rather complex and completely redundant for RESTCONF.

So do we have to add text that a RESTCONF server MUST implement the
"element"
scheme?






>
>
>    Fragment identifier considerations: The fragment field in the
>       request URI has no defined purpose.
>
>
> From the perspective of NETCONF this is probably correct. However, Section
> 4.11 of RFC 6838 says:
>
>    Media types are encouraged to adopt fragment identifier schemes that
>    are used with semantically similar media types.  In particular, media
>    types that use a named structured syntax with a registered "+suffix"
>    MUST follow whatever fragment identifier rules are given in the
>    structured syntax suffix registration.
>
>
> There are some things about +xml things:
>
> http://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xhtml
>
> RFC 7303.
>
> Look it up.
>
>



   The syntax and semantics of fragment identifiers for the XML media
   types defined in this specification are based on the
   [XPointerFramework
<https://tools.ietf.org/html/rfc7303#ref-XPointerFramework>] W3C
Recommendation.  It allows simple names and
   more complex constructions based on named schemes.  When the syntax
   of a fragment identifier part of any URI or Internationalized
   Resource Identifier (IRI) ([RFC3987
<https://tools.ietf.org/html/rfc3987>]) with a retrieved media type
   governed by this specification conforms to the syntax specified in
   [XPointerFramework
<https://tools.ietf.org/html/rfc7303#ref-XPointerFramework>],
conforming applications MUST interpret such
   fragment identifiers as designating whatever is specified by the
   [XPointerFramework
<https://tools.ietf.org/html/rfc7303#ref-XPointerFramework>] together
with any other specifications governing
   the XPointer schemes used in those identifiers that the applications
   support.  Conforming applications MUST support the 'element' scheme
   as defined in [XPointerElement
<https://tools.ietf.org/html/rfc7303#ref-XPointerElement>], but need
not support other schemes.







Registrations which use this '+xml' convention MUST also make
reference to [RFC7303 <http://www.iana.org/go/rfc7303>], specifically
Section 5, in specifying fragment identifier syntax and semantics, and
they MAY restrict the syntax to a specified subset of schemes, except
that they MUST NOT disallow barenames or 'element' scheme pointers.
They MAY further require support for other registered schemes. They
also MAY add additional syntax (which MUST NOT overlap with
[XPointerFramework
<http://www.w3.org/TR/2003/REC-xptr-framework-20030325/>] syntax)
together with associated semantics, and MAY add additional semantics
for barename XPointers which, as provided for in Section 5, will only
apply when [RFC7303 <http://www.iana.org/go/rfc7303>] does not define
an interpretation.

In practice these constraints imply that for a fragment identifier
addressed to an instance of a specific "xxx/yyy+xml" type, there are
three cases:

For fragment identifiers matching the syntax defined in
[XPointerFramework
<http://www.w3.org/TR/2003/REC-xptr-framework-20030325/>], where the
fragment identifier resolves per the rules specified there, then
process as specified there;

For fragment identifiers matching the syntax defined in
[XPointerFramework
<http://www.w3.org/TR/2003/REC-xptr-framework-20030325/>], where the
fragment identifier does _not_ resolve per the rules specified there,
then process as specified in "xxx/yyy+xml";

For fragment identifiers _not_ matching the syntax defined in
[XPointerFramework
<http://www.w3.org/TR/2003/REC-xptr-framework-20030325/>], then
process as specified in "xxx/ yyy+xml". A fragment identifier of the
form "xywh=160,120,320,240", as defined in [MediaFrags
<http://www.w3.org/TR/2012/REC-media-frags-20120925/>], which might be
used in a URI for an XML-encoded image, would fall in this category.
See Section 10, [RFC7303 <http://www.iana.org/go/rfc7303>].









> I don't have experience dealing with this, and I would not hold back the
> registration on that basis. The Expert Reviewer might.
>
>


Andy

--001a11440b648933c105368867f8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, Jun 28, 2016 at 8:17 PM, Sean Leonard <span dir=3D"ltr">&lt;<a =
href=3D"mailto:dev+ietf@seantek.com" target=3D"_blank">dev+ietf@seantek.com=
</a>&gt;</span> wrote:<br><div><br></div><div><br></div><div><br></div><div=
>removing all text except the fragment identifier issue....</div><div><br><=
/div><div>According to RFC 7303, sec. 5, any usage of +xml requires impleme=
ntation of</div><div>the XPointerFramework</div><div><a href=3D"https://www=
.w3.org/TR/2003/REC-xptr-framework-20030325/">https://www.w3.org/TR/2003/RE=
C-xptr-framework-20030325/</a><br></div><div><br></div><div>RESTCONF &quot;=
fragments&quot; are sub-trees within the YANG data structures.</div><div>Th=
ese are accessed by the request URI path and the &quot;fields&quot; query p=
arameter.</div><div>XPointer is rather complex and completely redundant for=
 RESTCONF.</div><div><br></div><div>So do we have to add text that a RESTCO=
NF server MUST implement the &quot;element&quot;</div><div>scheme?</div><di=
v><br></div><div><br></div><div><br></div><div><br></div><div>=C2=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pa=
dding-left:1ex"><div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <br>
    <blockquote type=3D"cite">
      <br>
      =C2=A0=C2=A0 Fragment identifier considerations: The fragment field i=
n the
      <br>
      =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 request URI has no defined purpose.
      <br>
    </blockquote>
    <br>
    From the perspective of NETCONF this is probably correct. However,
    Section 4.11 of RFC 6838 says:<br>
    <br>
    <pre style=3D"font-size:13.3333px;margin-top:0px;margin-bottom:0px;colo=
r:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;lette=
r-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-t=
ransform:none;word-spacing:0px">   Media types are encouraged to adopt frag=
ment identifier schemes that
   are used with semantically similar media types.  In particular, media
   types that use a named structured syntax with a registered &quot;+suffix=
&quot;
   MUST follow whatever fragment identifier rules are given in the
   structured syntax suffix registration.</pre>
    <br>
    There are some things about +xml things:<br>
<a href=3D"http://www.iana.org/assignments/media-type-structured-suffix/med=
ia-type-structured-suffix.xhtml" target=3D"_blank">http://www.iana.org/assi=
gnments/media-type-structured-suffix/media-type-structured-suffix.xhtml</a>=
<br>
    <br>
    RFC 7303.<br>
    <br>
    Look it up.<br>
    <br></div></blockquote><div><br></div><div><br></div><div><pre class=3D=
"" style=3D"font-size:13.3333px;margin-top:0px;margin-bottom:0px;color:rgb(=
0,0,0)"><br class=3D"">
   The syntax and semantics of fragment identifiers for the XML media
   types defined in this specification are based on the
   [<a href=3D"https://tools.ietf.org/html/rfc7303#ref-XPointerFramework">X=
PointerFramework</a>] W3C Recommendation.  It allows simple names and
   more complex constructions based on named schemes.  When the syntax
   of a fragment identifier part of any URI or Internationalized
   Resource Identifier (IRI) ([<a href=3D"https://tools.ietf.org/html/rfc39=
87" title=3D"&quot;Internationalized Resource Identifiers (IRIs)&quot;">RFC=
3987</a>]) with a retrieved media type
   governed by this specification conforms to the syntax specified in
   [<a href=3D"https://tools.ietf.org/html/rfc7303#ref-XPointerFramework">X=
PointerFramework</a>], conforming applications MUST interpret such
   fragment identifiers as designating whatever is specified by the
   [<a href=3D"https://tools.ietf.org/html/rfc7303#ref-XPointerFramework">X=
PointerFramework</a>] together with any other specifications governing
   the XPointer schemes used in those identifiers that the applications
   support.  Conforming applications MUST support the &#39;element&#39; sch=
eme
   as defined in [<a href=3D"https://tools.ietf.org/html/rfc7303#ref-XPoint=
erElement">XPointerElement</a>], but need not support other schemes.</pre><=
pre class=3D"" style=3D"font-size:13.3333px;margin-top:0px;margin-bottom:0p=
x;color:rgb(0,0,0)"><br></pre><pre class=3D"" style=3D"font-size:13.3333px;=
margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><br></pre><pre class=3D"=
" style=3D"font-size:13.3333px;margin-top:0px;margin-bottom:0px;color:rgb(0=
,0,0)"><br></pre><pre class=3D"" style=3D"font-size:13.3333px;margin-top:0p=
x;margin-bottom:0px;color:rgb(0,0,0)"><br></pre><pre class=3D"" style=3D"fo=
nt-size:13.3333px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><br></=
pre><pre class=3D"" style=3D"font-size:13.3333px;margin-top:0px;margin-bott=
om:0px;color:rgb(0,0,0)"><br></pre><pre class=3D"" style=3D"font-size:13.33=
33px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><table id=3D"table-=
structured-syntax-suffix" class=3D"" style=3D"border-collapse:collapse;bord=
er:0px;margin:1em 0px;font-family:&#39;Open Sans&#39;,&#39;Helvetica Neue&#=
39;,Helvetica,sans-serif;font-size:13.3333px;white-space:normal"><tbody><tr=
 style=3D"border-top-width:1px;border-top-color:rgb(236,239,248);border-top=
-style:solid"><td style=3D"padding-left:0.5em;padding-right:0.5em;vertical-=
align:top"><p style=3D"margin:0px">Registrations which use this &#39;+xml&#=
39; convention MUST also make reference to [<a href=3D"http://www.iana.org/=
go/rfc7303">RFC7303</a>], specifically Section 5, in specifying fragment id=
entifier syntax and semantics, and they MAY restrict the syntax to a specif=
ied subset of schemes, except that they MUST NOT disallow barenames or &#39=
;element&#39; scheme pointers. They MAY further require support for other r=
egistered schemes. They also MAY add additional syntax (which MUST NOT over=
lap with [<a href=3D"http://www.w3.org/TR/2003/REC-xptr-framework-20030325/=
">XPointerFramework</a>] syntax) together with associated semantics, and MA=
Y add additional semantics for barename XPointers which, as provided for in=
 Section 5, will only apply when [<a href=3D"http://www.iana.org/go/rfc7303=
">RFC7303</a>] does not define an interpretation.</p><p style=3D"margin:1em=
 0px 0px">In practice these constraints imply that for a fragment identifie=
r addressed to an instance of a specific &quot;xxx/yyy+xml&quot; type, ther=
e are three cases:</p><p style=3D"margin:1em 0px 0px">For fragment identifi=
ers matching the syntax defined in [<a href=3D"http://www.w3.org/TR/2003/RE=
C-xptr-framework-20030325/">XPointerFramework</a>], where the fragment iden=
tifier resolves per the rules specified there, then process as specified th=
ere;</p><p style=3D"margin:1em 0px 0px">For fragment identifiers matching t=
he syntax defined in [<a href=3D"http://www.w3.org/TR/2003/REC-xptr-framewo=
rk-20030325/">XPointerFramework</a>], where the fragment identifier does _n=
ot_ resolve per the rules specified there, then process as specified in &qu=
ot;xxx/yyy+xml&quot;;</p><p style=3D"margin:1em 0px 0px">For fragment ident=
ifiers _not_ matching the syntax defined in [<a href=3D"http://www.w3.org/T=
R/2003/REC-xptr-framework-20030325/">XPointerFramework</a>], then process a=
s specified in &quot;xxx/ yyy+xml&quot;. A fragment identifier of the form =
&quot;xywh=3D160,120,320,240&quot;, as defined in [<a href=3D"http://www.w3=
.org/TR/2012/REC-media-frags-20120925/">MediaFrags</a>], which might be use=
d in a URI for an XML-encoded image, would fall in this category.</p></td><=
td style=3D"padding-left:0.5em;padding-right:0.5em;vertical-align:top">See =
Section 10, [<a href=3D"http://www.iana.org/go/rfc7303">RFC7303</a>].<br><b=
r><br><br><br></td></tr></tbody></table></pre><pre class=3D"" style=3D"font=
-size:13.3333px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><br></pr=
e></div><div><br></div><div><br></div><div>=C2=A0</div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;borde=
r-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><di=
v bgcolor=3D"#FFFFFF" text=3D"#000000">
    I don&#39;t have experience dealing with this, and I would not hold bac=
k
    the registration on that basis. The Expert Reviewer might.<br>
    <br>
    </div></blockquote></div><br></div><div class=3D"gmail_extra"><br></div=
><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Andy</div>=
<div class=3D"gmail_extra"><br></div></div>

--001a11440b648933c105368867f8--

