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

WhoisObj:WhoisContactType is defined in a non-standard way #406

Open
rpiazza opened this issue Jan 7, 2016 · 0 comments
Open

WhoisObj:WhoisContactType is defined in a non-standard way #406

rpiazza opened this issue Jan 7, 2016 · 0 comments

Comments

@rpiazza
Copy link

rpiazza commented Jan 7, 2016

Here is the definition in the XSD for the contact_type attribute of WhoisObj:WhoisContactType

<xs:attribute name="contact_type">
xs:annotation
xs:documentationThe contact_type field specifies what type of contact this is. Only values from WhoisObj:RegistrarContactTypeEnum can be used./xs:documentation
/xs:annotation
xs:simpleType
<xs:restriction base="WhoisObj:WhoisContactTypeEnum"/>
/xs:simpleType
/xs:attribute

I’m not sure why this was so complex – can’t you just add type=”WhoisObj:WhoisContactTypeEnum” to the attribute tag?

Also the documentation – says “values from WhoisObj:RegistrarContactTypeEnum”. Given the rest of the definition and the fact that there is no such enumeration, this seems like a typo.

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

1 participant