Re: [Lager] Stephen Farrell's Discuss on draft-ietf-lager-specification-11: (with DISCUSS and COMMENT)

Alexey Melnikov <aamelnikov@fastmail.fm> Fri, 29 April 2016 16:22 UTC

Return-Path: <aamelnikov@fastmail.fm>
X-Original-To: lager@ietfa.amsl.com
Delivered-To: lager@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14E4512D1A9 for <lager@ietfa.amsl.com>; Fri, 29 Apr 2016 09:22:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.719
X-Spam-Level:
X-Spam-Status: No, score=-2.719 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fastmail.fm header.b=QrAWq1oL; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=NOnRF7YH
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 8Oc1GwXJqNrY for <lager@ietfa.amsl.com>; Fri, 29 Apr 2016 09:22:30 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E126F12D186 for <lager@ietf.org>; Fri, 29 Apr 2016 09:22:29 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 43D4822F9E for <lager@ietf.org>; Fri, 29 Apr 2016 12:16:47 -0400 (EDT)
Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 29 Apr 2016 12:16:47 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=JtOJlQGpOXB3ejZhkiMUD426ubg=; b=QrAWq1 oL4GyaBRKKurl6ea/ejmlYmPK4Z96Q/5TV/+vEKNgrF68IwD7mEaJJLSJd2Wq+0H oiadQjpiFtoJF+8AJRsbn6vpZqLOESdP0XanmYT8cEdQ695wVw/ZJM1ZnEeyscie /7DzRwMl9YXvDwYXT+WilgCuMy6FtZfwo6L+8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=JtOJlQGpOXB3ejZ hkiMUD426ubg=; b=NOnRF7YHntqrTkNSnZ9Zd32AT5FN7/6bzA8e6tHU8dxYguw O9augj2YQ3te4q9opAXazCwWXFjAM0MOb0bv8B1KlZouIvscyZp8iQ0fvHwNsruA Wyr39ZXXeD/o+yUM1MzfBAVHFrG1Yr+w5O52TDDOOiuZzHeC45OajexbdDJw=
X-Sasl-enc: ajfQCxHNwPSA4FWyyMW4hWQLJzbmPE4zFhagMybQK9lS 1461946606
Received: from [172.22.50.50] (unknown [62.232.206.186]) by mail.messagingengine.com (Postfix) with ESMTPA id BDCDBC00019; Fri, 29 Apr 2016 12:16:46 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-416E5282-6647-43A4-93FB-0B17062AF01D"
Mime-Version: 1.0 (1.0)
From: Alexey Melnikov <aamelnikov@fastmail.fm>
X-Mailer: iPhone Mail (13E238)
In-Reply-To: <c3b6f98f-1ddf-fe82-a384-409dfa088da7@ix.netcom.com>
Date: Fri, 29 Apr 2016 17:21:42 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <8BC0F044-56C1-4880-9345-DA7CFF070FBE@fastmail.fm>
References: <20160421102401.19578.54300.idtracker@ietfa.amsl.com> <1461412191.851961.587365345.53A5CC4C@webmail.messagingengine.com> <571B634F.9070600@cs.tcd.ie> <df5235b5-314d-274f-0579-de5de36b7d85@ix.netcom.com> <1461924319.255971.593231497.5146909F@webmail.messagingengine.com> <c3b6f98f-1ddf-fe82-a384-409dfa088da7@ix.netcom.com>
To: "Asmus Freytag (c)" <asmusf@ix.netcom.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/lager/_XYxTvNi0Qfy71uKcxi0tw7pi6w>
Cc: draft-ietf-lager-specification@ietf.org, audric.schiltknecht@viagenie.ca, The IESG <iesg@ietf.org>, lager@ietf.org, Stephen Farrell <stephen.farrell@cs.tcd.ie>
Subject: Re: [Lager] Stephen Farrell's Discuss on draft-ietf-lager-specification-11: (with DISCUSS and COMMENT)
X-BeenThere: lager@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Label Generation Rules <lager.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lager>, <mailto:lager-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lager/>
List-Post: <mailto:lager@ietf.org>
List-Help: <mailto:lager-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lager>, <mailto:lager-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Apr 2016 16:22:31 -0000

Hi,

> On 29 Apr 2016, at 16:20, Asmus Freytag (c) <asmusf@ix.netcom.com> wrote:
> 
>> On 4/29/2016 3:05 AM, Alexey Melnikov wrote:
>> Hi Asmus,
>>  
>>> On Thu, Apr 28, 2016, at 08:58 PM, Asmus Freytag (c) wrote:
>>> Following on our discussion by e-mail, here is suggested wording.
>>>  
>>> A./
>>>  
>>> On 4/21/2016 3:24 AM, Stephen Farrell wrote:
>>>> (1) section 5: this says code points MUST be 4 hex digits.
>>>> What is s/w supposed to do if it sees only 2 hex digits?
>>>> Should it ignore the range or char element or fail to process
>>>> the entire LGR document? I think the same issue applies to
>>>> other uses of 2119 language as well, (e.g. "MUST be treated as
>>>> an error at the end of p19), so I'd recommend you state some
>>>> kind of general rule if you can.
>>>  
>>> One would expect the schema validator to catch such issues.
>>> It's a simple matter to in to provide explicit language in Section 4 that an LGR that does not conform to the schema in Appendix D is to be rejected.
>>  
>> Please say so explicitly.
> 
> Latest draft text (in preparation) for Section 4, "LGR Format" is:
> 
> "An LGR is expressed as a well-formed XML Document [XML] that conforms to the schema defined in Appendix Appendix D."

This is good.

> with the new following the [XML].
> 
> I think that ought to be sufficient. While it does not use the word "rejected" it makes clear that a non-conforming document does not  constitute an LGR. Let me know if you think this needs to be even more explicit.

I think Stephen wanted more text about what happens if a document is non conforming. Or at least what are valid handling options.

So yes, I think spelling this out would help.