Re: [sacm] [sacmwg/draft-ietf-sacm-coswid] Express enumerations that are not defined in the current XSD but per nomartive text explictitly via cddl rules (#5)

Henk Birkholz <notifications@github.com> Fri, 08 June 2018 16:02 UTC

Return-Path: <noreply@github.com>
X-Original-To: sacm@ietfa.amsl.com
Delivered-To: sacm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D340130F08 for <sacm@ietfa.amsl.com>; Fri, 8 Jun 2018 09:02:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.01
X-Spam-Level:
X-Spam-Status: No, score=-8.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xz18ZX2plUr7 for <sacm@ietfa.amsl.com>; Fri, 8 Jun 2018 09:02:29 -0700 (PDT)
Received: from out-3.smtp.github.com (out-3.smtp.github.com [192.30.252.194]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8071D130FC5 for <sacm@ietf.org>; Fri, 8 Jun 2018 09:02:29 -0700 (PDT)
Date: Fri, 08 Jun 2018 09:02:28 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1528473748; bh=U2kAmFQft7H2tQNkRx+Xsktlx3upy/IeHoBtxevbPUQ=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=1LUaO8oShgqcoKwTA5D4Ch5iDbccRd/WctDySQ8nwDjm21pklzC6iV3j5TMsGRsTD b1pRFunKSKq0ssG0r7UILYry8J+FZwwDPZGbMnAzZUCwqbjlfF1wbQqn58c2BLRlCp QMt8njvH3RYEZmioL2EAhvTp9LMwo9IvEL+s4Q7Y=
From: Henk Birkholz <notifications@github.com>
Reply-To: sacmwg/draft-ietf-sacm-coswid <reply+00a6c4d1747bd012e9898f20dbcc43d67012a8073f60fc6392cf0000000117326a9492a169ce13b631af@reply.github.com>
To: sacmwg/draft-ietf-sacm-coswid <draft-ietf-sacm-coswid@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <sacmwg/draft-ietf-sacm-coswid/issues/5/395807739@github.com>
In-Reply-To: <sacmwg/draft-ietf-sacm-coswid/issues/5@github.com>
References: <sacmwg/draft-ietf-sacm-coswid/issues/5@github.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b1aa894aae49_b1f53fcc76c38f8414019a"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: henkbirkholz
X-GitHub-Recipient: sacm
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: sacm@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/sacm/ZzJLzD-1Y3cgCe5GHiIpvMKiqpI>
Subject: Re: [sacm] [sacmwg/draft-ietf-sacm-coswid] Express enumerations that are not defined in the current XSD but per nomartive text explictitly via cddl rules (#5)
X-BeenThere: sacm@ietf.org
X-Mailman-Version: 2.1.26
List-Id: SACM WG mail list <sacm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sacm>, <mailto:sacm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sacm/>
List-Post: <mailto:sacm@ietf.org>
List-Help: <mailto:sacm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sacm>, <mailto:sacm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jun 2018 16:02:32 -0000

Used role (label 33) & rel (label 40) as proposal by example. The roles & rels type-choices still require an extension-point, I assume.

media (label 10) is currently a text value with a semantic that is a tad bit more complex than a type-choice: "EXPRESSION [[OPERATOR] [EXPRESSION] ... ]", where EXPRESSION can be a simple type-choice.... or ... "([PREFIX-]ENVIRONMENT.ATTRIBUTE:VALUE)" ... and so on and on....

I propose to deal with.... that in cddl, too. 

Also, the definition of rel seems to be wrong at the moment, as every SWID enumeration is actually NOT defined in https://www.iana.org/assignments/link-relations/link-relations.xhtml

This needs fixing.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/sacmwg/draft-ietf-sacm-coswid/issues/5#issuecomment-395807739