Skip to content

xml misses object namespace in domain and contact xml #1

@omcnet

Description

@omcnet

According to rfc5730-5732 elements below the specific command tag should have
the object type as namespace:

RFC example:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <command> <check> <obj:check xmlns:obj="urn:ietf:params:xml:ns:obj"> <obj:name>example1</obj:name> [...] </obj:check> </check> [...] </command> </epp>

Currently the domain and contact objects create xml without the
"obj" namespace. This causes xml validation errors with various registries.

According to rfc 5731 the domain check xml should look like this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <command> <check> <domain:check xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> <domain:name>example.com</domain:name> <domain:name>example.net</domain:name> [...] </domain:check> </check> <clTRID>ABC-12345</clTRID> </command> </epp>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions