[EPP-discuss] Create Contact error; EPP documentation

From: Tom Sommer <ts_at_zitcom.dk>
Date: Mon, 3 Mar 2014 12:07:23 +0000

So I finally decided to have a look at the EPP system.

I get the error

XSD Validation failed Element &apos;{urn:dkhm:params:xml:ns:dkhm-1.0}userType&apos;: No matching global element declaration available, but demanded by the strict wildcard.

When trying to create a contact. I followed the documentation:

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
  <command>
    <create>
      <contact:create xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0">
        <contact:id>auto</contact:id>
        <contact:postalInfo type="loc">
          <contact:name>XXXX</contact:name>
          <contact:addr>
            <contact:street>XXXX</contact:street>
            <contact:city>XXX</contact:city>
            <contact:pc>XXXX</contact:pc>
            <contact:cc>XXXX</contact:cc>
          </contact:addr>
        </contact:postalInfo>
        <contact:voiceXXXX</contact:voice>
       <contact:email>XXXXX</contact:email>
        <contact:authInfo>
          <contact:pw />
        </contact:authInfo>
        <contact:disclose flag="0">
          <contact:voice />
          <contact:email />
        </contact:disclose>
      </contact:create>
    </create>
    <extension>
      <dkhm:userType xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.0">individual</dkhm:userType>
    </extension>
    <clTRID>UNOEURO-EPP-20140303T125603-53146dd3815f1</clTRID>
  </command>
</epp>

So either I missed something or the documentation is not up to date. Any hints?

Oh, and I love all the "Internal error" messages, so very helpful an error message if I ever saw one.
Also nice that you cannot do <contact:voice x=''> which basically fucks up the parser ... *shrug*

Thanks
--
Tom Sommer
UnoEuro Webhosting
http://www.unoeuro.com
Received on Mon Mar 03 2014 - 13:07:23 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 06 2015 - 11:39:23 CET