Skip to content

Clean up isDeprecated values #1864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions DOCS/xml-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ There are two additional attributes which are optional, but highly encouraged:
* `listVersionAdded`: in which release version of the SPDX License List was the license first added, e.g. "3.19".
* Typically you'll check the currently-released version at https://spdx.org/licenses/ and increment the minor version by 1 for a new license.

Finally, if the license ID has been deprecated, two additional attributes should be included:
* `isDeprecated`: should be "true" if the license ID is deprecated
Finally, if the license ID has been deprecated, one additional attribute should be included:
* `deprecatedVersion`: in which release version of the SPDX License List was the license first marked as deprecated, e.g. "3.19"

Note that the deprecated tags refer to whether the ID has been deprecated _by SPDX_ -- in other words, if the SPDX Legal Team no longer recommends that the identifier should be used. Licenses that have been described as "deprecated" or "superseded" by the _license author_ might no longer be recommended to use for new code, but their identifiers remain valid License IDs on the SPDX License List.
Expand Down
10 changes: 0 additions & 10 deletions schema/ListedLicense.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
<element name="text" type="tns:formattedAltTextType" minOccurs="0" maxOccurs="1"/>
</all>
<attribute name="licenseId" type="string" use="required" />
<attribute name="isDeprecated" type="boolean"/>
<attribute name="name" type="string" use="required" />
<attribute name="listVersionAdded" type="string"/>
<attribute name="deprecatedVersion" type="string"/>
Expand Down Expand Up @@ -110,15 +109,6 @@
</documentation>
</annotation>
</attribute>
<attribute name="isDeprecated" type="boolean">
<annotation>
<documentation xml:lang="en">
<xhtml:p>
<xhtml:code>isDeprecated</xhtml:code> is true if and only if the short identifier has been superseded by another. See the <xhtml:code>deprecatedVersion</xhtml:code> documentation for more details.
</xhtml:p>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation xml:lang="en">
Expand Down