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

Gunnar Hellström <gunnar.hellstrom@omnitor.se> Thu, 08 June 2017 04:55 UTC

Return-Path: <gunnar.hellstrom@omnitor.se>
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 9F10E129B52 for <slim@ietfa.amsl.com>; Wed, 7 Jun 2017 21:55:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 jzZFkpe7NBA3 for <slim@ietfa.amsl.com>; Wed, 7 Jun 2017 21:55:06 -0700 (PDT)
Received: from bin-vsp-out-01.atm.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) (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 82FD1129B51 for <slim@ietf.org>; Wed, 7 Jun 2017 21:55:06 -0700 (PDT)
X-Halon-ID: a0eadb10-4c06-11e7-b75a-005056917a89
Authorized-sender: gunnar.hellstrom@omnitor.se
Received: from [192.168.2.136] (unknown [77.53.230.196]) by bin-vsp-out-01.atm.binero.net (Halon Mail Gateway) with ESMTPSA; Thu, 8 Jun 2017 06:55:00 +0200 (CEST)
To: Adam Roach <adam@nostrum.com>, 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> <7b4df8c5-4249-7799-79d3-0dd954b82dd3@nostrum.com>
From: Gunnar Hellström <gunnar.hellstrom@omnitor.se>
Message-ID: <e133dd30-e25d-cd7e-b268-1a4b4e78165d@omnitor.se>
Date: Thu, 08 Jun 2017 06:54:56 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <7b4df8c5-4249-7799-79d3-0dd954b82dd3@nostrum.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/slim/vcyNW9Q3Nfpc_N0MTCA9kwtGUVs>
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, 08 Jun 2017 04:55:09 -0000

Den 2017-06-08 kl. 00:47, skrev Adam Roach:
> On 6/1/17 9:33 AM, Gunnar Hellström wrote:
>> Maybe the main question is: Will our own one-line syntax really be 
>> less complex to parse than the Accept-Language syntax that we might 
>> be able to find ready library routines for?
>> Adam Roach had views on complexity to parse different solutions. 
>> Maybe you, Adam can have a view on this?
>
>
> As long as it is a space-delimited list of tokens, it should be 
> trivial. That's a pretty common SDP pattern.
Thanks for your view on this,
How about the semicolon and comma delimited syntax proposal just 
submitted by Paul? Also trivial?
>
> The prospect of bolting a parser from some other protocol (e.g. 
> Accept-Language) onto an SDP parsing library seems like it would be 
> quite complex. The libraries I've worked with would almost certainly 
> find it easier to write such a parser from scratch.
>
> /a
>
Thanks
Gunnar

-- 
-----------------------------------------
Gunnar Hellström
Omnitor
gunnar.hellstrom@omnitor.se
+46 708 204 288