Re: [media-types] The styling of media types in IETF specifications

"HANSEN, TONY L" <tony@att.com> Thu, 09 June 2016 17:43 UTC

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, 09 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

IMO: Within a document, an author should be consistent. If they are not, that is worth pointing out, but not worth rejecting a document if they choose not to be. But advocating more than that is going too far. And it certainly doesn’t need to be written guidance anywhere.

	Tony Hansen

On 6/9/16, 11:31 AM, "media-types on behalf of Sean Leonard" <media-types-bounces@ietf.org on behalf of dev+ietf@seantek.com> wrote:

>  During the publication of draft-seantek-windows-image-03 (soon to be 
>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 
>and unquoting media types.
>
>How shall media types in IETF specifications be stylized in plain text, 
>and in xml2rfc? Specifically: shall they be quoted "application/pdf", or 
>unquoted application/pdf? In xml2rfc, shall they be quoted or unquoted, 
>shall the quotes be curly quotes or straight quotes, and shall the text 
>be in <tt> elements or plain?
>
>My 2¢:
>
>When referring to the media type as a string in a protocol element, in 
>plain text "application/pdf" is correct (possibly with other elements, 
>e.g., "text/plain; charset=ISO-8859-1". In xml2rfc, the same situations 
>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 
>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 
>possibly more unwieldy description, such as:
>
>   An application that renders PDFs needs to put it in a window with 
>scroll bars.
>
>   When a generator generates HTML documents, it SHOULD balance the tags.
>
>
>Thank you,
>
>Sean
>
>
>_______________________________________________
>media-types mailing list
>media-types@ietf.org
>https://www.ietf.org/mailman/listinfo/media-types