sacmwg / draft-ietf-sacm-coswid

Concise Software Identifiers
Other
2 stars 5 forks source link

Express enumerations that are not defined in the current XSD but per nomartive text explictitly via cddl rules #5

Closed henkbirkholz closed 5 years ago

henkbirkholz commented 6 years ago

There still might be a few cases left, where the value is text, but semantically it is a type-choice / enumeration. This should be double checked before meeting 102.

henkbirkholz commented 6 years ago

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.

henkbirkholz commented 6 years ago

Addressed (with the exception of https://github.com/sacmwg/draft-ietf-sacm-coswid/issues/6). Leaving this open to be closed at SACM WG session in BKK.