spdx / LicenseListPublisher

Tool that generates license data found in the license-list-data repository from the license-list-XML source
Apache License 2.0
11 stars 18 forks source link

Explicitly disallow a non-empty text node in a list node #104

Closed m1kit closed 3 years ago

m1kit commented 3 years ago

See: https://github.com/m1kit/license-matcher-python/issues/1#issuecomment-851017637

m1kit commented 3 years ago

The list nodes in the current license list contains only text nodes consisting of spaces. Do we have to insert such spaces? Or just ignore them?

goneall commented 3 years ago

The list nodes in the current license list contains only text nodes consisting of spaces. Do we have to insert such spaces? Or just ignore them?

Since this is in a template, it probably doesn't matter since the matching algorithm ignores white space when comparing. I'm leaning towards including the spaces since they were in the original XML.

goneall commented 3 years ago

Resolved with PR #116