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 18:06 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 43D8A12D190 for <lager@ietfa.amsl.com>; Fri, 29 Apr 2016 11:06:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, 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=Y0vqyg/Y; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=qSGbSD69
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 0R9Fp0RXsoCd for <lager@ietfa.amsl.com>; Fri, 29 Apr 2016 11:06:47 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A8C112D167 for <lager@ietf.org>; Fri, 29 Apr 2016 11:06:46 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 584C120CFA for <lager@ietf.org>; Fri, 29 Apr 2016 13:57:36 -0400 (EDT)
Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 29 Apr 2016 13:57:36 -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=PjVC7baLOfdg+1lTVa6VcGT7g3g=; b=Y0vqyg /YZgBmjfj7LETF7jsmwCtRSYIna681kyZPyToE/FowqwD3Z9VPjtXwqEsDpnP425 MTuS8icOeuBqOdJ35d4boamf+1CO6GRzi0l2k5z5ytdB8XPPHXMUvgURhPIx9bRA 1lmy+UkP8Yryi5GOU97MzWEYZwI2LQ6Kgo1bg=
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=PjVC7baLOfdg+1l TVa6VcGT7g3g=; b=qSGbSD69Rx67BZ/r7hC1fFKAFz9TvdRoBx+r8Sm2ZzzZiz+ 5fxdTLUmK8ooh7N+TJYb2TgBwrkUd9Ur1C1HnJNvPWbQ1zPeF3DsKdjWLgBTs6ld RvENadsNkG9U/kMsz3UF071avArw/aLq4bNfI0ncyIGki4A6h65MFlztEJ3k=
X-Sasl-enc: E4afV79iLaUs1Zf+bRgFxmY01Lbx4ub/TS1Mngl7tUmp 1461952655
Received: from [10.241.126.171] (unknown [85.255.235.183]) by mail.messagingengine.com (Postfix) with ESMTPA id A52F9C00017; Fri, 29 Apr 2016 13:57:35 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-FD152E5A-3DC1-4139-BEEF-98DC537C744C"
Mime-Version: 1.0 (1.0)
From: Alexey Melnikov <aamelnikov@fastmail.fm>
X-Mailer: iPhone Mail (13E238)
In-Reply-To: <ec41831c-4e15-6286-035b-81c2efedb66e@ix.netcom.com>
Date: Fri, 29 Apr 2016 19:02:31 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <BFFB5CCD-860E-4578-A52B-0941B03970FB@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> <ec41831c-4e15-6286-035b-81c2efedb66e@ix.netcom.com>
To: "Asmus Freytag (c)" <asmusf@ix.netcom.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/lager/07ua28G-GFtKuOjoKSQhTRN4_m8>
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 18:06:48 -0000

Hi Asmus,

> On 29 Apr 2016, at 17:36, 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.
> 
> New text. (Compared to draft 11, the second half of the first sentence and the last sentence are new).
> 4. LGR Format
> 
> An LGR is expressed as a well-formed XML Document [XML] that conforms to the schema defined in Appendix Appendix D.
> 
> As XML is case-sensitive, an LGR must be authored with the correct casing. For example, the XML element names MUST be           in lower case as described in this specification, and matching of attribute values, is only performed in a case-sensitive manner.
> 
> A document that is not well-formed, non-conforming or violates other constraints specified in this specification MUST be rejected.
> 
> 
> 
> I think this makes it abundantly clear that the spec does not condone "guessing".

This text looks good to me. And I believe it covers Stephen's case of 2 digit code points.