InfoDomain: wrong xPath for eurid extensions
f4810 opened this issue · comments
Hi,
in file authInfo-1.1/eppResponses/euridEppInfoDomainResponse.php the functions getQuarantined and getOnHold have both a worng path.
Must be something like:
'/epp:epp/epp:response/epp:extension/domain-ext:infData/domain-ext:quarantined'
and
'/epp:epp/epp:response/epp:extension/domain-ext:infData/domain-ext:onHold'
This is the actual response from eurid:
<extension>
<domain-ext-2.3:infData>
<domain-ext-2.3:onHold>false</domain-ext-2.3:onHold>
<domain-ext-2.3:quarantined>true</domain-ext-2.3:quarantined>
<domain-ext-2.3:suspended>false</domain-ext-2.3:suspended>
<domain-ext-2.3:seized>false</domain-ext-2.3:seized>
<domain-ext-2.3:availableDate>2021-07-11T10:35:00.000Z</domain-ext-2.3:availableDate>
<domain-ext-2.3:deletionDate>2021-06-01T10:35:05.113Z</domain-ext-2.3:deletionDate>
...
It seems that these functions should have a place in the domain-ext-2.3 extension, and not in de authInfo-1.1 extension.
Added a commit today to address this issue.