#12 Bug in EPPLogout.java

RTK 0.3.3


you already may have gotten this bug-report from
Afilias technical support or Liberty directly; but
anyway here it is:

The bug occurs in EPP-RTK 0.3.3 as well as in EPP-RTK
0.3.4. It creates a XML-request for a logout with two
'<unspec/>'-tags. But only if you use a
EPPClient.logout(..) with a client-transaction-id not
equal to null, the resulting XML-string will not match
the defined EPP XML-schema (epp.xsd):

Case 1)
EPPClient.logout(null) creates
as output from EPPLogout.toXML(), which is correct
according to the XML-schema. As you can see in the
'epp.xsd'-file, there's no 'maxOccurs'-attribute
for the unspec-element, ...

Case 2)
but if you specify a client-trans-id, e.g.
EPPClient.logout("ABC"), you will get XML-output of:
and that won't match the XML-schema.
In point of fact, the Registry will detect a syntax-
error in the XML-request and disconnects the clients!

You will find an attachment containing a possible fix
of this bug.

Yours sincerely,

Jens-Uwe Gaspar
Jens-Uwe Gaspar Schlund + Partner AG
E-Mail: jug@schlund.de Erbprinzenstr. 4 - 12
Tel. +49-721-91374-50 76133 Karlsruhe, Germany
Fax +49-721-91374-20 http://www.schlund.de


  • Daniel Manley

    Daniel Manley - 2001-06-27

    Logged In: YES

    fixed in version 1.5 of EPPLogout.java
    This will be released with 0.3.5 of the java rtk.

  • Daniel Manley

    Daniel Manley - 2001-06-27
    • status: open --> closed

Log in to post a comment.