8000 clarify use of valid/invalid pertaining to style sheets · w3c/csswg-drafts@f20c3f9 · GitHub
Skip to content

Commit f20c3f9

Browse files
committed
clarify use of valid/invalid pertaining to style sheets
1 parent 0306a07 commit f20c3f9

2 files changed

Lines changed: 57 additions & 50 deletions

File tree

css3-namespace/Overview.html

Lines changed: 54 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
<h1>CSS Namespaces Module</h1>
1717

1818
<h2 class="no-num no-toc" id=longstatus-date>W3C Candidate Recommendation
19-
14 April 2009</h2>
19+
31 March 2010</h2>
2020

2121
<dl>
2222
<dt>This version:
2323

2424
<dd><a
25-
href="http://www.w3.org/TR/2009/CR-css3-namespace-20090414/">http://www.w3.org/TR/2009/CR-css3-namespace-20090414/</a></dd>
25+
href="http://www.w3.org/TR/2010/CR-css3-namespace-20100331/">http://www.w3.org/TR/2010/CR-css3-namespace-20100331/</a></dd>
2626
<!-- <dd><a href="http://dev.w3.org/csswg/css3-namespace/">http://dev.w3.org/csswg/css3-namespace/</a> -->
2727

2828
<dt>Latest version:
@@ -51,13 +51,13 @@ <h2 class="no-num no-toc" id=longstatus-date>W3C Candidate Recommendation
5151
<!--begin-copyright-->
5252
<p class=copyright><a
5353
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
54-
rel=license>Copyright</a> &copy; 2009 <a
54+
rel=license>Copyright</a> &copy; 2010 <a
5555
href="http://www.w3.org/"><acronym title="World Wide Web
5656
Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
5757
href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute
58-
of Technology">MIT</acronym></a>, <a
59-
href="http://www.ercim.org/"><acronym title="European Research Consortium
60-
for Informatics and Mathematics">ERCIM</acronym></a>, <a
58+
of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym
59+
title="European Research Consortium for Informatics and
60+
Mathematics">ERCIM</acronym></a>, <a
6161
href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
6262
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
6363
<a
@@ -86,15 +86,19 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
8686
can be found in the <a href="http://www.w3.org/TR/">W3C technical reports
8787
index at http://www.w3.org/TR/.</a></em>
8888

89-
<p>This document was produced by the <a href="/Style/CSS/members">CSS
90-
Working Group</a> as a <a href="/TR/#CR">Candidate Recommendation.</a>
89+
<p>This document was produced by the <a
90+
href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> as a <a
91+
href="http://www.w3.org/Consortium/Process/tr#RecsCR">Candidate
92+
Recommendation.</a>
9193

