[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">
      <contact:create xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0">
        <contact:postalInfo type="loc">
          <contact:pw />
        <contact:disclose flag="0">
          <contact:voice />
          <contact:email />
      <dkhm:userType xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.0">individual</dkhm:userType>

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*

Tom Sommer
UnoEuro Webhosting
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