Adapt test samples to ensure consistency between the different formats
Closes: https://github.com/CycloneDX/specification/issues/513
At the moment, with all fixes to the library, only 2 of the consistency checks in https://github.com/CycloneDX/cyclonedx-dotnet-library/pull/331 fail:
- valid-bom-1.6: significant changes in the content between xml and JSON; I wasn't sure how to best adapt it
- valid-license-expression-1.6: license expression can't have a bom-ref currently in protobuf (https://github.com/CycloneDX/specification/issues/515)
the blocking issues were solved. feel free to rebase/merge, your work is appreciated very much.
@jkowalleck Like this all the consistency tests would be passing. Do you know why the Java test are failing? (I didn't touch valid-standard-1.6.xml nor valid-component-data-1.6.xml; but I see that it fails also on master.)
Do you know why the Java test are failing?
we've updated the XML schema, and it is not reflected by the java tests due to https://github.com/CycloneDX/specification/issues/256
received no negative feedback from community. so we assume all are cool with the proposed changes to the test data.
thank you for your contribution, @andreas-hilti !