Re: [ietf-types] Review of application/vnd.error+xml and application/vnd.error+json

Bjoern Hoehrmann <derhoermi@gmx.net> Fri, 27 April 2012 23:24 UTC

Return-Path: <derhoermi@gmx.net>
X-Original-To: ietf-types@ietfa.amsl.com
Delivered-To: ietf-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 00BEC21F86CA for <ietf-types@ietfa.amsl.com>; Fri, 27 Apr 2012 16:24:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5GZIQSBXrnL3 for <ietf-types@ietfa.amsl.com>; Fri, 27 Apr 2012 16:24:52 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id A819921F86B8 for <ietf-types@ietf.org>; Fri, 27 Apr 2012 16:24:51 -0700 (PDT)
Received: (qmail invoked by alias); 27 Apr 2012 23:24:50 -0000
Received: from dslb-094-223-198-127.pools.arcor-ip.net (EHLO HIVE) [94.223.198.127] by mail.gmx.net (mp040) with SMTP; 28 Apr 2012 01:24:50 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1/Z90MCCdvZwynijVNj41TZ/sSvdBn01/43QJYebR bqQV6u7ulVToIU
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Ben Longden <ben@nocarrier.co.uk>
Date: Sat, 28 Apr 2012 01:24:51 +0200
Message-ID: <kbamp7tijn0mq4q2nqlkghtb7a3q5ksk8a@hive.bjoern.hoehrmann.de>
References: <7C70AEAE-52F9-4575-BF66-E348ADDF9DAD@nocarrier.co.uk>
In-Reply-To: <7C70AEAE-52F9-4575-BF66-E348ADDF9DAD@nocarrier.co.uk>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Cc: ietf-types@ietf.org
Subject: Re: [ietf-types] Review of application/vnd.error+xml and application/vnd.error+json
X-BeenThere: ietf-types@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Media \(MIME\) type review" <ietf-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-types>
List-Post: <mailto:ietf-types@ietf.org>
List-Help: <mailto:ietf-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Apr 2012 23:24:53 -0000

* Ben Longden wrote:
>Name : Ben Longden
>
>Email : ben@nocarrier.co.uk
>
>MIME media type name : Application
>
>MIME subtype name : Vendor Tree - vnd.error+xml

This is using an outdated version of the template. The current one is in
RFC 4288, some field names are different and others are organized a bit
differently.

>Required parameters : None
>
>Optional parameters : None

You should provide a rationale for using the "+xml" convention while
omitting the optional "charset" parameter of application/xml. The "+xml"
convention is meant to support "generic" processing, but if your type
does not have an optional 'charset' parameter, "generic" software would
not know how to process something like

  Content-Type: application/vnd.error+xml;charset=iso-8859-1

correctly, which I think is a problem.

>Applications which use this media : None

This is supposed to give people an idea whether this is a type that you
would use with word processing software, 3d rendering software, or some
such category of programs. It is not supposed to list individual pro-
ducts.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/