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

SPDX XML format needs review (and schema)

Open goneall opened this issue 5 years ago • 3 comments

The XML schema example follows the same pattern as the JSON and YAML formats. It is not clear if the result is acceptable to a typical XML producer or consumer.

We would like users of the XML format and those with XML / XSD expertise to review the example.

Ideally we would create a schema consistent with the final version of the XML example.

goneall avatar Mar 17 '20 18:03 goneall

From discussion, we're going to mark the XML as beta, since we haven't had a good review. Gary to submit a note indicating its beta quality.

kestewart avatar Apr 07 '20 17:04 kestewart

@kaushal-khurana Take a look at the XML example and see if it looks like a reasonable XML representation of and SPDX document. You can find other formats of the same document in the examples directory.

Feel free to add any issues to this repo for any suggested improvements.

If you want to take on creating an XSD, you can create a pull request to this repo.

Also, FYI, the XML file is generated by the tools-java. The specific code can be found here: https://github.com/spdx/spdx-java-jackson-store/blob/master/src/main/java/org/spdx/jacksonstore/JacksonDeSerializer.java

goneall avatar Jul 16 '21 14:07 goneall

Moving to 3.1 where we will consider additional serialization formats.

goneall avatar Apr 04 '24 17:04 goneall