w3c / specberus

Checker used at W3C to validate the compliance of Technical Reports with publication rules
https://www.w3.org/pubrules/
MIT License
77 stars 46 forks source link

Bug in rule “headers.copyright”: Rejects the required source code #1690

Closed svgeesus closed 1 year ago

svgeesus commented 1 year ago

In a Bikeshed-generated WD, the checker complained about the copyright statement, which is fair enough because the PR on Bikeshed for copyright update has not yet been merged.

The checker gives exact source code to use, and the correct one (new copyright, permissive license) was pasted in from the checker (line breaks added below for readability):

<p class="copyright"><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright
</a> © 2023 <a href="https://www.w3.org/">World Wide Web Consortium</a>. 
<abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> 
<a href="https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, 
<a href="https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and 
<a href="https://www.w3.org/Consortium/Legal/copyright-software">permissive document 
license</a> rules apply.</p>

I still get the exact same error message, implying that the checker is not actually checking for that exact string but for something else?? Maybe the older proposal with "W3C, Inc." ??

Found while checking https://www.w3.org/TR/2023/WD-css-images-4-20230112/.

cc/ @tabatkins @fantasai

deniak commented 1 year ago

Pubrules reports the following error:

Could not get the document license from the API. Please make sure this group has a current charter associated with at least one document license.

The CSS WG charter has expired so pubrules is unable to fetch the group's license and check the copyright. Pubrules should pass as soon as the charter is extended.

svgeesus commented 1 year ago

Thanks, I also just found that the approved charter has not been sent out. I agree that this will fix it.