AfriCC/php-epp2

dash in attribute

tito10047 opened this issue · 8 comments

I need add custom attribute with dash.
like:

$frame->set("contact:ident[@legal-form='PERS']", '30.3.1911');

But is throw Uncaught DOMException: Namespace Error
please add support fo dash

sk-nic.sk registrar
here is api
https://sk-nic.sk/wp-content/uploads/2017/08/EPP_dokumentacia.pdf
section 2.5.2 . on page 23 is example

[edit] added correct link

its in slovak language.
here is translated with translator

The element <contact: ident> indicating the legal form of the User. For a natural person (constant "PERS") is given
date of birth and for the legal entity (constant "CORP") the identification number of the organization is given. For Slovak
for legal entities, the registration number is given here, for foreign legal entities the equivalent of the relevant official register. A date
birth for natural persons is entered in the form DD.MM.YYYY, for example 01.01.1987.

Thank you. I'll try to whip something up for you in next couple days if you don't mind.

Im sory. Im look into old unsuported decumentation.
Now its doing with extensions https://sk-nic.sk/epp/commands/#pr%C3%ADkaz-lt-create

You can create PR for sk extensions :)

what you mean "PR"