spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

'packages' in XML vs. 'package' in RDF

Open tsteenbe opened this issue 5 years ago • 4 comments

Found packages used in spdx.xml example, why is it not package like RDF?

https://github.com/spdx/spdx-spec/blob/development/v2.2.1/examples/SPDXXMLExample-v2.2.spdx.xml#L246-L256 vs. https://github.com/spdx/spdx-spec/blob/development/v2.2.1/examples/SPDXRdfExample-v2.2.spdx.rdf.xml#L1821-L1831

tsteenbe avatar Jun 16 '20 17:06 tsteenbe

Tend to agree - this is a general problem where we use the plural form for all the XML properties when in XML it should be singular.

goneall avatar Jun 23 '20 23:06 goneall

Since this is a change to XML which is not stable in 2.2, I'm moving this issue to 2.3

goneall avatar Mar 09 '22 21:03 goneall

@tsteenbe how important is this to be resolved in 2.3? I've got a pretty deep stack of 2.3 work to do before release.

goneall avatar May 18 '22 18:05 goneall

From call, unless someone cares about this XML and willing to generate a PR, move this to handle in 3.0

kestewart avatar May 24 '22 17:05 kestewart

In 3.0, we agreed all properties should be singular for all serializations which resolves this issue. Closing.

goneall avatar Apr 04 '24 17:04 goneall