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

Roger D Carney <rcarney@godaddy.com> Thu, 23 March 2017 15:31 UTC

Return-Path: <rcarney@godaddy.com>
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 8394012948E for <regext@ietfa.amsl.com>; Thu, 23 Mar 2017 08:31:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=secureservernet.onmicrosoft.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 UykBag7aW8V8 for <regext@ietfa.amsl.com>; Thu, 23 Mar 2017 08:31:40 -0700 (PDT)
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0117.outbound.protection.outlook.com [104.47.34.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 667161201F2 for <regext@ietf.org>; Thu, 23 Mar 2017 08:31:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secureservernet.onmicrosoft.com; s=selector1-godaddy-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SN2+gqGDgtQadwG9cQft6NtO9Zg4RdYhcZriC27+ZNY=; b=t2gGwAFTnOyh6l8TLHzAPp0OAhF20ItbHA57rS762pqrJ/Nkm5Dr/dxBK9IiDQjICbUwzwaeoSjdIka+dBX20NrPHaZdL3UkDsXNsaHjKL8+odqWs8OmJU43h2SrYouCmdnZGYGWhIHDa9lD9w1my80b6yS4ZgHPzNNdl85x4E0=
Received: from BN6PR02MB2547.namprd02.prod.outlook.com (10.173.142.10) by BN6PR02MB2547.namprd02.prod.outlook.com (10.173.142.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Thu, 23 Mar 2017 15:31:36 +0000
Received: from BN6PR02MB2547.namprd02.prod.outlook.com ([10.173.142.10]) by BN6PR02MB2547.namprd02.prod.outlook.com ([10.173.142.10]) with mapi id 15.01.0947.020; Thu, 23 Mar 2017 15:31:36 +0000
From: Roger D Carney <rcarney@godaddy.com>
To: "regext@ietf.org" <regext@ietf.org>
Thread-Topic: [regext] draft-ietf-regext-epp-fees-02.txt: currency error handling, command wildcard
Thread-Index: AQHSovywnk0DX0rFWkK5GXD5lBfxTqGiiySg
Date: Thu, 23 Mar 2017 15:31:36 +0000
Message-ID: <BN6PR02MB2547211A89CA1383EEADE467B13F0@BN6PR02MB2547.namprd02.prod.outlook.com>
References: <148901468989.20175.4288046986031713790@ietfa.amsl.com> <7efca86c-ac79-c835-76d4-b9ee1e93c0e7@knipp.de>
In-Reply-To: <7efca86c-ac79-c835-76d4-b9ee1e93c0e7@knipp.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=godaddy.com;
x-originating-ip: [64.202.161.57]
x-ms-office365-filtering-correlation-id: bdb03d68-1b46-454f-5e34-08d47201b17f
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081); SRVR:BN6PR02MB2547;
x-microsoft-exchange-diagnostics: 1; BN6PR02MB2547; 7:/40gZDM4Urv3ikK1EAJfk/KiT/9KyyVxFgJrchChhbEXYn7cJd+vmH2zSWV8cmkW7VWrBUoaIZ+vHz7CZQz5ty5S7j4/uAHTcGjgmpiTlvgMFe4IJe4pninJpdqKC+2lfhgDa6O7O/IItR3P2td+CSALXIuuCCh280nexUqBhRQd+OKC3i/L9yB7mTCmv21fe0+/5Ds+AVNIQdh36AwUY0AxKAgL7VA7OBKZK7e9SWpHEDYeBKGRhIDgsEOI3GiUHwCH+p/WT3tzR2FJX1WaXMrgcz4jyQPGHquWsM3eeKqh/2UM7i6uB1bykps7xVb6Nw8K9xGKVHSL7fCLRILE7Q==
x-microsoft-antispam-prvs: <BN6PR02MB2547E4A6886B85B7909E0225B13F0@BN6PR02MB2547.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123558025)(20161123560025)(6072148); SRVR:BN6PR02MB2547; BCL:0; PCL:0; RULEID:; SRVR:BN6PR02MB2547;
x-forefront-prvs: 0255DF69B9
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39450400003)(39850400002)(39860400002)(39410400002)(39840400002)(13464003)(51914003)(252514010)(377454003)(54094003)(6116002)(6506006)(6916009)(551934003)(2501003)(38730400002)(81166006)(7906003)(53546009)(230783001)(122556002)(25786009)(606005)(8676002)(74316002)(86362001)(3660700001)(189998001)(790700001)(3846002)(2950100002)(3280700002)(102836003)(2906002)(5660300001)(6436002)(55016002)(229853002)(1730700003)(8936002)(110136004)(6306002)(50986999)(2900100001)(6246003)(76176999)(54356999)(5630700001)(77096006)(53936002)(9686003)(5640700003)(33656002)(54896002)(7736002)(99286003)(236005)(2351001)(53946003)(7696004)(66066001)(579004); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR02MB2547; H:BN6PR02MB2547.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BN6PR02MB2547211A89CA1383EEADE467B13F0BN6PR02MB2547namp_"
MIME-Version: 1.0
X-OriginatorOrg: godaddy.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2017 15:31:36.3579 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d5f1622b-14a3-45a6-b069-003f8dc4851f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2547
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/KOofunQMFT04z1Sa5brpAZ03Kxo>
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: Thu, 23 Mar 2017 15:31:43 -0000

Good Morning,



Thanks for the comments Thomas!



I will look at the consistency of the error codes in sections 3.2 and 5.1.1.



As far as the text in the "avail" section you mention, I think this was meant as some combination of these items makes it invalid, not necessarily that a single item is invalid. I will look at wording to clarify.



Thanks for catching the mismatch on the <fee:command>. Before updating the scheme I think it would be good to have the discussion on if this functionality is needed/wanted: would it be useful for the client to be able to not pass a <fee:command> in the <check> command?





Thanks

Roger



-----Original Message-----
From: regext [mailto:regext-bounces@ietf.org] On Behalf Of Thomas Corte
Sent: Wednesday, March 22, 2017 6:08 AM
To: regext@ietf.org
Subject: [regext] draft-ietf-regext-epp-fees-02.txt: currency error handling, command wildcard



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(r) 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<mailto:support@tango-rs.com>

Germany



_______________________________________________

regext mailing list

regext@ietf.org<mailto:regext@ietf.org>

https://www.ietf.org/mailman/listinfo/regext