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

Bernard Aboba <bernard.aboba@gmail.com> Wed, 07 June 2017 22:28 UTC

Return-Path: <bernard.aboba@gmail.com>
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 881EE12EB62 for <slim@ietfa.amsl.com>; Wed, 7 Jun 2017 15:28:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 CyERIe4e2KvN for <slim@ietfa.amsl.com>; Wed, 7 Jun 2017 15:28:33 -0700 (PDT)
Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 49C5A1270A7 for <slim@ietf.org>; Wed, 7 Jun 2017 15:28:33 -0700 (PDT)
Received: by mail-ua0-x234.google.com with SMTP id m31so12400433uam.1 for <slim@ietf.org>; Wed, 07 Jun 2017 15:28:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GpOPVhCTqm71M77rKiZlySwTcZB3aMwmT37CB0Ex3HE=; b=jGSss2szYVqDh5tj1ybDQxmwLd50qHf9PvAwcKvCKxWUcsp9NZm8vCTMNq2Izwgijj zEgJyVmnFsJeJjODyBv1tAUIeK1+OvJd/i4ed6rpm1WbhYwAU3a/9KMozKZ6gBk7ECt/ ZfkMcTn9vV3owSBgWB+v6WkeU+TNJpH8QXBmSxo9olu9wh78iEKqM5QynIG6V9cnyll4 NHONgi7W4ro6AgMfFId1T7qaJrtb5Dstns+GrNPGjxsvuERGa/zj5zVc4+loATNYXV/E eeX0PB1C549zimbe5h6E8wK1t2LAgPAetJxhfDYTmLun6rz+B3myzK/WOqJTV/w6Q0vg iPDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GpOPVhCTqm71M77rKiZlySwTcZB3aMwmT37CB0Ex3HE=; b=jGJBDc5lpq7cmvp/7mk5T4JnfX4TbtlowPHruSzkA/4UMYbeQpxYLrYveUKmNd8APN ljVEF+HKBb/s1FgaXjYn3xn/B2NL5DmkbvNwL6ZWrIbFWW3or0z8wpCHBn+2D/N5OKlx uEuWMtIppcXfK1caJC1qMSZHAGoPB74FO8rCFiqI0v75fzsKHkMfzPba/UaUHx2dOHdp Nq9jW8DG5qETNlJnPVS9skzRJ0QVGD1VJDy02bSJUMa3h5Vt9i6jotpRlFkvxCaA1BOW 2/IkaEChDci/OkUvx8hSA5OQq0vD+xLjA4p4UCcjmq5OyCduLAAVjJ3atYBcrTmg/xia 6YQg==
X-Gm-Message-State: AODbwcC8LPun+88qkioxvd01m5eJS1AyBhr8erdQj30mAxp3/sD6oDGl HUShoeV7jwhBz2pPt2ikGTj4NM759g==
X-Received: by 10.159.48.132 with SMTP id j4mr12573815uab.42.1496874512368; Wed, 07 Jun 2017 15:28:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.159.52.218 with HTTP; Wed, 7 Jun 2017 15:28:12 -0700 (PDT)
In-Reply-To: <70ea7743-7d6a-16ae-f975-72284ff12dfb@comcast.net>
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> <70ea7743-7d6a-16ae-f975-72284ff12dfb@comcast.net>
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Wed, 07 Jun 2017 15:28:12 -0700
Message-ID: <CAOW+2dtm-uiytQSHy9pSVnJ_7hK5vzcYGnv9WpJVbRZnMhpg1w@mail.gmail.com>
To: Paul Kyzivat <paul.kyzivat@comcast.net>
Cc: slim@ietf.org, Randall Gellens <rg+ietf@randy.pensive.org>
Content-Type: multipart/alternative; boundary="f403045e3ede954a9c0551664103"
Archived-At: <https://mailarchive.ietf.org/arch/msg/slim/-IeAp-DHo4jnJdyMndPf_L2YauU>
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:28:35 -0000

Filed as Ticket #40:  https://trac.ietf.org/trac/slim/ticket/40#ticket

On Wed, Jun 7, 2017 at 3:20 PM, Paul Kyzivat <paul.kyzivat@comcast.net>
wrote:

> 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
>
> _______________________________________________
> SLIM mailing list
> SLIM@ietf.org
> https://www.ietf.org/mailman/listinfo/slim
>