Re: [ietf-types] Request for review application/gml+xml

Julian Reschke <julian.reschke@gmx.de> Wed, 11 January 2012 10:13 UTC

Return-Path: <julian.reschke@gmx.de>
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 AE1E721F879B for <ietf-types@ietfa.amsl.com>; Wed, 11 Jan 2012 02:13:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.383
X-Spam-Level:
X-Spam-Status: No, score=-103.383 tagged_above=-999 required=5 tests=[AWL=-0.784, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 yObF0G64kcuS for <ietf-types@ietfa.amsl.com>; Wed, 11 Jan 2012 02:13:14 -0800 (PST)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) by ietfa.amsl.com (Postfix) with ESMTP id EF12821F879A for <ietf-types@ietf.org>; Wed, 11 Jan 2012 02:13:13 -0800 (PST)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by pechora5.dc.icann.org (8.13.8/8.13.8) with SMTP id q0BACq8I007103 for <ietf-types@iana.org>; Wed, 11 Jan 2012 02:13:13 -0800
Received: (qmail invoked by alias); 11 Jan 2012 09:46:10 -0000
Received: from p3EE27860.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.120.96] by mail.gmx.net (mp007) with SMTP; 11 Jan 2012 10:46:10 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+v51pAKQeve3/zGSmJDWlIfEwcXxFob1zpGeSG18 UbkwohHLvod1LI
Message-ID: <4F0D5A60.10806@gmx.de>
Date: Wed, 11 Jan 2012 10:46:08 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: Jan Algermissen <jan.algermissen@nordsc.com>
References: <F59F4E2122554F5793C0C7E325D01856@OfficeHP> <61DA936B-79AE-480E-B77A-2415DC18DB08@nordsc.com> <4F0D4A94.407@gmx.de> <BC5008BD-44A0-4838-BE50-540D51088FDF@nordsc.com>
In-Reply-To: <BC5008BD-44A0-4838-BE50-540D51088FDF@nordsc.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-Greylist: Delayed for 00:26:39 by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Wed, 11 Jan 2012 02:13:13 -0800 (PST)
Cc: ietf-types@iana.org, Carl Reed <creed@opengeospatial.org>
Subject: Re: [ietf-types] Request for review application/gml+xml
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: Wed, 11 Jan 2012 10:13:14 -0000

On 2012-01-11 10:22, Jan Algermissen wrote:
>
> On Jan 11, 2012, at 9:38 AM, Julian Reschke wrote:
>
>> On 2012-01-11 08:05, Jan Algermissen wrote:
>>> Carl,
>>>
>>> On Jan 11, 2012, at 2:54 AM, Carl Reed wrote:
>>>
>>>> "version": If provided, this parameter indicates the GML version
>>>>     used in the GML document. Only the major and the first minor
>>>>     version number are provided, e.g. "3.2".
>>>>
>>>>     The value may be provided with or without quotes. i.e.,
>>>>     application/gml+xml; version=3.1 shall be treated as identical to
>>>>     application/gml+xml; version="3.1".
>>>>
>>>>     In cases where elements from multiple GML versions are used,
>>>>     the parameter shall indicate the highest GML version used in the
>>>>     document.
>>>>
>>>>     The parameter can be used to provide protocol-specific operations,
>>>>     such as version-based content negotiation in HTTP
>>>
>>> I cannot find the reference just now, but if I am not seriously wrong, media type parameters are not taken into account by HTTP conneg. (How could they, given that their meaning is defined by the media type itself except for q and charset et al.
>>> ...
>>
>> Why would that be a problem?
>
> I think that the correct way of implementing conneg is to strip all media type specific parameters before matching (otherwise the code would need to be aware of the media type specific parameters).

But that's not what is specified in HTTP.

> The proposed text above suggests that the version parameter would be recognized by such implementations - which it would not. I.e.
>
> Accept: application/gml+xml; version=3.1
>
> would maybe yield
>
> Content-Type: application/gml+xml; version=1.2

I think that would be a bug according to the HTTP spec.

> ...

Best regards, Julian