Skip to content
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

Version 9.0.0 serialized licenses in XML as separate <licenses> tags #408

Closed
sschuberth opened this issue May 15, 2024 · 2 comments
Closed

Comments

@sschuberth
Copy link
Contributor

Our test in ORT fails after the upgrade to release 9.0.0 as that version seems to serialize licenses for the XML format differently that release 8.0.3 before:

  <licenses>
    <license>
      <id>MIT</id>
    </license>
    <license>
      <name>MIT WITH Libtool-exception</name><ort:origin xmlns:ort="http://www.w3.org/1999/xhtml">concluded license</ort:origin>
    </license>
  <licenses>

becomes now

  <licenses>
    <license>
      <id>MIT</id>
    </license>
  </licenses>
  <licenses>
    <license>
      <name>MIT WITH Libtool-exception</name><ort:origin xmlns:ort="http://www.w3.org/1999/xhtml">concluded license</ort:origin>
    </license>
  </licenses>

so each <license></license> pair is individually wrapped in a <licenses></licenses> pair, despite all licenses being listed in a single list as before.

@sschuberth
Copy link
Contributor Author

JSON serialization does not seem to be affected.

@sschuberth
Copy link
Contributor Author

Let's close this in favor of just keeping #409 as these two issues have the same root cause.

@sschuberth sschuberth closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant