Re: [Slim] draft-ietf-slim-negotiating-human-language-10: extensibility

Paul Kyzivat <paul.kyzivat@comcast.net> Wed, 07 June 2017 22:20 UTC

Return-Path: <paul.kyzivat@comcast.net>
X-Original-To: slim@ietfa.amsl.com
Delivered-To: slim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C375F129453 for <slim@ietfa.amsl.com>; Wed, 7 Jun 2017 15:20:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net
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 RUKqBc_xKRcl for <slim@ietfa.amsl.com>; Wed, 7 Jun 2017 15:20:39 -0700 (PDT)
Received: from resqmta-ch2-06v.sys.comcast.net (resqmta-ch2-06v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 198331270A7 for <slim@ietf.org>; Wed, 7 Jun 2017 15:20:38 -0700 (PDT)
Received: from resomta-ch2-04v.sys.comcast.net ([69.252.207.100]) by resqmta-ch2-06v.sys.comcast.net with SMTP id IjJcdGtz6l4eqIjJedBaKt; Wed, 07 Jun 2017 22:20:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1496874038; bh=SbUkjVTFtCDDNKGtVJNwxUsPL8XF4+m0Cm5LWnp9LLk=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=YXw45mCmvWBJC8UgC/Q7XnvkHqSoRwBclKdlQqM/sYGoc5FhQv3CVIVQeBlNgCuAd EVkTrTQ7RhtEHYnIfNfhfHF0fTLDRvxnwuECkKEYpsrJA/Qs890NBj7s+HFUL+UZr7 jvXsRFKbUnJ9du6o9fC/wEgr+xehHDS7RfFK0YllBH5E4zYSD6pU+I7FAfOrr6tIZ5 RtvwyGwE7N813PIsHwdX+2jB9X0s/XcrMJ2sIgImLnLxOU0g/ASOQ3nTUIlzP1t7b1 RqQoXmsUit0GZxr0ZRmLmclCGc8xS0jMFBmt7tqXqcq6kc5yQ0Rn4LZgploZeJGTCl aqjpbX1VStgxg==
Received: from [192.168.1.110] ([24.62.227.142]) by resomta-ch2-04v.sys.comcast.net with SMTP id IjJddzJmiFcZ2IjJdddfpg; Wed, 07 Jun 2017 22:20:38 +0000
To: slim@ietf.org
References: <p06240602d550f5367daa@[99.111.97.136]> <p06240602d55258b37fa7@[99.111.97.136]> <B8657F32-BB22-40FE-8D09-6EB3EC4408D9@gsma.com> <dce40ab8-e4d7-c36a-7731-934f3291c643@omnitor.se> <p06240606d555fc510b8e@[99.111.97.136]> <be415694-9fdb-cf56-ae6b-fd5e8bff8891@omnitor.se> <64D68B73-256D-4478-A970-5037B0187D73@brianrosen.net> <c6d9c212-35dc-3c95-bf29-67ab7699c9d0@comcast.net>
From: Paul Kyzivat <paul.kyzivat@comcast.net>
Message-ID: <70ea7743-7d6a-16ae-f975-72284ff12dfb@comcast.net>
Date: Wed, 07 Jun 2017 18:20:37 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <c6d9c212-35dc-3c95-bf29-67ab7699c9d0@comcast.net>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfKMOauv3SBb1NNrc1sb5EfVXkpSfgqhuMEVP5ZAQqGaEPsvtpil52f8s04KbIYdvnC6JfBlCCoasOAt52uUDLuOyaK5fPsKrINnkayLf/bljRRugvr+t xRFRaEKNjQucvtaW4rm+QKafF5H2Z+QnV+tsYc7Wi33Lu+76FJyIs0qr
Archived-At: <https://mailarchive.ietf.org/arch/msg/slim/MBrQ02kzDG56tiZuB-xFnkJg8pQ>
Subject: Re: [Slim] draft-ietf-slim-negotiating-human-language-10: extensibility
X-BeenThere: slim@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Selection of Language for Internet Media <slim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/slim>, <mailto:slim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/slim/>
List-Post: <mailto:slim@ietf.org>
List-Help: <mailto:slim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/slim>, <mailto:slim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jun 2017 22:20:41 -0000

I posted the message below a week ago but I never saw any responses to it:

On 6/1/17 2:23 PM, Paul Kyzivat wrote:
> On 6/1/17 2:10 PM, Brian Rosen wrote:

[snip]

>> I would prefer the current syntax, and not Accept-Language syntax.
> 
> How about enhancing the syntax to support parameters for the values, but 
> only as a future extension mechanism? Unknown parameters to be ignored. 
> Then at least the hooks will be there to introduce something later if 
> desired.

I think this would be the wise thing to do in any case. But especially 
so since we have have some issues pending that have been postponed as 
potential future work.

Here is a specific proposal so we have something concrete to discuss:

       hlang-value-list = hlang-value *("," hlang-value)

       hlang-value =  (Language-Tag / asterisk) *(";" hlang-param)

       hlang-param = hlang-param-name ["=" hlang-param-value]

       hlang-param-name = token

       hlang-param-value = token

       asterisk    =  "*"   ; an asterisk (ASCII %2A) character

       Language-Tag = <Defined in BCP 47>

       token = <Defined in RFC4566>

(I am *not* particularly attached to the specifics, but rather just to 
the general notion of having an extensibility hook. If you have issues 
with the syntax details I'm happy to discuss alternatives.)

No specific hlang-params are to be defined in this draft. The semantics 
are that unknown hlang-params are to be ignored, and specific ones can 
be defined in extension drafts.

	Thanks,
	Paul