Re: [Slim] draft-ietf-slim-negotiating-human-language-10: extensibility
Paul Kyzivat <paul.kyzivat@comcast.net> Fri, 09 June 2017 19:40 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 4B12F126D85 for <slim@ietfa.amsl.com>; Fri, 9 Jun 2017 12:40:21 -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 TMsSXO2SvWGI for <slim@ietfa.amsl.com>; Fri, 9 Jun 2017 12:40:19 -0700 (PDT)
Received: from resqmta-ch2-10v.sys.comcast.net (resqmta-ch2-10v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:42]) (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 C5664128D69 for <slim@ietf.org>; Fri, 9 Jun 2017 12:40:19 -0700 (PDT)
Received: from resomta-ch2-08v.sys.comcast.net ([69.252.207.104]) by resqmta-ch2-10v.sys.comcast.net with SMTP id JPl4dCqMA61D9JPladr7hF; Fri, 09 Jun 2017 19:40:18 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1497037218; bh=GrGKYPXc2ktG1dMQN2csyoh7hp3hbWi/PEphNm7hE+Y=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=nnS70RtUHFJmsdZ16Y/LX6WbfCkYvuTS7ICDEbDS1XDtUCQoCCJO/ZvfUzjsazbgN CLHX4LcYIbyH25difns/UJu2lGBQrSXWff2USX4U/V+CkMhtHko7BuJfyncShI6OLq 5fYPu1GqsZ7KB6x7TD+Mh8k62kFndDxTyCVHMOjVLt0jAKSg8Ar6oFScEY2Tt483Yu pegZf17uwU0X7c5TuIynpqvODmGsir+rBYkIbI2Cm/yoCrTDruwnxTED8MPbJDlrBm JN2Rf31mqdgVkgBRYeIRTRe2P/IF24E63Ta/RKQbiu2dqqrTONkJCQpr2CMYQafT6w qZjRabcQ0uQzw==
Received: from [192.168.1.110] ([24.62.227.142]) by resomta-ch2-08v.sys.comcast.net with SMTP id JPlZdySEitZO6JPladTcxv; Fri, 09 Jun 2017 19:40:18 +0000
To: Randall Gellens <rg+ietf@randy.pensive.org>, 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> <70ea7743-7d6a-16ae-f975-72284ff12dfb@comcast.net> <p06240605d5609ac42285@[99.111.97.136]>
From: Paul Kyzivat <paul.kyzivat@comcast.net>
Message-ID: <bc740733-38b1-5c16-23db-f45ba83247c9@comcast.net>
Date: Fri, 09 Jun 2017 15:40:17 -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: <p06240605d5609ac42285@[99.111.97.136]>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfJyZCHATCLi0ppUiljInGkPR8IAZQGLraVR1T2u1YQno0mQrcM6T0omWrloiGfkPCVlcEsntEdhWYQcvn+ezZhowC1pTI0cmZhFuhNO1Txlz2d0dUxM/ mNg/JB3cxX42HEIDuALxxzoBOB7IRltHf0ctfM71gmeQGHPaK/1mh28r1AP9DqyF83FrHCLPh5yzxk3Jfql+8HdZjptYbiS0Tnc=
Archived-At: <https://mailarchive.ietf.org/arch/msg/slim/-1oLbeHI896LbXbbLGvD1qi5WMA>
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: Fri, 09 Jun 2017 19:40:21 -0000
On 6/9/17 2:59 PM, Randall Gellens wrote: > At 6:20 PM -0400 6/7/17, Paul Kyzivat 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. > > I'm not opposed to allowing future extension parameters in the syntax, > but I'm not convinced we need to be so explicit as to their syntax here > (specifying that they consist of a token, an equal sign, and another > token). I'd be more comfortable saying something more generic, such as: > > hlang-value = lang *( "," *" " lang ) > lang = ( Language-Tag [extend] ) / asterisk > ; Language-Tag defined in BCP 47 > extend = ";" 1*( %x21-2B / %x2D-3A / %x3C-7E ) > ; semicolon followed by printable chars not "," ";" " " > ; ignored in this document; defined for future extensibility > asterisk = "*" ; an asterisk (0x2A) character > > This permits a semicolon and a series of characters that don't include > comma, semicolon, or space to be appended to a BCP47 Language-Tag. The > specific syntax of such extensions can then be defined in a future document. I don't quite follow the details above. But I am not opposed to using a more generic format as a placeholder for future parameters. Thanks, Paul
- [Slim] Collapse attribute syntax to one line in d… Randall Gellens
- Re: [Slim] Collapse attribute syntax to one line … Gunnar Hellström
- Re: [Slim] Collapse attribute syntax to one line … Gunnar Hellström
- Re: [Slim] Collapse attribute syntax to one line … Gunnar Hellström
- Re: [Slim] Collapse attribute syntax to one line … Randall Gellens
- Re: [Slim] Collapse attribute syntax to one line … Randall Gellens
- Re: [Slim] Collapse attribute syntax to one line … Natasha Rooney
- Re: [Slim] Collapse attribute syntax to one line … Gunnar Hellström
- Re: [Slim] Collapse attribute syntax to one line … Randall Gellens
- Re: [Slim] Collapse attribute syntax to one line … Gunnar Hellström
- Re: [Slim] Collapse attribute syntax to one line … Brian Rosen
- Re: [Slim] Collapse attribute syntax to one line … Paul Kyzivat
- Re: [Slim] draft-ietf-slim-negotiating-human-lang… Paul Kyzivat
- Re: [Slim] draft-ietf-slim-negotiating-human-lang… Bernard Aboba
- Re: [Slim] Collapse attribute syntax to one line … Adam Roach
- Re: [Slim] Collapse attribute syntax to one line … Gunnar Hellström
- Re: [Slim] draft-ietf-slim-negotiating-human-lang… Randall Gellens
- Re: [Slim] Collapse attribute syntax to one line … Randall Gellens
- Re: [Slim] draft-ietf-slim-negotiating-human-lang… Paul Kyzivat
- Re: [Slim] draft-ietf-slim-negotiating-human-lang… Randall Gellens