9294
<p>A Candidate Recommendation is a document that has been widely reviewed
93-
and ready for implementation. W3C encourages everybody to implement this
94-
specification and return comments to the (<a
95+
and is ready for implementation. W3C encourages everybody to implement
96+
this specification and return comments to the (<a
9597
href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) public
96-
mailing list <a href="mailto:www-style@w3.org">www-style@w3.org</a> (see
97-
<a href="http://www.w3.org/Mail/Request">instructions</a>). When sending
98+
mailing list <a
99+
href="mailto:www-style@w3.org?Subject=%5Bcss3-namespace%5D%20PUT%20SUBJECT%20HERE">
100+
www-style@w3.org</a> (see <a
101+
href="http://www.w3.org/Mail/Request">instructions</a>). When sending
98102
e-mail, please put the text &#8220;css3-namespace&#8221; in the subject,
99103
preferably like this: &#8220;[<!---->css3-namespace<!---->]
100104
<em>&hellip;summary of comment&hellip;</em>&#8221;
@@ -107,15 +111,15 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
107111
<p>This document was produced by a group operating under the <a
108112
href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February
109113
2004 W3C Patent Policy</a>. W3C maintains a <a
110-
href="/2004/01/pp-impl/32061/status" rel=disclosure>public list of any
111-
patent disclosures</a> made in connection with the deliverables of the
112-
group; that page also includes instructions for disclosing a patent. An
113-
individual who has actual knowledge of a patent which the individual
114-
believes contains <a
115-
href="/Consortium/Patent-Policy-20040205/#def-essential">Essential
116-
Claim(s)</a> must disclose the information in accordance with <a
117-
href="/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the
118-
W3C Patent Policy</a>.</p>
114+
href="http://www.w3.org/2004/01/pp-impl/32061/status"
115+
rel=disclosure>public list of any patent disclosures</a> made in
116+
connection with the deliverables of the group; that page also includes
117+
instructions for disclosing a patent. An individual who has actual
118+
knowledge of a patent which the individual believes contains <a
119+
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">
120+
Essential Claim(s)</a> must disclose the information in accordance with <a
121+
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">
122+
section 6 of the W3C Patent Policy</a>.</p>
119123
<!--end-status-->
120124

121125
<p>For this specification to exit the CR stage, the following conditions
@@ -183,25 +187,26 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
183187
<!--begin-toc-->
184188

185189
<ul class=toc>
186-
<li><a href="#intro"><span class=secno>1 </span>Introduction</a>
190+
<li><a href="#intro"><span class=secno>1. </span>Introduction</a>
187191

188-
<li><a href="#conformance"><span class=secno>2 </span>Conformance</a>
192+
<li><a href="#conformance"><span class=secno>2. </span>Conformance</a>
189193
<ul class=toc>
190-
<li><a href="#terminology"><span class=secno>2.1 </span>Terminology</a>
194+
<li><a href="#terminology"><span class=secno>2.1. </span>Terminology</a>
195+
191196
</ul>
192197

193-
<li><a href="#declaration"><span class=secno>3 </span>Declaring
198+
<li><a href="#declaration"><span class=secno>3. </span>Declaring
194199
namespaces: the <code>@namespace</code> rule</a>
195200
<ul class=toc>
196-
<li><a href="#syntax"><span class=secno>3.1 </span>Syntax</a>
201+
<li><a href="#syntax"><span class=secno>3.1. </span>Syntax</a>
197202

198-
<li><a href="#scope"><span class=secno>3.2 </span>Scope</a>
203+
<li><a href="#scope"><span class=secno>3.2. </span>Scope</a>
199204

200-
<li><a href="#prefixes"><span class=secno>3.3 </span>Declaring
205+
<li><a href="#prefixes"><span class=secno>3.3. </span>Declaring
201206
Prefixes</a>
202207
</ul>
203208

204-
<li><a href="#css-qnames"><span class=secno>4 </span>CSS Qualified
209+
<li><a href="#css-qnames"><span class=secno>4. </span>CSS Qualified
205210
Names</a>
206211

207212
<li class=no-num><a href="#acknowledgments">Acknowledgments</a>
@@ -218,7 +223,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
218223
<!--end-toc-->
219224

220225
<div>
221-
<h2 id=intro><span class=secno>1 </span>Introduction</h2>
226+
<h2 id=intro><span class=secno>1. </span>Introduction</h2>
222227

223228
<p><em>This section is non-normative.</em></p>
224229

@@ -243,7 +248,7 @@ <h2 id=intro><span class=secno>1 </span>Introduction</h2>
243248
</div>
244249

245250
<div>
246-
<h2 id=conformance><span class=secno>2 </span>Conformance</h2>
251+
<h2 id=conformance><span class=secno>2. </span>Conformance</h2>
247252

248253
<p>A document or implementation cannot conform to CSS Namespaces alone,
249254
but can claim conformance to CSS Namespaces if it satisfies the
@@ -289,7 +294,7 @@ <h2 id=conformance><span class=secno>2 </span>Conformance</h2>
289294

290295
<p class=note>Note, this is an informative note.</p>
291296

292-
<h3 id=terminology><span class=secno>2.1 </span>Terminology</h3>
297+
<h3 id=terminology><span class=secno>2.1. </span>Terminology</h3>
293298

294299
<p>Besides terms introduced by this specification, CSS Namespaces uses the
295300
terminology defined in Namespaces in XML 1.0. <a href="#XML-NAMES"
@@ -314,7 +319,7 @@ <h3 id=terminology><span class=secno>2.1 </span>Terminology</h3>
314319
</div>
315320

316321
<div>
317-
<h2 id=declaration><span class=secno>3 </span>Declaring namespaces: the
322+
<h2 id=declaration><span class=secno>3. </span>Declaring namespaces: the
318323
<code>@namespace</code> rule</h2>
319324

320325
<p>The <code>@namespace</code> <a
@@ -365,7 +370,7 @@ <h2 id=declaration><span class=secno>3 </span>Declaring namespaces: the
365370
selector <code>qml|elem</code> would be invalid.)</p>
366371
</div>
367372

368-
<h3 id=syntax><span class=secno>3.1 </span>Syntax</h3>
373+
<h3 id=syntax><span class=secno>3.1. </span>Syntax</h3>
369374

370375
<p>The syntax for the <code>@namespace</code> rule is as follows (using
371376
the notation from the <a
@@ -395,8 +400,9 @@ <h3 id=syntax><span class=secno>3.1 </span>Syntax</h3>
395400
or misplaced) must be <a
396401
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. A CSS
397402
<a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">style
398-
sheet</a> containing an invalid <code>@namespace</code> rule is itself <a
399-
href="http://www.w3.org/TR/CSS21/conform.html#valid-style-sheet">invalid</a>.</p>
403+
sheet</a> containing an invalid <code>@namespace</code> rule is not a <a
404+
href="http://www.w3.org/TR/CSS21/conform.html#valid-style-sheet">valid
405+
style sheet</a>.</p>
400406

401407
<p>A URI string parsed from the <code>URI</code> syntax must be treated as
402408
a literal string: as with the <code>STRING</code> syntax, no URI-specific
@@ -406,14 +412,14 @@ <h3 id=syntax><span class=secno>3.1 </span>Syntax</h3>
406412
invalid URIs&#8212;are valid namespace names in <code>@namespace</code>
407413
declarations.</p>
408414

