+1, the element under the command element is a single element based on the
commandType definition in the XML schema, so having several commands under the
<epp><command> element is not compliant. I include the relevant element
definitions from "epp-1.0.xsd" below for reference:
<element name="epp" type="epp:eppType"/>
<complexType name="eppType">
<choice>
<element name="greeting" type="epp:greetingType"/>
<element name="hello"/>
<element name="command" type="epp:commandType"/>
<element name="response" type="epp:responseType"/>
<element name="extension" type="epp:extAnyType"/>
</choice>
</complexType>
<complexType name="commandType">
<sequence>
<choice>
<element name="check" type="epp:readWriteType"/>
<element name="create" type="epp:readWriteType"/>
<element name="delete" type="epp:readWriteType"/>
<element name="info" type="epp:readWriteType"/>
<element name="login" type="epp:loginType"/>
<element name="logout"/>
<element name="poll" type="epp:pollType"/>
<element name="renew" type="epp:readWriteType"/>
<element name="transfer" type="epp:transferType"/>
<element name="update" type="epp:readWriteType"/>
</choice>
<element name="extension" type="epp:extAnyType"
minOccurs="0"/>
<element name="clTRID" type="epp:trIDStringType"
minOccurs="0"/>
</sequence>
</complexType>
--
JG
James Gould
Fellow Engineer
[email protected]
<applewebdata://13890C55-AAE8-4BF3-A6CE-B4BA42740803/[email protected]>
703-948-3271
12061 Bluemont Way
Reston, VA 20190
Verisign.com <http://verisigninc.com/>
On 10/20/22, 6:26 AM, "regext on behalf of Thomas Corte (TANGO support)"
<[email protected] on behalf of [email protected]> wrote:
Hello,
On 10/20/22 12:06, Stephane Bortzmeyer wrote:
> We got a message from a registrar saying that having several commands
> under an <epp> element is legal:
>
> <epp>
> <command>
> <create>
> ...
> </create>
> <update>
> ...
>
> and that "it works with all the other registries".
>
> XML schema is difficult to read but RFC 5730, section 2.5 uses the
> singular to talk about the command. So, my opinoion is that the
> registrar is wrong. Advices?
The sequence in "commandType" contains
<choice>
<element name="check" type="epp:readWriteType"/>
<element name="create" type="epp:readWriteType"/>
<element name="delete" type="epp:readWriteType"/>
<element name="info" type="epp:readWriteType"/>
<element name="login" type="epp:loginType"/>
<element name="logout"/>
<element name="poll" type="epp:pollType"/>
<element name="renew" type="epp:readWriteType"/>
<element name="transfer" type="epp:transferType"/>
<element name="update" type="epp:readWriteType"/>
</choice>
As minOccurs and maxOccurs on <choice> both default to 1, exactly one of
these elements must occur. So the wording is backed by the formal syntax.
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: [email protected]
Germany
_______________________________________________
regext mailing list
[email protected]
https://secure-web.cisco.com/1rlIOBehXSbRLD8SdF7eTFLmgWk8Gd-lIhn1mXDQsQQWJ5OcL94qZd5p8yP6P_59d37v8VLYeyX1_lWE17q6an9jNlMVoPp54nQeJhHEfFAq5OoNTGLDmw4X7NX3Pqoa-Fy5U1yiyeyjWep_JmqeWF058NjcoGQJjE7LtmRBn4NbuPfMbeZUfA3SR-8QEzuIMkFqMTzqX7ka59-uyO6nD3KJYnGrrakVwDqxsvKhR4DpyJ88df7LBDh7gRpInlht5/https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fregext
_______________________________________________
regext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/regext