Re: [sacm] [sacmwg/draft-ietf-sacm-coswid] are SWID and CoSWID isomorphic? (#27)

Thomas Fossati <notifications@github.com> Thu, 29 October 2020 14:40 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 548C33A011D for <sacm@ietfa.amsl.com>; Thu, 29 Oct 2020 07:40:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.009
X-Spam-Level:
X-Spam-Status: No, score=-2.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_16=1.092, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] 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 ng3tmgUlC6vX for <sacm@ietfa.amsl.com>; Thu, 29 Oct 2020 07:40:26 -0700 (PDT)
Received: from out-26.smtp.github.com (out-26.smtp.github.com [192.30.252.209]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4EE763A0112 for <sacm@ietf.org>; Thu, 29 Oct 2020 07:40:26 -0700 (PDT)
Received: from github.com (hubbernetes-node-b75a562.ash1-iad.github.net [10.56.115.19]) by smtp.github.com (Postfix) with ESMTPA id 696015E0F43 for <sacm@ietf.org>; Thu, 29 Oct 2020 07:40:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1603982425; bh=tigOajSH9wUvJ9wZCVjmvEmVOX5pfa92ztJw3B6dKVs=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=w+oEARAFNgLxLSxZ24276BN4J/oQBWVuDb8/OWOYFZCvll5rkHS420CSdAYtzNEoM wzZUDt8cevl7Zxp7dc6M9xeOmy6dk8vtV0q451gmNXXQm9NKgyVTnGPeYMLIZLZiVN b0cWfoc1uklZNzhEi58aVHLeMYQzcscOHKtxgjAM=
Date: Thu, 29 Oct 2020 07:40:25 -0700
From: Thomas Fossati <notifications@github.com>
Reply-To: sacmwg/draft-ietf-sacm-coswid <reply+ACTMJUOK2PMDNE7Z4VJCH4F5U22VTEVBNHHCVTIOG4@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/27/718797703@github.com>
In-Reply-To: <sacmwg/draft-ietf-sacm-coswid/issues/27@github.com>
References: <sacmwg/draft-ietf-sacm-coswid/issues/27@github.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5f9ad4596511e_4319b489450"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: thomas-fossati
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/nBYKWVfSUj_bqJ1oflDv9rEMd40>
Subject: Re: [sacm] [sacmwg/draft-ietf-sacm-coswid] are SWID and CoSWID isomorphic? (#27)
X-BeenThere: sacm@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 29 Oct 2020 14:40:27 -0000

Since the use of `choice` in the SWID xsd looks like a misprint, and that it's contradicted by the spec [1], wouldn't it be better to make that explicit in the CDDL?  I.e.,:
```
payload-or-evidence //= ( payload => payload-entry )
payload-or-evidence //= ( evidence => evidence-entry )
```

[1] ISO/IEC 19770-2:2015, Section 8.5.3 and Section 8.5.6 (which might also contain another typo)

-- 
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/27#issuecomment-718797703