Re: [Lager] Proposed Schema Change - class-or-set-operator-nested

"Asmus Freytag (c)" <asmusf@ix.netcom.com> Mon, 02 May 2016 16:05 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 2AE3012D098 for <lager@ietfa.amsl.com>; Mon, 2 May 2016 09:05:15 -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 ZhHk3pVZ-vKb for <lager@ietfa.amsl.com>; Mon, 2 May 2016 09:05:13 -0700 (PDT)
Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by ietfa.amsl.com (Postfix) with ESMTP id 1897C12B04C for <lager@ietf.org>; Mon, 2 May 2016 09:05:13 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=OywXVtSIjjly+Roob5MbtcrQsR7YaNXyd0FIFMnOKowAq8RFIQQ2lKLYid2bE2hY; h=Received:Subject:To:References: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-kukur.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <asmusf@ix.netcom.com>) id 1axGLI-0000KC-2b for lager@ietf.org; Mon, 02 May 2016 12:05:04 -0400
To: lager@ietf.org
References: <CACnMJCMbfnCiH2zG52o2g1wvTJE34q7S+Er8EQb3AjVJ+vD1Lg@mail.gmail.com>
From: "Asmus Freytag (c)" <asmusf@ix.netcom.com>
Message-ID: <e0e0a3f0-faa4-1916-a635-ea09382a6488@ix.netcom.com>
Date: Mon, 02 May 2016 09:05:04 -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: <CACnMJCMbfnCiH2zG52o2g1wvTJE34q7S+Er8EQb3AjVJ+vD1Lg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------7C295838A322B9C3EFF3EF63"
X-ELNK-Trace: 464f085de979d7246f36dc87813833b2b484d7840976cb7e7688bcb7a869a32b54e652fa5307ac94350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 71.212.2.16
Archived-At: <http://mailarchive.ietf.org/arch/msg/lager/LNQh0JaF6YBVHBQJz0o3Wxb7CV8>
Subject: Re: [Lager] Proposed Schema Change - class-or-set-operator-nested
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: Mon, 02 May 2016 16:05:15 -0000

On 5/2/2016 8:28 AM, Wil Tan wrote:
>
> On Sat, Apr 30, 2016 at 2:10 AM, Asmus Freytag (c) 
> <asmusf@ix.netcom.com <mailto:asmusf@ix.netcom.com>> wrote:
>
>
>     PS: we do need to pick up Wil's tweak on the schema, which is not
>     merged yet
>
>
> This is a minor refactor of the "class-or-set-operator-nested" 
> production which I made to get around an error when using libxml2 to 
> validate an LGR document [1].
>
> I have now created a pull request about this.

I have reviewed and merged this.

A./
>
> The class-or-set-operator-nested production can be a class-invocation, 
> class-declaration, or set-operator. However, presumably due to 
> class-invocation and class-declaration both having "class" element 
> names, it seems that libxml2 is having trouble validating some documents.
>
> This proposed change defines a class-invocation-or-declaration 
> production that encapsulates the alternate sets of attributes allowed 
> in class-invocation and class-declaration.
>
> The diff can be seen here: 
> https://github.com/kjd/lgr-specification/pull/4/files
>
> [1] 
> https://www.icann.org/en/system/files/files/proposal-khmer-lgr-15apr16-en.xml 
> failed with error message "Element class failed to validate 
> attributes" on line 190 when it encountered a <class 
> from-tag="base-only" />
>
> .wil
>
>
> _______________________________________________
> Lager mailing list
> Lager@ietf.org
> https://www.ietf.org/mailman/listinfo/lager