spdx-online-tools icon indicating copy to clipboard operation
spdx-online-tools copied to clipboard

Fixing the issue of striping attributes when beautify

Open BanulaKumarage opened this issue 1 year ago • 3 comments

  • As mentioned in #398 attributes of the tag were missed when changing the tag from license to exception and beautify in the XML editor.
  • It was fixed by updating the ATTRS_SEQ list in formatlXml.py by adding exception with its allowed attributes.
  • In the Exception schema, standardLicenseHeader tag is not allowed. Therefore it is removed when submitting an exception.

GIF 2023-04-02 1-31-08 PM

BanulaKumarage avatar Apr 01 '23 12:04 BanulaKumarage

@jlovejoy Can you review this?

BanulaKumarage avatar Apr 01 '23 12:04 BanulaKumarage

@rtgdk - I'm not sure how the functionality for the "beautify" option works or if this is all that is needed to fix this issue. Can you please review??

jlovejoy avatar Apr 01 '23 15:04 jlovejoy

@BanulaKumarage @rtgdk - Should this be merged?

goneall avatar Jan 19 '24 19:01 goneall