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

Thomas Corte <Thomas.Corte@knipp.de> Wed, 22 March 2017 11:08 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 29A7B1296C0 for <regext@ietfa.amsl.com>; Wed, 22 Mar 2017 04:08:43 -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 c0Ryde1dZG74 for <regext@ietfa.amsl.com>; Wed, 22 Mar 2017 04:08:40 -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 6376D1316F4 for <regext@ietf.org>; Wed, 22 Mar 2017 04:08:38 -0700 (PDT)
Received: from localhost (localhost.bbone.knipp.de [127.0.0.1]) by kmx10a.knipp.de (Postfix) with ESMTP id 1646097DD for <regext@ietf.org>; Wed, 22 Mar 2017 12:08:37 +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 smFOAqkP+TKA for <regext@ietf.org>; Wed, 22 Mar 2017 12:08:29 +0100 (MEZ)
Received: from hp9000.do.knipp.de (hp9000.do.knipp.de [195.253.2.54]) by kmx10a.knipp.de (Postfix) with ESMTP id 22CF997D9 for <regext@ietf.org>; Wed, 22 Mar 2017 12:08:29 +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 v2MB8S5R014239 for <regext@ietf.org>; Wed, 22 Mar 2017 12:08:29 +0100 (MEZ)
From: Thomas Corte <Thomas.Corte@knipp.de>
To: regext@ietf.org
References: <148901468989.20175.4288046986031713790@ietfa.amsl.com>
Organization: Knipp Medien und Kommunikation GmbH
Message-ID: <7efca86c-ac79-c835-76d4-b9ee1e93c0e7@knipp.de>
Date: Wed, 22 Mar 2017 12:08:23 +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: <148901468989.20175.4288046986031713790@ietfa.amsl.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/j74_ZBQerEGvmj2m9keVPCfiPaI>
Subject: [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: Wed, 22 Mar 2017 11:08:43 -0000

Hello,

I've noticed two more issues with the latest EPP fee extensions draft,
detailed below.

Generally, I wonder if this mailing list is the right place to report
such issues. Should I rather contact the authors directly, or is there a
bug tracker set up for this purpose?


Issues:

1) There seem to be contradictory requirements regarding the handling of
invalid currency codes. In section 3.2, the draft says:

  "Servers SHOULD NOT perform a currency conversion if a client uses an
   incorrect currency code.  Servers SHOULD return a 2004 "Parameter
   value range" error instead."

However, in 5.1.1, it says:

     "An OPTIONAL <fee:currency> element.  If the server does not
      support <fee:currency> value, it MUST return a 2306 error
      response;"

Further below, the draft offers a third option:

  "The <fee:command> element also has an OPTIONAL "avail" attribute
   which is a boolean.  If the value of this attribute evaluates to
   false, this indicates that the server cannot calculate the relevant
   fees, because the object, command, currency, period or class is
   invalid according to server policy."

So this would indicate that an invalid currency in a <fee:check> should
not result in an EPP error at all, but merely cause a non-available fee
check result (an option which I would prefer).

I believe this requires some unification, or clarification as to when to
use which code (in the responses to transform commands at least), or when
to use avail="false".


2) In the description for the <fee:check> response, the draft says:

     "If a <fee:object> element in the client command contains no
      <fee:command> element the server SHOULD return a <fee:command>
      element for each server billable transaction combination of the
      <fee:object>."

However, such a case cannot occur since the definition of the
"objectCheckType" complex type currently requires at least one
<fee:command> element (minOccurs is not set and defaults to 1).
This should be changed in the schema so that the intended "command
wildcard" option becomes available.

Best regards,

Thomas

-- 
TANGO REGISTRY SERVICES® is a product of:
Knipp Medien und Kommunikation GmbH
Technologiepark                             Phone: +49 231 9703-222
Martin-Schmeisser-Weg 9                       Fax: +49 231 9703-200
D-44227 Dortmund                       E-Mail: support@tango-rs.com
Germany