Re: [media-types] Proposed media type registration for YAML
" Martin J. Dürst " <duerst@it.aoyama.ac.jp> Tue, 14 July 2015 09:38 UTC
Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F422B1A88E1 for <media-types@ietfa.amsl.com>; Tue, 14 Jul 2015 02:38:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.365
X-Spam-Level: **
X-Spam-Status: No, score=2.365 tagged_above=-999 required=5 tests=[BAYES_50=0.8, J_CHICKENPOX_34=0.6, MIME_8BIT_HEADER=0.3, SPF_SOFTFAIL=0.665] autolearn=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 3cIqjRGqeHbI for <media-types@ietfa.amsl.com>; Tue, 14 Jul 2015 02:38:39 -0700 (PDT)
Received: from pechora7.dc.icann.org (pechora7.icann.org [IPv6:2620:0:2830:201::1:73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 026881A912B for <media-types@ietf.org>; Tue, 14 Jul 2015 02:38:38 -0700 (PDT)
Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-pu1apc01on0127.outbound.protection.outlook.com [104.47.126.127]) by pechora7.dc.icann.org (8.13.8/8.13.8) with ESMTP id t6E9cG53000626 for <media-types@iana.org>; Tue, 14 Jul 2015 09:38:37 GMT
Authentication-Results: iana.org; dkim=none (message not signed) header.d=none;
Received: from [133.2.210.64] (133.2.210.64) by TY1PR01MB0144.jpnprd01.prod.outlook.com (10.161.134.148) with Microsoft SMTP Server (TLS) id 15.1.213.14; Tue, 14 Jul 2015 05:00:52 +0000
To: Ben Harris <bjh21@cam.ac.uk>, media-types@iana.org
References: <alpine.DEB.2.10.1507071519140.29345@puff.ds.cam.ac.uk>
From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
Message-ID: <55A4977A.2080508@it.aoyama.ac.jp>
Date: Tue, 14 Jul 2015 14:00:42 +0900
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.10.1507071519140.29345@puff.ds.cam.ac.uk>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [133.2.210.64]
X-ClientProxiedBy: TY1PR0201CA0039.apcprd02.prod.outlook.com (25.164.90.177) To TY1PR01MB0144.jpnprd01.prod.outlook.com (25.161.134.148)
X-Microsoft-Exchange-Diagnostics: 1; TY1PR01MB0144; 2:Th0/rqHFBSxA8JTlsqrOjqBnheKKzqXd415yMY/HHAD2pznGbvYwEDePsEaexVdT; 3:dw4NLYKLBQMDnBZnjxOwMFZlhnqzTE3UQhq8zYdWeKiRescjo5vmZQdXHLjsmgLEWD5KSfJ/IVUU+0w+Bl2ngVJN+2Zi0cm9w4MkEaPXp6i9D4bCjXhpPn4dl1ZPfo5fe52/xIZIpbLKU5nRsmuCfw==; 25:meUgeeOiRuV/1fOXrCAGjEQU6nFoRvLljoMyfpEVcMCgJLxzgNIInwptCM1h9tAKn1lU6AkfUpN/scsouoJqJMOjm/KRtjEV/9/B1BuEt2ANRjULzZClMcMsu2wIZYpxl2fCeOIpdCcrwdmMy4t8qL+XV1BvaOqxLwaG9cksTE66RaFgUjOi56EunPc1K2S40hscvPS3Pgdzz3ZRUchkoFKXijB3sAmfWwUEaHj4GlqsZLgQFP+pgA4BqARZFs546cmKu4j0h49zntsvivFkMA==; 4:0rNbx/HloG+FVQpqaQkBqXThd9EEi5qZajx/hU1CJgdrlEvVCkLXfJTRGv0/RtAPkV4GzJmQSLKXId3UmK3KuiEh3qWASW1cgj9EbSlzpWQTKqyx17plRo6VOv0+o2Vt1JCQRCT/vpNyyFAi4Xe7lL0SfSIKKPLVN+77llGFNXdc1OmndS7a6vWbThKl2G8o9Wv8zdbLGf3D2rAWXs5PQ0WlT4xa4wdezENjutE7Exs+sLo0P+0Y0bAP0PSuu4ylqyQeq/ViyN2KkhWYZD9ujQ==
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:TY1PR01MB0144;
X-Microsoft-Antispam-PRVS: <TY1PR01MB0144D7C0F17400C5CBAFE377CA9B0@TY1PR01MB0144.jpnprd01.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(5005006)(3002001); SRVR:TY1PR01MB0144; BCL:0; PCL:0; RULEID:; SRVR:TY1PR01MB0144;
X-Forefront-PRVS: 0637FCE711
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(24454002)(479174004)(51704005)(54356999)(33656002)(189998001)(86362001)(77096005)(122386002)(92566002)(15975445007)(2950100001)(19580395003)(19580405001)(40100003)(59896002)(62966003)(5001960100002)(23676002)(50466002)(77156002)(4001350100001)(107886002)(87976001)(74482002)(76176999)(50986999)(5001770100001)(42186005)(83506001)(46102003)(5001920100001)(64126003)(87266999)(65806001)(19300405004)(65816999)(65956001)(66066001)(47776003)(15395725005)(3940600001)(562404015); DIR:OUT; SFP:1102; SCL:1; SRVR:TY1PR01MB0144; H:[133.2.210.64]; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1;TY1PR01MB0144;23:8dlx2ofcIaUc25NibL6/rUoPEuZEXE0UD1MWARVKz37xQRhKgjGnpbSpR5aBaM+t5ImVtzdJWat7fi/+pfrzelO4nLdqxmjhB7z+rwrIEP2TZ01SLgpPUHIy7IPM4egs8c1tKeRzJrAvraEi8nFQiRoewuongck10IhNxq4PwH9gXNt//noSVXBitgvk8GyVuYoW1xdW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kEJNXvH0Td9fR9OIsSRF0lSB9kOgPowbvA5jsqQ6yGP1byStcyW632WNqvogBOHVVf4uqvTQkMlPdaF8ziPOJZjvDe5mvzYhFcUfWxjNKjo6Z/uV0HafV5nl8zIzA==; 24:r2AqaLhr1MGC0vVkoXRKIo0lloV9TqqhzcZDdJHWB1t90GUmLR7Pu9lCr8KznrKcvAcYg3y+h8yY21ch1QJju39t68xo4/9l81VkdaL/WT4=; 20:TsQkekOwvT2TQsug3Ng8P20HhfJp0X2im0IE2DGDp0SkeWBRlr2hOPaat6BAmDG6Kf/K0Mf9mQCgGeAMzCZlXg==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2015 05:00:52.5196 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR01MB0144
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (pechora7.dc.icann.org [192.0.46.73]); Tue, 14 Jul 2015 09:38:38 +0000 (UTC)
Archived-At: <http://mailarchive.ietf.org/arch/msg/media-types/DA8UuKX2dyaVxWh-oevy-t3Vg9Q>
Subject: Re: [media-types] Proposed media type registration for YAML
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.15
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 Jul 2015 09:38:42 -0000
Hello Ben, On 2015/07/07 23:33, Ben Harris wrote: > Below is a media type registration I'm proposing to submit for YAML. I > have one specific question for the list: > > * Is it appropriate to use a "text/*" type for something that might be > encoded in UTF-16 or UTF-32? I'm confident that YAML in UTF-8 fits the > line-break requirements of RFC 2046, but I'm not sure whether that > permits UTF-16 or UTF-32. The answer is "it depends". For more details, see e.g. http://tools.ietf.org/html/rfc7303#section-9.2 (or rather actually http://tools.ietf.org/html/rfc7303#section-9.1) or the somewhat older http://tools.ietf.org/html/rfc3023#section-8.2. Because YAML is only rarely used to transmit actual human-readable prose (as opposed to structured data in textual form), a top-level type of application/, with less restrictions, may be much more appropriate. That's the conclusion XML came to, after many years and some detours. > Type name: > > text > > Subtype name: > > vnd.yaml I wonder whether the vnd. prefix here is really appropriate. YAML isn't a company in any way. Ideally, something like YAML should just be text/yaml (or actually application/yaml, see above). The spec at e.g. http://yaml.org/spec/1.2/spec.html definitely looks very detailed and well worked out, although I can't speak for the actual quality. Regards, Martin. > Required parameters: > > None > > Optional parameters: > > There is a single optional parameter, "version", whose value MUST match > the ns-yaml-version production in YAML 1.1 or YAML 1.2. If provided, it > identifies a version of the YAML specification to which the > corresponding entity conforms. > > The "charset" parameter is not used: The YAML specifications define how > a YAML processor should determine whether a YAML stream is encoded in > UTF-8, UTF-16, or UTF-32. > > Encoding considerations: > > binary > > Security considerations: > > Interpreting arbitrary YAML can be dangerous. Many YAML processors are > able to serialise and deserialise arbitrary objects in their host > programming language, which can include arbitrary executable code. > Applications consuming YAML from untrusted sources MUST restrict the > range of object types that can be deserialised to those that are safe. > > YAML allows for the construction of complex data structures, including > cyclic ones. This can create structures that simple reference-counting > garbage collectors cannot collect when they become unreferenced. YAML > consumers using such garbage collectors may need to record which > references were generated using aliases and to break those references > before allowing the structure to become unreferenced. > > Interoperability considerations: > > N/A > > Published specification: > > YAML Ain’t Markup Language (YAML™) Version 1.2, > http://yaml.org/spec/1.2/spec.html > YAML Ain’t Markup Language (YAML™) Version 1.1, http://yaml.org/spec/1.1/ > YAML Ain't Markup Language (YAML™) 1.0, http://yaml.org/spec/1.0/ > > In each case, a text/vnd.yaml entity is a complete YAML stream, which > might potentially contain multiple YAML documents. > > Applications that use this media type: > > A wide variety of implementations are listed at <http://yaml.org>. > > Fragment identifier considerations: > > Fragment identifiers are reserved for future standardisation. While > having them refer to YAML anchor names is tempting, those are > deliberately not unique within a stream and hence would not make good > fragment identifiers. > > Additional information: > > Deprecated alias names for this type: N/A > Magic number(s): N/A > File extension(s): .yaml .yml > Macintosh file type code(s): N/A > > Person & email address to contact for further information: > > YAML mailing list <yaml-core@lists.sourceforge.net> > > Intended usage: > > COMMON > > Restrictions on usage: > > N/A > > Author: > > Ben Harris, University of Cambridge <bjh21@cam.ac.uk> > > Change controller: > > Ben Harris, University of Cambridge <bjh21@cam.ac.uk> > on behalf of Oren Ben-Kiki <oren@ben-kiki.org>, Clark Evans > <cce@clarkevans.com>, and Ingy döt Net <ingy@ingy.net> > > Provisional registration? (standards tree only): > > N/A > > > > _______________________________________________ > media-types mailing list > media-types@ietf.org > https://www.ietf.org/mailman/listinfo/media-types >
- [media-types] Proposed media type registration fo… Ben Harris
- Re: [media-types] Proposed media type registratio… Martin J. Dürst
- Re: [media-types] Proposed media type registratio… Mark Baker
- Re: [media-types] Proposed media type registratio… Ben Harris
- Re: [media-types] Proposed media type registratio… Ben Harris
- Re: [media-types] Proposed media type registratio… Ben Harris