Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In contact:addrType the elements sp, pc (contact::Address fields province, postal_code) are optional #96

Open
kmkaplan opened this issue Mar 30, 2023 · 3 comments

Comments

@kmkaplan
Copy link

The elements sp, pc are optional but the struct Address in module contact makes them compulsory.

Here is the schema definition from RFC 5733, page 31

<complexType name="addrType">
  <sequence>
    <element name="street" type="contact:optPostalLineType"
     minOccurs="0" maxOccurs="3"/>
    <element name="city" type="contact:postalLineType"/>
    <element name="sp" type="contact:optPostalLineType"
     minOccurs="0"/>
    <element name="pc" type="contact:pcType"
     minOccurs="0"/>
    <element name="cc" type="contact:ccType"/>
  </sequence>
</complexType>

Should I fix this and submit PR?

@djc
Copy link
Collaborator

djc commented Mar 30, 2023

Hi @kmkaplan, so we (@InstantDomain) did most of the maintenance on epp-client for the past year or so. Recently we decided to fork it under the instant-epp name, where we changed the library completely to rely on a new deserialization/serialization library for XML that we built called instant-xml. As such, we will no longer be spending time on epp-client, but if you're interested in trying out instant-epp (I'm curious what you're using this for!) we'd be happy to take your PRs there.

@kmkaplan
Copy link
Author

@djc Thanks for the redirect, I'll have a look at instant-epp.

@djc
Copy link
Collaborator

djc commented Mar 30, 2023

(FWIW, the fork is still young so it likely has many of the same data model issues as epp-client, though I think it might be better at dealing with different ways of encoding XML namespaces.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants