THE SPDX WIKI IS NO LONGER ACTIVE. ALL CONTENT HAS BEEN MOVED TO https://github.com/spdx
Difference between revisions of "Legal Team/Old/License Template Issues"
Line 8: | Line 8: | ||
<li>different spellings of same word: color vs colour</li> | <li>different spellings of same word: color vs colour</li> | ||
</ul> | </ul> | ||
+ | |||
+ | <h2>Whitespace normalization</h2> | ||
+ | |||
+ | <p>How to deal with whitespace repeation and newlines vs space vs tab</p> | ||
+ | |||
+ | <ol> | ||
+ | <li>replace all whitespace characters with SPACE</li> | ||
+ | <il>collapse repeated spaces to one space character</li> | ||
+ | </ol> | ||
+ | |||
+ | <h2>Replaceable parts</h2> | ||
+ | <p>Dealing with copyright owner, copyright year, etc.</p> | ||
+ | |||
+ | <p>Some sort of demarcation of replaceable elements in a license. These would be limited to a discrete list of supported element types. For example, year and copyright holder.</p> | ||
+ | |||
+ | <p>We could allow replaceable elements to be used in any license text at the risk of colliding with non-template parts of the license text. Alternatively, we could explicitly indicate that the license text of a particular licenses has replaceable elements. An explicit indication of templatization would allow us to simply not use replaceable elements for licenses which would have collisions. However, it would prevent us from templatizing licenses that would have collisions</p> | ||
+ | |||
+ | <p>Perhaps an esoteric template syntax would allow us to avoid the collision issue. Maybe something like "{{{YEAR}}}"?</p> | ||
+ | |||
+ | <h2>section/bullet numbering/lettering</h2> | ||
+ | <p>What if in one license a list has a,b,c and in another i,ii,iii?</p> | ||
+ | |||
+ | <p>this issue has not been explored</p> | ||
+ | |||
+ | <h2>Different spellings of same word</h2> | ||
+ | <p>color vs colour</p> | ||
+ | |||
+ | <p>Issue not dealt with. Perhaps a stemming algorithm of some sort?</p> |
Revision as of 17:14, 2 March 2011
Contents
Issues:
- whitespace: repeation, newlines vs space vs tab
- replaceable parts: copyright owner, copyright year, etc
paragraph rearrangement(consensus was that this is outside the scope of templatization)- section/bullet numbering/lettering: what if in one license a list has a,b,c and in another i,ii,iii
- different spellings of same word: color vs colour
Whitespace normalization
How to deal with whitespace repeation and newlines vs space vs tab
- replace all whitespace characters with SPACE <il>collapse repeated spaces to one space character
Replaceable parts
Dealing with copyright owner, copyright year, etc.
Some sort of demarcation of replaceable elements in a license. These would be limited to a discrete list of supported element types. For example, year and copyright holder.
We could allow replaceable elements to be used in any license text at the risk of colliding with non-template parts of the license text. Alternatively, we could explicitly indicate that the license text of a particular licenses has replaceable elements. An explicit indication of templatization would allow us to simply not use replaceable elements for licenses which would have collisions. However, it would prevent us from templatizing licenses that would have collisions
Perhaps an esoteric template syntax would allow us to avoid the collision issue. Maybe something like "{{{YEAR}}}"?
section/bullet numbering/lettering
What if in one license a list has a,b,c and in another i,ii,iii?
this issue has not been explored
Different spellings of same word
color vs colour
Issue not dealt with. Perhaps a stemming algorithm of some sort?