Skip to content

SotD corrections #1972

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

Merged
merged 4 commits into from
Jul 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lib/rules.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/rules/sotd/draft-stability.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function check(sr, done) {
const sotd = sr.getSotDSection();
const { crType, cryType } = sr.config;
const STABILITY_REX =
/This is a draft document and may be updated, replaced,? or obsoleted by other documents at any time\. It is inappropriate to cite this document as other than work in progress\./;
/This is a draft document and may be updated, replaced,? or obsoleted by other documents at any time\. It is inappropriate to cite this document as other than a work in progress\./;

const STABILITY_2 =
'This document is maintained and updated at any time. Some parts of this document are work in progress.';
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/sotd/pp.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function buildWanted(groups, sr, ppLink) {
}instructions for disclosing a patent\\.`;
if (config.track === 'Recommendation' || config.track === 'Note')
wanted +=
' An individual who has actual knowledge of a patent which the individual ' +
' An individual who has actual knowledge of a patent that the individual ' +
'believes contains Essential Claim\\(s\\) must disclose the information in ' +
'accordance with section 6 of the W3C Patent Policy\\.';
} else {
Expand Down
4 changes: 2 additions & 2 deletions lib/rules/sotd/supersedable.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// <p><em>This section describes the status of this document at the time of its publication.
// A list of current W3C publications and the
// latest revision of this technical report can be found in the
// <a href="https://www.w3.org/TR/">W3C Standards and draft index</a> at https://www.w3.org/TR/.</em></p>
// <a href="https://www.w3.org/TR/">W3C Standards and draft index</a>.</em></p>

import { filter } from '../../util.js';

Expand Down Expand Up @@ -38,7 +38,7 @@ export function check(sr, done) {
sr.config.status === 'SUBM'
? ''
: 'and the latest revision of this technical report '
}can be found in the W3C standards and drafts index at https://www.w3.org/TR/.`;
}can be found in the W3C standards and drafts index.`;

const deprecatedWanted = wanted.replace(
'W3C standards and drafts index',
Expand Down
2 changes: 1 addition & 1 deletion test/doc-views/TR/Recommendation/CRD.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const good2 = {
sotd: {
...good.sotd,
draftText:
'This document is maintained and updated at any time. Some parts of this document are work in progress.',
'This document is maintained and updated at any time. Some parts of this document are a work in progress.',
},
};

Expand Down
2 changes: 1 addition & 1 deletion test/doc-views/TR/Registry/CRYD.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const good2 = {
sotd: {
...good.sotd,
draftText:
'This document is maintained and updated at any time. Some parts of this document are work in progress.',
'This document is maintained and updated at any time. Some parts of this document are a work in progress.',
},
};

Expand Down
4 changes: 2 additions & 2 deletions test/doc-views/TR/TRBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,15 +318,15 @@ export function buildDraftStability(base) {
sotd: {
...base.sotd,
draftText:
'This is a other document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.',
'This is a other document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.',
},
},
noDraft: {
...base,
sotd: {
...base.sotd,
draftText:
'This is a other document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.',
'This is a other document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.',
},
},
};
Expand Down
4 changes: 2 additions & 2 deletions test/doc-views/partials/patent-policy.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
W3C maintains a <a href="https://www.w3.org/groups/wg/apa/ipr" rel="disclosure">public list of any patent disclosures (CSS)</a> and a <a href="https://www.w3.org/groups/wg/ag/ipr" rel="disclosure">public list of any patent disclosures (Technical Architecture Group)</a> made in connection with the deliverables of each group;
these pages also include instructions for disclosing a patent.
An individual who has actual knowledge of a patent
which the individual believes contains <a href="https://www.w3.org/Consortium/Patent-Policy-20170801/#def-essential">Essential Claim(s)</a> must disclose the information
that the individual believes contains <a href="https://www.w3.org/Consortium/Patent-Policy-20170801/#def-essential">Essential Claim(s)</a> must disclose the information
in accordance with <a href="https://www.w3.org/Consortium/Patent-Policy-20170801/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.
</p>
{{else}}
<p>
This document was produced by a group operating under the <a href="{{sotd.ppLink}}"><span class="handlebars-data">{{{sotd.ppHTML}}}{{! W3C Patent Policy }}</span></a>. <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a rel="{{sotd.iprRel}}" href="{{sotd.iprLink}}"><span class="handlebars-data">{{sotd.iprText}}{{! public list of any patent disclosures }}</span></a> made in connection with the deliverables of <span class="handlebars-data">{{sotd.pageIncludeText}}{{! the group; that page also includes }}</span> instructions for disclosing a patent. <span class="handlebars-data">{{sotd.individualText}}{{! An individual who has }}</span> actual knowledge of a patent which the individual believes contains <a href="{{sotd.essentialLink}}"><span class="handlebars-data">{{sotd.essentialText}}{{! Essential Claim(s) }}</span></a> must disclose the information in accordance with <a href="{{sotd.disclosureLink}}"><span class="handlebars-data">{{{sotd.disclosureHTML}}}</span></a>.
This document was produced by a group operating under the <a href="{{sotd.ppLink}}"><span class="handlebars-data">{{{sotd.ppHTML}}}{{! W3C Patent Policy }}</span></a>. <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a rel="{{sotd.iprRel}}" href="{{sotd.iprLink}}"><span class="handlebars-data">{{sotd.iprText}}{{! public list of any patent disclosures }}</span></a> made in connection with the deliverables of <span class="handlebars-data">{{sotd.pageIncludeText}}{{! the group; that page also includes }}</span> instructions for disclosing a patent. <span class="handlebars-data">{{sotd.individualText}}{{! An individual who has }}</span> actual knowledge of a patent that the individual believes contains <a href="{{sotd.essentialLink}}"><span class="handlebars-data">{{sotd.essentialText}}{{! Essential Claim(s) }}</span></a> must disclose the information in accordance with <a href="{{sotd.disclosureLink}}"><span class="handlebars-data">{{{sotd.disclosureHTML}}}</span></a>.
</p>
{{/if}}
{{/config.underPP}}
Expand Down
14 changes: 7 additions & 7 deletions test/doc-views/partials/stability.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
{{#config.isRecTrack}}
{{! Recommendation Track correct rendered html:

FPWD: Publication as a First Public Working Draft does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
FPWD: Publication as a First Public Working Draft does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.

WD: Publication as a Working Draft does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
WD: Publication as a Working Draft does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.

DISC: Publication as a Discontinued Draft implies that this document is no longer intended to advance or to be maintained. It is inappropriate to cite this document as other than abandoned work.

Expand All @@ -27,11 +27,11 @@
+
(choose one of the 2 following paragraphs:)
+
This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.
+
This document is maintained and updated at any time. Some parts of this document are work in progress.
This document is maintained and updated at any time. Some parts of this document are a work in progress.

PR: Publication as a Proposed Recommendation does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
PR: Publication as a Proposed Recommendation does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.

REC: A W3C Recommendation is a specification that, after extensive consensus-building, is endorsed by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members, and has commitments from Working Group members to <a href="https://www.w3.org/policies/patent-policy/#sec-Requirements">royalty-free licensing</a> for implementations.
--}}
Expand Down Expand Up @@ -70,7 +70,7 @@

{{! Registry Track correct rendered html:

DRY: Publication as a Draft Registry does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
DRY: Publication as a Draft Registry does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.

CRY: Publication as a Candidate Registry Snapshot does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. A Candidate Registry Snapshot has received <a href="https://www.w3.org/policies/process/20231103/#dfn-wide-review">wide review</a>.

Expand All @@ -93,7 +93,7 @@
{{/config.isCRYD}}

{{#config.maybeUpdated}}
</p><p><span class="handlebars-data">{{sotd.draftText}}{{! This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.}}</span>
</p><p><span class="handlebars-data">{{sotd.draftText}}{{! This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.}}</span>
{{/config.maybeUpdated}}

{{#config.isRY}}
Expand Down
10 changes: 5 additions & 5 deletions test/doc-views/specBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const data = {
sotd: {
id: 'sotd',
title: 'Status of This Document',
emHTML: '<em>This section describes the status of this document at the time of its publication. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> standards and drafts index</a> at https://www.w3.org/TR/.</em>',
emHTML: '<em>This section describes the status of this document at the time of its publication. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> standards and drafts index</a>.</em>',

submission: {
show: false,
Expand Down Expand Up @@ -147,7 +147,7 @@ export const data = {
'Group Notes are not endorsed by W3C nor its Members',

draftText:
'This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.',
'This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than a work in progress.',
crdIntegrateChangesText:
'integrates changes from the previous Candidate Recommendation',
discText: 'intended to advance or to be maintained',
Expand Down Expand Up @@ -864,21 +864,21 @@ export function buildCommonViewData(base) {
...base,
sotd: {
...base.sotd,
emHTML: '<em>This section not the status of this document at the time of its publication. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> standards and drafts index</a> at https://www.w3.org/TR/.</em>',
emHTML: '<em>This section not the status of this document at the time of its publication. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> standards and drafts index</a>.</em>',
},
},
noTr: {
...base,
sotd: {
...base.sotd,
emHTML: "<em>This section describes the status of this document at the time of its publication. A list of current <abbr >W3C</abbr> publications and the latest revision of this technical report can be found in the <a ><abbr title='World Wide Web Consortium'>W3C</abbr> standards and drafts index</a> at https://www.w3.org/TR/.</em>",
emHTML: "<em>This section describes the status of this document at the time of its publication. A list of current <abbr >W3C</abbr> publications and the latest revision of this technical report can be found in the <a ><abbr title='World Wide Web Consortium'>W3C</abbr> standards and drafts index</a>.</em>",
},
},
deprecated: {
...base,
sotd: {
...base.sotd,
emHTML: '<em>This section describes the status of this document at the time of its publication. A list of current <abbr >W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> technical reports index</a> at https://www.w3.org/TR/.</em>',
emHTML: '<em>This section describes the status of this document at the time of its publication. A list of current <abbr >W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> technical reports index</a>.</em>',
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions test/docs/2021-cr.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>Abstract</h2>
<section id="sotd" data-link-for="Performance" class="introductory">
<h2>Status of This Document</h2>

<p><em>This section describes the status of this document at the time of its publication. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> standards and drafts index</a> at https://www.w3.org/TR/.</em></p>
<p><em>This section describes the status of this document at the time of its publication. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> standards and drafts index</a>.</em></p>

<p>
This document was published by the <a href="https://www.w3.org/groups/wg/webperf">Web Performance Working Group</a>
Expand Down Expand Up @@ -108,7 +108,7 @@ <h2>Status of This Document</h2>
This document was produced by a group
operating under the
<a href="https://www.w3.org/policies/patent-policy/"><abbr title="World Wide Web Consortium">W3C</abbr>
Patent Policy</a>. <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a rel="disclosure" href="https://www.w3.org/groups/wg/webperf/ipr">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="https://www.w3.org/policies/patent-policy/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="https://www.w3.org/policies/patent-policy/#sec-Disclosure">section 6 of the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
Patent Policy</a>. <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a rel="disclosure" href="https://www.w3.org/groups/wg/webperf/ipr">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent that the individual believes contains <a href="https://www.w3.org/policies/patent-policy/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="https://www.w3.org/policies/patent-policy/#sec-Disclosure">section 6 of the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
</p>
<p>
This document is governed by the <a id="w3c_process_revision" href="https://www.w3.org/policies/process/20231103/">03 November 2023 <abbr title="World Wide Web Consortium">W3C</abbr> Process Document</a>.
Expand Down
Loading