Look at the last paragraph in section 2.2.2 It is not an error if a name is first used with a "/=" or "//=" (there is no need to "create it" with "=").
Jim > -----Original Message----- > From: CBOR <[email protected]> On Behalf Of Michael Richardson > Sent: Tuesday, June 19, 2018 8:08 AM > To: [email protected] > Cc: [email protected] > Subject: [Cbor] CDDL-02 section 2.2.2 choices > > > In draft-ietf-anima-bootstrapping-keyinfra-15, we specify a protocol value > for GRASP. In this normative part of the document, there is only one choice, > but it is our intention to allow additional choices, as per section 2.2.2 of cddl- > 02. > > We think that we should specify our single "choice", using /=, rather than =, > as this should clue the reader in to expect multiple values here. > > From our document: > > transport-proto /= IPPROTO_TCP ; note this is an extensible CDDL choice > ; and can be added to in subsequent > ; specifications using the /= and //= > > It is unclear in section 2.2.2 if we can say foo /= without having said > foo = 1 / 2 / 3 > previously, but it seems like it should be reasonable to do in order to indicate > that implementations should expect future values. > > -- > Michael Richardson <[email protected]>, Sandelman Software Works > -= IPv6 IoT consulting =- > > _______________________________________________ Anima mailing list [email protected] https://www.ietf.org/mailman/listinfo/anima