409-
<h3 id=scope><span class=secno>3.2 </span>Scope</h3>
415+
<h3 id=scope><span class=secno>3.2. </span>Scope</h3>
410416

411417
<p>The namespace prefix is declared only within the style sheet in which
412418
its <code>@namespace</code> rule appears. It is not declared in any style
413419
sheets importing or imported by that style sheet, nor in any other style
414420
sheets applying to the document.</p>
415421

416-
<h3 id=prefixes><span class=secno>3.3 </span>Declaring Prefixes</h3>
422+
<h3 id=prefixes><span class=secno>3.3. </span>Declaring Prefixes</h3>
417423

418424
<p>A <dfn id=namespace-prefix>namespace prefix</dfn>, once declared,
419425
represents the namespace for which it was declared and can be used to
@@ -452,7 +458,7 @@ <h3 id=prefixes><span class=secno>3.3 </span>Declaring Prefixes</h3>
452458
</div>
453459

454460
<div>
455-
<h2 id=css-qnames><span class=secno>4 </span>CSS Qualified Names</h2>
461+
<h2 id=css-qnames><span class=secno>4. </span>CSS Qualified Names</h2>
456462

457463
<p>A <dfn id=css-qualified-name>CSS qualified name</dfn> is a name
458464
explicitly located within (associated with) a namespace. To form a
@@ -556,10 +562,10 @@ <h3 class=no-num id=normative-references>Normative references</h3>
556562
<dt id=CSS21>[CSS21]
557563

558564
<dd>Bert Bos; et al. <a
559-
href="http://www.w3.org/TR/2007/CR-CSS21-20070719"><cite>Cascading Style
560-
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 19 July
561-
2007. W3C Candidate Recommendation. (Work in progress.) URL: <a
562-
href="http://www.w3.org/TR/2007/CR-CSS21-20070719">http://www.w3.org/TR/2007/CR-CSS21-20070719</a>
565+
href="http://www.w3.org/TR/2009/CR-CSS2-20090908"><cite>Cascading Style
566+
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 8 September
567+
2009. W3C Candidate Recommendation. (Work in progress.) URL: <a
568+
href="http://www.w3.org/TR/2009/CR-CSS2-20090908">http://www.w3.org/TR/2009/CR-CSS2-20090908</a>
563569
</dd>
564570
<!---->
565571

@@ -585,11 +591,11 @@ <h3 class=no-num id=normative-references>Normative references</h3>
585591

586592
<dt id=XML-NAMES>[XML-NAMES]
587593

588-
<dd>Richard Tobin; et al. <a
589-
href="http://www.w3.org/TR/2006/REC-xml-names-20060816"><cite>Namespaces
590-
in XML 1.0 (Second Edition).</cite>< B333 ;/a> 16 August 2006. W3C
594+
<dd>Tim Bray; et al. <a
595+
href="http://www.w3.org/TR/2009/REC-xml-names-20091208"><cite>Namespaces
596+
in XML 1.0 (Third Edition).</cite></a> 8 December 2009. W3C
591597
Recommendation. URL: <a
592-
href="http://www.w3.org/TR/2006/REC-xml-names-20060816">http://www.w3.org/TR/2006/REC-xml-names-20060816</a>
598+
href="http://www.w3.org/TR/2009/REC-xml-names-20091208">http://www.w3.org/TR/2009/REC-xml-names-20091208</a>
593599
</dd>
594600
<!---->
595601
</dl>
@@ -605,7 +611,7 @@ <h3 class=no-num id=informative-references>Informative references</h3>
605611

606612
<dt id=SELECT>[SELECT]
607613

608-
<dd>Daniel Glazman; et al. <a
614+
<dd>Tantek &#199;elik; et al. <a
609615
href="http://www.w3.org/TR/2009/WD-css3-selectors-20090310"><cite>Selectors
610616
Level 3.</cite></a> 10 March 2009. W3C Working Draft. (Work in progress.)
611617
URL: <a

css3-namespace/Overview.src.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,9 @@ <h3 id="syntax">Syntax</h3>
267267
<p>A syntactically invalid <code>@namespace</code> rule (whether malformed or
268268
misplaced) must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
269269
A CSS <a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">style sheet</a>
270-
containing an invalid <code>@namespace</code> rule is itself
271-
<a href="http://www.w3.org/TR/CSS21/conform.html#valid-style-sheet">invalid</a>.</p>
270+
containing an invalid <code>@namespace</code> rule is not a
271+
<a href="http://www.w3.org/TR/CSS21/conform.html#valid-style-sheet">valid
272+
style sheet</a>.</p>
272273

273274
<p>A URI string parsed from the <code>URI</code> syntax must be treated as
274275
a literal string: as with the <code>STRING</code> syntax, no URI-specific

0 commit comments

Comments
 (0)