Re: [sacm] [sacmwg/draft-ietf-sacm-coswid] can't use CDDL to validate seemingly valid CBOR (#29)

David Kemp <notifications@github.com> Thu, 18 February 2021 18:46 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 84E2B3A158A for <sacm@ietfa.amsl.com>; Thu, 18 Feb 2021 10:46:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.124
X-Spam-Level:
X-Spam-Status: No, score=-2.124 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.57, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_20=1.546, 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 hYWL3jctdBDX for <sacm@ietfa.amsl.com>; Thu, 18 Feb 2021 10:46:21 -0800 (PST)
Received: from smtp.github.com (out-17.smtp.github.com [192.30.252.200]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EAA023A158F for <sacm@ietf.org>; Thu, 18 Feb 2021 10:46:20 -0800 (PST)
Received: from github.com (hubbernetes-node-209780d.va3-iad.github.net [10.48.112.65]) by smtp.github.com (Postfix) with ESMTPA id 02DC85C0429 for <sacm@ietf.org>; Thu, 18 Feb 2021 10:46:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1613673980; bh=/DXayYODSPEIJ0RrxdWFH0evXB++5umF0Mv50UHz+H0=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=r6Hs3WDLKwLxMvr5Mx6McKGHDtRnS0WN3caYuq59R5koet+0RK/jWU6SA+3fwLO+J rZ39hQHft2EahKJDWXY7bwB0BQXYoWrGhkqPKcOzpTlH3NkFWV1Gx20LBlLAKwZJog iBi96PLbEQWSENTgiY7A9akQe9fJxxycUbOscwnU=
Date: Thu, 18 Feb 2021 10:46:19 -0800
From: David Kemp <notifications@github.com>
Reply-To: sacmwg/draft-ietf-sacm-coswid <reply+ACTMJUPNXAMCQEC2WT6BHRN6HKLPXEVBNHHCV7W7PY@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/29/781558027@github.com>
In-Reply-To: <sacmwg/draft-ietf-sacm-coswid/issues/29@github.com>
References: <sacmwg/draft-ietf-sacm-coswid/issues/29@github.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_602eb5fbf2651_531a5415305e"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: davaya
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/ENxH9gqAddiaGs0Xg6JZ5T6QUso>
Subject: Re: [sacm] [sacmwg/draft-ietf-sacm-coswid] can't use CDDL to validate seemingly valid CBOR (#29)
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, 18 Feb 2021 18:46:23 -0000

Extensibility can be viewed as error handling: an unrecognized attribute in a normal container is known bad, but in an extension-point container the application can search for a newer version of the same namespace or try to resolve a different namespace,  Successful resolution allows the attribute to be recognized and validated, unsuccessful raises the validation error.

I don't know how XML treats _namespace="##other"_, but it might require the specified namespace to resolve before validation succeeds.

-- 
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/29#issuecomment-781558027