Re: [provreg] RFC 5733: street changes with contact:update
Seth Goldman <sethamin@google.com> Fri, 15 November 2013 12:19 UTC
Return-Path: <sethamin@google.com>
X-Original-To: provreg@ietfa.amsl.com
Delivered-To: provreg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix)
with ESMTP id C110611E81A0 for <provreg@ietfa.amsl.com>;
Fri, 15 Nov 2013 04:19:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5
tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001,
NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XmYbIWA6CYDR for
<provreg@ietfa.amsl.com>; Fri, 15 Nov 2013 04:19:57 -0800 (PST)
Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com
[IPv6:2607:f8b0:400c:c02::22d]) by ietfa.amsl.com (Postfix) with ESMTP id
DCE7F11E814C for <provreg@ietf.org>; Fri, 15 Nov 2013 04:19:56 -0800 (PST)
Received: by mail-vb0-f45.google.com with SMTP id x13so312122vbb.4 for
<provreg@ietf.org>; Fri, 15 Nov 2013 04:19:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:cc:content-type; bh=oRLVWDZpz3O14vX/rrooPuOxsdBVlQ0JsNTPTBtB6lk=;
b=LqJ/pZUP2L1NUe0TCtB13o2eWuM4cc2i0IVWAqTlP4fPDhr0FoYbW541hW+b3ghrTk
gIdaXxw91NK6P1qsE8OwMl1LtKpKlCohLAsIMSLYIUh6DRaeUsw9T2ud/aBlgvozPMUj
XB8i1mcbLoGHAH8Oeur6X/q3LmT958P0oQubH0DE4xjw7cBnALZN5dBKFLjgwnhiZSvd
ULQ6V8+CP02MABSCGq4Mwtt2DPx3THZFF2tMdbolKibf+shMJGs13hBhkpkMeh5XJs4A
WFg9aOEJt5xRhebqSUoPkPogPLTLfV4szmoW4EH2Pxheo2cVXvAu6tO/ZQUwaZH9HHSN jxIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;
s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type;
bh=oRLVWDZpz3O14vX/rrooPuOxsdBVlQ0JsNTPTBtB6lk=;
b=iHrkIFmus4UFR4uXr/3QuKSVcdP8oOUwHG4FqPOhsg0HdrOL60TrFBuV1GyZmYTafu
d/Mu0YwqPpmQauQi54PIQUTcPDDDsFkJWhv+73+tqp2sXAr9rWbdfl6CFStnN7jse+pm
MFnBiygX1muXHq3ENUDdpWN1apsJXr272ZlGiGxMS4UoZ+bdx7+DR5LORmTF3wkhnnwm
4PWJQo1O3YGyza2giRPejJb3ksnFOqR6L/0upo2FtFpap0wsT8DTCfu5gBTYayPN7pXd
5uJgR5lIBOd1T16kSYIQofR73wIUnvSip6jpE8McsaP/Z3Nz0RDsuqME9Z8A3bezFqIB hWBg==
X-Gm-Message-State: ALoCoQnSrm6RTRjX7MYQrY+WkL7WoMaY75FKw7RTHC35npxYS+aUbyZ10PWSoPu7NaP/i0Om9S8BMDeq9Tstme20HR4KAIbKTRQrEt6Jfy0pDVvJPeQrpa5rH7LUHAdLPp39HMseMSB+MdLPCJoJj70e6j9fsM7Q5J2QtTsYd6TKXX1tRJdux241geJ+86k0y+TngEd9Zo8c
MIME-Version: 1.0
X-Received: by 10.52.182.39 with SMTP id eb7mr3485033vdc.6.1384517996200;
Fri, 15 Nov 2013 04:19:56 -0800 (PST)
Received: by 10.52.111.230 with HTTP; Fri, 15 Nov 2013 04:19:56 -0800 (PST)
In-Reply-To: <831693C2CDA2E849A7D7A712B24E257F492D5C6D@BRN1WNEXMBX01.vcorp.ad.vrsn.com>
References: <5284EE10.5020809@knipp.de>
<FE61FDF5-1A84-49FE-AF85-463317EF0BDC@verisign.com>
<CAAHh_-L2Zopu=LygHbUzgHhWs9N3i8tfWLif2yJraxbYCF-JGg@mail.gmail.com>
<831693C2CDA2E849A7D7A712B24E257F492D517E@BRN1WNEXMBX01.vcorp.ad.vrsn.com>
<5285E2E8.7020304@knipp.de>
<831693C2CDA2E849A7D7A712B24E257F492D5C6D@BRN1WNEXMBX01.vcorp.ad.vrsn.com>
Date: Fri, 15 Nov 2013 07:19:56 -0500
Message-ID: <CAAHh_-J8LBvyUwAcvzBNV8G-kwgDZZs+sPReHPhBxG=ZbjqGHA@mail.gmail.com>
From: Seth Goldman <sethamin@google.com>
To: "Hollenbeck, Scott" <shollenbeck@verisign.com>
Content-Type: multipart/alternative; boundary=bcaec547ca8d596b0004eb3637c9
Cc: IETF Provreg Mailing List <provreg@ietf.org>
Subject: Re: [provreg] RFC 5733: street changes with contact:update
X-BeenThere: provreg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: EPP discussion list <provreg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/provreg>,
<mailto:provreg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/provreg>
List-Post: <mailto:provreg@ietf.org>
List-Help: <mailto:provreg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/provreg>,
<mailto:provreg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Nov 2013 12:19:57 -0000
On Fri, Nov 15, 2013 at 6:46 AM, Hollenbeck, Scott <shollenbeck@verisign.com > wrote: > > -----Original Message----- > > From: Klaus Malorny [mailto:Klaus.Malorny@knipp.de] > > Sent: Friday, November 15, 2013 4:01 AM > > To: Hollenbeck, Scott; Seth Goldman > > Cc: IETF Provreg Mailing List > > Subject: Re: [provreg] RFC 5733: street changes with contact:update > > > > On 14.11.2013 19:48, Hollenbeck, Scott wrote: > > > I don’t know how one can make a case that sub-element replacement is > > acceptable. > > > Section 3.2.5 of RFC 5733 says this (emphasis mine): > > > > > > “The EPP <update> command provides a transform operation that allows > > a client to > > > modify the attributes of a contact _/object/_.” > > > > > > and this: > > > > > > “An OPTIONAL <contact:chg> element that contains _/object attribute > > values to be > > > changed/_.” > > > > > > The <update> is thus focused on _/changing/_ the attributes of the > > _/object/_. > > > In the example Klaus provided, the command received is “replace the > > existing > > > <contact:postalInfo> attribute with a new instance of > > <contact:postalInfo>”. The > > > server failed to replace the two <street> elements with the single > > element > > > provided in the <update>. It shouldn’t work that way. > > > > > > Scott > > > > > > > Hi Scot, Seth, > > > > up to now I regarded the name, the organization and the the whole > > address block > > as the replacable units, derived from the associated XML schema. It > > namely > > contains two datatypes, "postalInfoType" for the create command and > > "chgPostalInfoType" for the update command. The first contains the > > <name> and > > <addr> elements as mandatory elements, the latter contains them as > > optional > > elements. If one would consider the postalInfo itself as the replacable > > unit, it > > would not make sense to enforce the name and address on <create>, but > > would > > allow to remove them with a following <update> request. > > > > So simply asked: What does the following schema-wise legal request do? > > > > <contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"> > > <contact:id>C20131114-01</contact:id> > > <contact:chg> > > <contact:postalInfo type="int"/> > > </contact:chg> > > </contact:update> > > > > Does it clear the international contact? Does it leave the > > international postal > > data simply unchanged (aside from being illegal in Scot's view to > > submit a > > command that is effectively non-modifying). Does the following command > > Go back to what I was trying to say yesterday: <chg> means "replace > existing with new". So yes, it would change the international postal info > to "empty". > > > <contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"> > > <contact:id>C20131114-01</contact:id> > > <contact:chg> > > <contact:postalInfo type="int"> > > <contact:org>ACME Solutions</contact:org> > > </contact:postalInfo> > > </contact:chg> > > </contact:update> > > > > modify the postal info so that it *solely* contains the organization > > and nothing > > else afterwards? > > Assuming all other schema requirements are met, yes. > I believe Klaus's point is that under this interpretation, the schema allows you to update a postalInfo to a version that would not be allowed in a create. I still think your interpretation of the replace semantics is correct. But the schema is inconsistent, so it's understandable to interpret it otherwise. > > Scott > _______________________________________________ > provreg mailing list > provreg@ietf.org > https://www.ietf.org/mailman/listinfo/provreg >
- [provreg] RFC 5733: street changes with contact:u… Klaus Malorny
- Re: [provreg] RFC 5733: street changes with conta… Hollenbeck, Scott
- Re: [provreg] RFC 5733: street changes with conta… Seth Goldman
- Re: [provreg] RFC 5733: street changes with conta… Hollenbeck, Scott
- Re: [provreg] RFC 5733: street changes with conta… 齐超
- Re: [provreg] RFC 5733: street changes with conta… Klaus Malorny
- Re: [provreg] RFC 5733: street changes with conta… Klaus Malorny
- Re: [provreg] RFC 5733: street changes with conta… 齐超
- Re: [provreg] RFC 5733: street changes with conta… Hollenbeck, Scott
- Re: [provreg] RFC 5733: street changes with conta… Seth Goldman
- Re: [provreg] RFC 5733: street changes with conta… James Mitchell
- Re: [provreg] RFC 5733: street changes with conta… Gould, James
- Re: [provreg] RFC 5733: street changes with conta… Klaus Malorny