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 17:27 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 91BE512D529; Fri, 29 Apr 2016 10:27:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 yPJoNoNtnF2x; Fri, 29 Apr 2016 10:27:06 -0700 (PDT)
Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) by ietfa.amsl.com (Postfix) with ESMTP id DDB2812D11F; Fri, 29 Apr 2016 10:27:05 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=b3tOs9jwZDG+yXQEEh8hzO8R68/R4dUfJfvvadirZYSGVmvi7x6ESPvUWj5twnr6; h=Received:Subject:To:References:Cc:From:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP;
Received: from [71.212.2.16] (helo=[192.168.0.4]) by elasmtp-mealy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <asmusf@ix.netcom.com>) id 1awCBI-0003hq-EI; Fri, 29 Apr 2016 13:26:20 -0400
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Alexey Melnikov <aamelnikov@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> <57239199.5060804@cs.tcd.ie>
From: "Asmus Freytag (c)" <asmusf@ix.netcom.com>
Message-ID: <0b8fccd8-52d1-f5de-acb1-537659606487@ix.netcom.com>
Date: Fri, 29 Apr 2016 10:26:26 -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: <57239199.5060804@cs.tcd.ie>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ELNK-Trace: 464f085de979d7246f36dc87813833b2b484d7840976cb7e2f1001f04b8a714ca95744557ceaf2eb350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 71.212.2.16
Archived-At: <http://mailarchive.ietf.org/arch/msg/lager/F4wu6-PBdhqn2e-WFTufdgmW2bs>
Cc: audric.schiltknecht@viagenie.ca, draft-ietf-lager-specification@ietf.org, 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 17:27:07 -0000

On 4/29/2016 9:53 AM, Stephen Farrell wrote:
> (Sorry on the way out the door, and I may owe you more of a response
> but I noticed this...)
>
> On 29/04/16 17:36, Asmus Freytag (c) wrote:
>> 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.
> That's an odd example though. Surely the more likely way to get
> a non-validating is more like the one I called out where a code
> point omits leading zeros or similar?
>

I think we do not want to repeat all the constraints from the schema in 
this introductory section.

Casing was mentioned by somebody in a different comment, so this text 
was added in an earlier round
and should have been in the version you reviewed. I think it is a useful 
reminder of the case-sensitive
nature of XML document parsing, but, like the issue you raised, really 
is already implicit in the fact that the
specification is about defining an XML-based, schema-validated 
representation.

The new text in response to your comment focuses on the schema. The number
format is described in the schema via a pattern, as in:

## a single code point
code-point = xsd:token {
     pattern = "[0-9A-F]{4,6}"
}

I believe that the existing language in the spec (where the effect of 
the pattern is described in
words) together with the pattern in the schema is sufficient to make 
clear that "01" is not
valid while "0001" is.

The new text in section 4 serves the purpose to act as a general 
reminder that documents that
fail the schema validation must be rejected. Like the casing issue, this 
reminder is intended to
be helpful, but one can argue that it isn't strictly needed.

A./