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

"Asmus Freytag (c)" <asmusf@ix.netcom.com> Fri, 29 April 2016 16:37 UTC

Return-Path: <asmusf@ix.netcom.com>
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 4E3AA12D1C2; Fri, 29 Apr 2016 09:37:12 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); domainkeys=pass (384-bit key) header.from=asmusf@ix.netcom.com header.d=ix.netcom.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 T9SfuWlnLLsA; Fri, 29 Apr 2016 09:37:10 -0700 (PDT)
Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by ietfa.amsl.com (Postfix) with ESMTP id DF66C12D1B8; Fri, 29 Apr 2016 09:37:09 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=NlTjuTu6W0tBfLM4EZwdhiYZ5ujwOciFEAcJHOA3aSred9XLDomLtsoD9kt1aCCt; h=Received:Subject:To:References:Cc:From:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:X-ELNK-Trace:X-Originating-IP;
Received: from [71.212.2.16] (helo=[192.168.0.4]) by elasmtp-spurfowl.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <asmusf@ix.netcom.com>) id 1awBP4-00048C-4n; Fri, 29 Apr 2016 12:36:30 -0400
To: Alexey Melnikov <aamelnikov@fastmail.fm>, Stephen Farrell <stephen.farrell@cs.tcd.ie>
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>
From: "Asmus Freytag (c)" <asmusf@ix.netcom.com>
Message-ID: <ec41831c-4e15-6286-035b-81c2efedb66e@ix.netcom.com>
Date: Fri, 29 Apr 2016 09:36:35 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <1461924319.255971.593231497.5146909F@webmail.messagingengine.com>
Content-Type: multipart/alternative; boundary="------------03D1BE3417A327A12438ECAE"
X-ELNK-Trace: 464f085de979d7246f36dc87813833b2b484d7840976cb7e3dba7746678678b34e6f355b9825431e350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 71.212.2.16
Archived-At: <http://mailarchive.ietf.org/arch/msg/lager/TOo-aUY2NFU2kdvhMpJDyvB9eMw>
Cc: draft-ietf-lager-specification@ietf.org, audric.schiltknecht@viagenie.ca, The IESG <iesg@ietf.org>, lager@ietf.org
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:37:12 -0000

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. <#rfc.section.4>LGR Format

An LGR is expressed as a well-formed XML Document[XML] <#XML>that 
conforms to the schema defined inAppendix Appendix D <#schema>.

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".

A./