-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #414 from CycloneDX/issue_408_extensibleTypes
Add extensible types during license serialization
- Loading branch information
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/test/resources/regression/issue408-extensible-type.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bom serialNumber="urn:uuid:7fec5e81-b204-4eec-a0d6-383dc39c4867" version="1" xmlns="http://cyclonedx.org/schema/bom/1.5"> | ||
<components> | ||
<component type="library" bom-ref="NPM:@ort:concluded-license:1.0"> | ||
<name>concluded-license</name> | ||
<version>1.0</version> | ||
<licenses> | ||
<license> | ||
<id>MIT</id> | ||
<abc:test xmlns:abc="http://www.w3.org/1999/xhtml">test</abc:test> | ||
</license> | ||
<license> | ||
<name>MIT WITH Libtool-exception</name> | ||
<abc:test xmlns:abc="http://www.w3.org/1999/xhtml">test1</abc:test> | ||
</license> | ||
</licenses> | ||
<purl>pkg:npm/%40ort/[email protected]?classifier=sources</purl> | ||
<abc:info xmlns:abc="http://www.w3.org/1999/xhtml">test</abc:info> | ||
</component> | ||
</components> | ||
</bom> |