Re: [regext] draft-ietf-regext-epp-fees-02.txt: currency error handling, command wildcard

Thomas Corte <Thomas.Corte@knipp.de> Fri, 24 March 2017 10:05 UTC

Return-Path: <Thomas.Corte@knipp.de>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18A40129666 for <regext@ietfa.amsl.com>; Fri, 24 Mar 2017 03:05:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 dipGevzBKmKD for <regext@ietfa.amsl.com>; Fri, 24 Mar 2017 03:05:57 -0700 (PDT)
Received: from kmx10a.knipp.de (clust3a.bbone.knipp.de [195.253.6.83]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54FCA12957C for <regext@ietf.org>; Fri, 24 Mar 2017 03:05:57 -0700 (PDT)
Received: from localhost (localhost.bbone.knipp.de [127.0.0.1]) by kmx10a.knipp.de (Postfix) with ESMTP id 1F06C97DA; Fri, 24 Mar 2017 11:05:56 +0100 (MEZ)
X-Knipp-VirusScanned: Yes
Received: from kmx10a.knipp.de ([127.0.0.1]) by localhost (kmx10a.knipp.de [127.0.0.1]) (amavisd-new, port 10004) with ESMTP id vVP8aGs4vPL2; Fri, 24 Mar 2017 11:05:49 +0100 (MEZ)
Received: from hp9000.do.knipp.de (hp9000.do.knipp.de [195.253.2.54]) by kmx10a.knipp.de (Postfix) with ESMTP id A2B8297DD; Fri, 24 Mar 2017 11:05:49 +0100 (MEZ)
Received: from flexo.fritz.box (fw-intranet-eth3-0.do.knipp.de [195.253.2.17]) by hp9000.do.knipp.de (@(#)Sendmail version 8.15.2 - Revision 1.0 :: HP-UX 11.31 - 29th July,2016/8.15.2) with ESMTP id v2OA5nfL019319; Fri, 24 Mar 2017 11:05:49 +0100 (MEZ)
To: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
References: <148901468989.20175.4288046986031713790@ietfa.amsl.com> <7efca86c-ac79-c835-76d4-b9ee1e93c0e7@knipp.de> <CAC1BbcSTz7ZLPeJbbNdgMPy0p2KGB4rA17hF+vXzVmViRM458A@mail.gmail.com>
Cc: regext <regext@ietf.org>
From: Thomas Corte <Thomas.Corte@knipp.de>
Organization: Knipp Medien und Kommunikation GmbH
Message-ID: <8e1c7a2d-19ec-5be0-233f-dae734cb1c33@knipp.de>
Date: Fri, 24 Mar 2017 11:05:44 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAC1BbcSTz7ZLPeJbbNdgMPy0p2KGB4rA17hF+vXzVmViRM458A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/cycNXPYyVRDbY5BmXRVGAwhAs0o>
Subject: Re: [regext] draft-ietf-regext-epp-fees-02.txt: currency error handling, command wildcard
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Mar 2017 10:05:59 -0000

Hello Bernhard,

On 23/03/2017 16:04, Bernhard Reutner-Fischer wrote:

> In my view 2004 is more on the protocol-layer, i.e. value supplied not in
> curl -s -o- https://www.currency-iso.org/dam/downloads/lists/list_one.xml | \
>  sed -n -e "/<Ccy>/s/.*>\([^<]*\)<.*/\1/p" | sort | uniq | tr "\n" " "
> 
> 2306 is a policy violation, i.e. may be a valid currencyType but is
> not supported by your registry.

I see, however it seems futile to have these two levels of checking...
the server-supported currencies are obviously a subset of the globally
available currencies, so any currency not present in the long list is
bound to be rejected later on when the server checks for support.

If at all, I'd probably rather like to see the restriction to existing
currencies done via the schema, i.e. by an explicit enumeration of valid
values in the XSD.

Best regards,

Thomas

-- 
____________________________________________________________________
     |       |
     | knipp |            Knipp  Medien und Kommunikation GmbH
      -------                    Technologiepark
                                 Martin-Schmeißer-Weg 9
                                 44227 Dortmund
                                 Deutschland

     Dipl.-Informatiker          Tel:    +49 231 9703-0
     Thomas Corte                Fax:    +49 231 9703-200
     Stellvertretender Leiter    SIP:    Thomas.Corte@knipp.de
     Software-Entwicklung        E-Mail: Thomas.Corte@knipp.de

                                 Registereintrag:
                                 Amtsgericht Dortmund, HRB 13728

                                 Geschäftsführer:
                                 Dietmar Knipp, Elmar Knipp