instant-labs / instant-epp Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
For example domain::create::CreateData
implements FromXml
but does not implement ToXml
. I tried deriving it and it just works. Can I submit a pull request for all of these?
I think this field can be
pub created_at: Option<DateTime<Utc>>,
It would be nice to have support for RFC 5910 Domain Name System Security Extensions Mapping for the Extensible Provisioning Protocol.
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?
This was originaly filed as masalachai/epp-client#96
When the ext_uris
argument to Login::new()
is None
, Login
serializes to and XML document that is invalid against the EPP schema. That's because it outputs an empty <svcExtension/>
element, whereas the schema is:
<complexType name="loginSvcType">
<sequence>
<element name="objURI" type="anyURI"
maxOccurs="unbounded"/>
<element name="svcExtension" type="epp:extURIType"
minOccurs="0"/>
</sequence>
</complexType>
<complexType name="extURIType">
<sequence>
<element name="extURI" type="anyURI"
maxOccurs="unbounded"/>
</sequence>
</complexType>
That means that the <svcExtension>
element must contain at least one <extURI>
element, it can not be empty. To indicate no service extension the <svcExtension>
element should be omited.
Example of generated bogus XML:
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<login>
<clID>username</clID>
<pw>password</pw>
<options>
<version>1.0</version>
<lang>en</lang>
</options>
<svcs>
<objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:domain-1.0</objURI>
<svcExtension></svcExtension>
</svcs>
</login>
<clTRID>cltrid:1626454866</clTRID>
</command>
</epp>
This was originaly reported on masalachai/epp-client#94.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.