Re: [ire] rdeDomain-1.0.xsd in objects-mapping-03 doc

John Keating <jkeating@afilias.info> Wed, 24 April 2013 18:57 UTC

Return-Path: <jkeating@afilias.info>
X-Original-To: ire@ietfa.amsl.com
Delivered-To: ire@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 99AD621F8F08 for <ire@ietfa.amsl.com>; Wed, 24 Apr 2013 11:57:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level:
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dz0WajbKOGo8 for <ire@ietfa.amsl.com>; Wed, 24 Apr 2013 11:57:38 -0700 (PDT)
Received: from outbound.afilias.info (outbound.afilias.info [66.199.183.4]) by ietfa.amsl.com (Postfix) with ESMTP id E141621F8EF5 for <ire@ietf.org>; Wed, 24 Apr 2013 11:57:37 -0700 (PDT)
Received: from ms5.on1.afilias-ops.info ([10.109.8.9] helo=smtp.afilias.info) by outbound.afilias.info with esmtp (Exim 4.69) (envelope-from <jkeating@afilias.info>) id 1UV4sr-0000pc-4u for ire@ietf.org; Wed, 24 Apr 2013 18:57:37 +0000
Received: from mail-ea0-f199.google.com ([209.85.215.199]) by smtp.afilias.info with esmtps (TLSv1:RC4-SHA:128) (Exim 4.72) (envelope-from <jkeating@afilias.info>) id 1UV4sr-0008Sr-47 for ire@ietf.org; Wed, 24 Apr 2013 18:57:37 +0000
Received: by mail-ea0-f199.google.com with SMTP id h14so2792104eak.10 for <ire@ietf.org>; Wed, 24 Apr 2013 11:57:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=zhJMmKMSGtVEUK1W3UCJn6LJ/mG1ALnfOldqH1ebSmw=; b=M7D+hTUblVEHDan7rWcw74cgh32iHXaKFMJSXYfQ7dt3xBc2smE4mLIT1TlrjpoXHc ynQ6/yBo7Mf60sgvp8eddjYZgI+hVigxmN+wcju5aMNhFlARUvNppiontYsPuNwQZKpa EEF6JaVbpnlMZhNE0OO/SZpsQWEtHn/yuQf7rC6heMjT1wj8Z8pSVs8vOrRJusjQvRCY UGfbPf6HaFdHqkJpGXj+ruBZD92CV6yVbnw0noRvNCOGP0d0WrOgAhfKodkOUucCOnTn Tck6uhm3IGs5PZ1g44p4ftmU2wz7uPCZlkwskMt0K1Y6Ip/C1AB0dznX3JtLBlwh2UcT Uw2Q==
X-Received: by 10.14.9.71 with SMTP id 47mr21954321ees.21.1366829851165; Wed, 24 Apr 2013 11:57:31 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.14.9.71 with SMTP id 47mr21954306ees.21.1366829851080; Wed, 24 Apr 2013 11:57:31 -0700 (PDT)
Received: by 10.223.84.196 with HTTP; Wed, 24 Apr 2013 11:57:30 -0700 (PDT)
In-Reply-To: <CAAypqNANeJfqqmW67eZP3AKooUfeUQpvtbYrRhVoSd1bzq1_VQ@mail.gmail.com>
References: <CAAypqNANeJfqqmW67eZP3AKooUfeUQpvtbYrRhVoSd1bzq1_VQ@mail.gmail.com>
Date: Wed, 24 Apr 2013 14:57:30 -0400
Message-ID: <CAAypqNBB4r+6paDpZn6gYbxoK65_q9JeziqF0m6ZwDm_qjjerg@mail.gmail.com>
From: John Keating <jkeating@afilias.info>
To: ire@ietf.org
Content-Type: multipart/alternative; boundary=001a11c277b6be29d904db1fdfc3
X-Gm-Message-State: ALoCoQlhdIVhFhLm3NhxeTBWdB72OO6LDZ/rPl+0j839JoMxcX17oPVaV6uplpLqLYAdsBXv6hRrKnpBLqdEUIvn22DdhJNeVCiG1EA6klmaeS/bkStw7vb3TfiJbPT5gEiG00JuVEIS
Subject: Re: [ire] rdeDomain-1.0.xsd in objects-mapping-03 doc
X-BeenThere: ire@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Internet Registration Escrow discussion list." <ire.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ire>, <mailto:ire-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ire>
List-Post: <mailto:ire@ietf.org>
List-Help: <mailto:ire-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ire>, <mailto:ire-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Apr 2013 18:57:38 -0000

An error in my post:

"This gives a validation error for the first <rde:Dom:domain> in the file:"

Our xml does NOT contain the tag:  <rde:Dom:domain>; it's <rdeDom:domain>
as it should be.



On Wed, Apr 24, 2013 at 1:56 PM, John Keating <jkeating@afilias.info>; wrote:

> The domain xsd is different from the other types (registrar, contact,
> host, etc).
>
> All of the xsd files for the other types start their definition like this
> contact example:
>
>    <annotation>
>      <documentation>
>        Registry Data Escrow contact provisioning schema
>      </documentation>
>    </annotation>
>
>    <element name="abstractContact" type="rdeContact:abstractContentType"
>      substitutionGroup="rde:content" abstract="true"/>
>    <element name="contact"
>      substitutionGroup="rdeContact:abstractContact"/>
>    <element name="delete" type="rdeContact:deleteType"
>      substitutionGroup="rde:delete"/>
>
>
> However, the domain xsd starts its definition like this, with no
> substitutionGroup for the abstractDomain:
>
>    <annotation>
>      <documentation>
>        Registry Data Escrow Domain provisioning schema
>      </documentation>
>    </annotation>
>
>    <element name="abstractDomain" type="rdeDomain:abstractContentType"/>
>    <element name="domain" substitutionGroup="rdeDomain:abstractDomain"/>
>    <element name="delete" type="rdeDomain:deleteType"
>      substitutionGroup="rde:delete"/>
>
> This gives a validation error for the first <rde:Dom:domain> in the file:
>
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'rdeDom:domain'. One of '{"urn:ietf:params:xml:ns:rde-1.0":content}' is
> expected.
>
> If I change the domain xsd so that it looks like all of the other types:
>
> <element name="abstractDomain" type="rdeDomain:abstractContentType"/>
>
> becoming:
>
> <element name="abstractDomain" type="rdeDomain:abstractContentType"
>   substitutionGroup="rde:content" abstract="true"/>
>
> Then the xml output (which matches the examples) passes validation.
>
> Has anyone else run into this?
>
>
>