Re: [Slim] Collapse attribute syntax to one line in draft-ietf-slim-negotiating-human-language

Natasha Rooney <nrooney@gsma.com> Thu, 01 June 2017 09:54 UTC

Return-Path: <nrooney@gsma.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 75BEF127867 for <slim@ietfa.amsl.com>; Thu, 1 Jun 2017 02:54:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.91
X-Spam-Level:
X-Spam-Status: No, score=-2.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gsmasso.onmicrosoft.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 fuugojmZSV7X for <slim@ietfa.amsl.com>; Thu, 1 Jun 2017 02:54:24 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30052.outbound.protection.outlook.com [40.107.3.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 78269126DED for <slim@ietf.org>; Thu, 1 Jun 2017 02:54:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=GSMASSO.onmicrosoft.com; s=selector1-gsma-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0XVVTha/pmHEPp6viJZltj/bZ8xV0YB0lJHUQv/hrQ0=; b=GIkMl/ReM2OYmJ9yp1if3QMBWDOoTmU6nJiQHCYVV8ijG3ffCsO7p7euXPwBsTvSagzz9/hDTwX2ihtDZzEIJqiSf07qyCtiQUpQcpZx1LZKpzjQntd81zgkOGBQDY7PP9/a21pE4aokkRmMQ7M6hoN7ZQNVNZ68TAWR2aJ6lwQ=
Received: from AM2PR04MB0802.eurprd04.prod.outlook.com (10.160.56.28) by AM2PR04MB0803.eurprd04.prod.outlook.com (10.160.57.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Thu, 1 Jun 2017 09:54:21 +0000
Received: from AM2PR04MB0802.eurprd04.prod.outlook.com ([fe80::250d:5ecf:c7fd:d3b1]) by AM2PR04MB0802.eurprd04.prod.outlook.com ([fe80::250d:5ecf:c7fd:d3b1%15]) with mapi id 15.01.1124.020; Thu, 1 Jun 2017 09:54:21 +0000
From: Natasha Rooney <nrooney@gsma.com>
To: Randall Gellens <rg+ietf@randy.pensive.org>
CC: "slim@ietf.org" <slim@ietf.org>
Thread-Topic: [Slim] Collapse attribute syntax to one line in draft-ietf-slim-negotiating-human-language
Thread-Index: AQHS1/5CHXUAGwNU9U+Ma8BGS6i4S6IL79sAgAPaOgA=
Date: Thu, 01 Jun 2017 09:54:21 +0000
Message-ID: <B8657F32-BB22-40FE-8D09-6EB3EC4408D9@gsma.com>
References: <p06240602d550f5367daa@[99.111.97.136]> <p06240602d55258b37fa7@[99.111.97.136]>
In-Reply-To: <p06240602d55258b37fa7@[99.111.97.136]>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3273)
authentication-results: randy.pensive.org; dkim=none (message not signed) header.d=none; randy.pensive.org; dmarc=none action=none header.from=gsma.com;
x-originating-ip: [62.189.0.100]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM2PR04MB0803; 7:DJRoWKLPvFZH8kFrLz1E3fe45h+hocrnb47YJfCzv0EB2Cox24w/jzvwd/5xrTf2l10bL9Go0cbUt2qAsqXkJV3axhq8KNDeIyKR+PiS7MLb8ByhrNpbDPEwXPiIupOXokeYpyGkyYWyvRziKN/oVhdiY11QN0fXLch/TiBCyAvNeWziQuJtH4Z514DnRfYE7AxWKAFP1Ex5fmH19P6qpfzNt1sH2Bv271mPO4Z5SwdhLY4kfkcnyVz/rQoo2/FH7TVQZbPrAsWcsddA8ns6rb9SWLK8gUmR3Egffk6FkuRuNRW1icJre2l2eKpy2mgXww6qo5/4u+QX3+pu2cEsEA==
x-ms-traffictypediagnostic: AM2PR04MB0803:
x-ms-office365-filtering-correlation-id: 59b0bb7c-dbcf-4159-7d28-08d4a8d42d5d
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:AM2PR04MB0803;
x-microsoft-antispam-prvs: <AM2PR04MB0803152CB1C7A36FE0191979C3F60@AM2PR04MB0803.eurprd04.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123564025)(20161123562025)(6072148); SRVR:AM2PR04MB0803; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0803;
x-forefront-prvs: 0325F6C77B
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400002)(39400400002)(39450400003)(39410400002)(39840400002)(24454002)(377454003)(82746002)(50986999)(7906003)(7736002)(66066001)(478600001)(236005)(6512007)(54896002)(6306002)(6436002)(606005)(5890100001)(6506006)(83716003)(86362001)(5250100002)(14454004)(76176999)(99286003)(38730400002)(966005)(2950100002)(5660300001)(110136004)(6486002)(57306001)(53936002)(36756003)(229853002)(2906002)(3660700001)(3280700002)(8676002)(81166006)(8936002)(50226002)(189998001)(6246003)(53546009)(2900100001)(25786009)(33656002)(4326008)(230783001)(6116002)(3846002)(102836003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0803; H:AM2PR04MB0802.eurprd04.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_B8657F32BB2240FE8D096EB3EC4408D9gsmacom_"
MIME-Version: 1.0
X-OriginatorOrg: gsma.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jun 2017 09:54:21.2154 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72a4ff82-fec3-469d-aafb-ac8276216699
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0803
X-MS-Exchange-CrossPremises-AuthAs: Internal
X-MS-Exchange-CrossPremises-AuthMechanism: 04
X-MS-Exchange-CrossPremises-AuthSource: AM2PR04MB0802.eurprd04.prod.outlook.com
X-MS-Exchange-CrossPremises-TransportTrafficType: Email
X-MS-Exchange-CrossPremises-TransportTrafficSubType:
X-MS-Exchange-CrossPremises-SCL: 1
X-MS-Exchange-CrossPremises-messagesource: StoreDriver
X-MS-Exchange-CrossPremises-BCC:
X-MS-Exchange-CrossPremises-originalclientipaddress: 62.189.0.100
X-MS-Exchange-CrossPremises-transporttraffictype: Email
X-MS-Exchange-CrossPremises-transporttrafficsubtype:
X-MS-Exchange-CrossPremises-disclaimer-hash: 78ca8040c6722e32c2f5b0a45bf37e74b9409d645a53be96aa19958e0cee0f00
X-MS-Exchange-CrossPremises-antispam-scancontext: DIR:Originating; SFV:NSPM; SKIP:0;
X-MS-Exchange-CrossPremises-processed-by-journaling: Journal Agent
X-OrganizationHeadersPreserved: AM2PR04MB0803.eurprd04.prod.outlook.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/slim/Vzz4o3zjhmzlkWo2VxcXRmQnN2o>
Subject: Re: [Slim] Collapse attribute syntax to one line in draft-ietf-slim-negotiating-human-language
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: Thu, 01 Jun 2017 09:54:26 -0000

This seems sufficient given our previous conversations. q-values can be applied within further work (although I don’t see why ordering doesn’t do the job, works in web).

Bernard - any further thoughts?

Natasha Rooney | Internet Engineering Director | Internet and Web Team | Technology | GSMA | nrooney@gsma.com<mailto:nrooney@gsma.com> | +44 (0) 7730 219 765 | @thisNatasha | Skype: nrooney@gsm.org<mailto:nrooney@gsm.org>

On 30 May 2017, at 00:04, Randall Gellens <rg+ietf@randy.pensive.org<mailto:rg+ietf@randy.pensive.org>> wrote:

I uploaded version -10, which includes the syntax change to single line, along with a few editorial clarifications.  (Version -09 accidently omitted an editorial clarification.)

You can see a diff of the changes from 08 to 10 here:
https://www.ietf.org/rfcdiff?url1=draft-ietf-slim-negotiating-human-language-08&url2=draft-ietf-slim-negotiating-human-language-10

If there objections to the change from multi-line to single-line, this can be reverted.

--Randy



At 2:57 PM -0700 5/28/17, Randall Gellens wrote:

In response to Adam Roach's comments as well as other comments, I intend to update the draft to collapse the attribute syntax to one line; each attribute can occur at most once per media, with all languages on the same line.  This will further reduce the size of the SDP block.

If you object to this, please reply.

Here is the section of Adam's review:

At 8:31 PM +0000 3/28/17, Sabrina Tanamal via RT wrote:
 I'll note that much of this can be fixed if the syntax is collapsed so
 that each media section can have at most one hlang-send and one
 hlang-receive, each of which contain a list of one or more languages
 that can be sent or received. This is also much more consistent with the
 way SDP attributes are used in general. The presence of a "*" token on
 that line would indicate the "call should happen even without matching
 languages" characteristic; since there is only one place to add this
 indicator, the ambiguity of some lines indicating it and others not
 disappears. The preceding example would collapse to:

 m=audio 49250 RTP/AVP 20
 a=hlang-send:es eu en *
 a=hlang-recv:es eu en *

 ...and the example text would be revised to remove the implication that
 *sending* "es" necessarily implies *receiving* "es".

 I'll further note that the majority of SDP libraries I've worked with
 would make accessing the all-on-one-line format easier than
 one-line-per-language as well.

Here is the proposed ABNF:

   Attribute Syntax:

      hlang-value =  Language-Tag *( SP Language-tag ) [ SP asterisk ]

                           ; Language-Tag as defined in BCP 47

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

      sp          =  1*" " ; one or more ASCII space (%20) characters

--
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly selected tag: ---------------
If forced to travel on an airplane, try and get in the cabin with
the Captain, so you can keep an eye on him and nudge him if he
falls asleep or point out any mountains looming up ahead ...
       --Mike Harding, The Armchair Anarchist's Almanac.

_______________________________________________
SLIM mailing list
SLIM@ietf.org
https://www.ietf.org/mailman/listinfo/slim


--
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly selected tag: ---------------
Knowledge always desires increase; it is like fire, which must
first be kindled by some external agent, but which will afterwards
propagate itself.                       --Dr. Samuel Johnson

_______________________________________________
SLIM mailing list
SLIM@ietf.org
https://www.ietf.org/mailman/listinfo/slim


This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email or call +44 207 356 0600 and highlight the error.