AfriCC / php-epp2

A High Level EPP TCP/SSL Client for PHP
GNU General Public License v3.0
53 stars 32 forks source link

dash in attribute #87

Closed tito10047 closed 4 years ago

tito10047 commented 4 years ago

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

johnny-bit commented 4 years ago

Can you share which registrar you're using the lib with, required xml output (and preferably docs)?

wt., 31 gru 2019 o 13:22 Jozef Mostka notifications@github.com napisał(a):

I need add custom attribute with dash. like:

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

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AfriCC/php-epp2/issues/87?email_source=notifications&email_token=ACRRKFKDZMSJTPYEDQ6JTG3Q3M2RPA5CNFSM4KBVFER2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDPPNLQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRRKFKAXDIACI3LVQL5V43Q3M2RPANCNFSM4KBVFERQ .

-- Pozdrawiam, Hubert Kowalski

tito10047 commented 4 years ago

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

tito10047 commented 4 years ago

its in slovak language. here is translated with translator

The element 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.

johnny-bit commented 4 years ago

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

tito10047 commented 4 years ago

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

johnny-bit commented 4 years ago

You can create PR for sk extensions :)

tito10047 commented 4 years ago

what you mean "PR"

naja7host commented 4 years ago

Pull Requests

Le jeu. 9 janv. 2020 à 10:43, Jozef Mostka notifications@github.com a écrit :

what you mean "PR"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AfriCC/php-epp2/issues/87?email_source=notifications&email_token=AASZIL3R7MIBZENLV2L5RGDQ43WVFA5CNFSM4KBVFER2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIPU7IY#issuecomment-572477347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASZIL5H4JOQ5JQIQWGWWI3Q43WVFANCNFSM4KBVFERQ .