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://www.ietf.org/mailman/listinfo/regext