Skip to content

Commit

Permalink
[e] (0) This seems to be a common mistake, so let's call it out.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12141

git-svn-id: http://svn.whatwg.org/webapps@6419 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 11, 2011
1 parent 4466fcf commit 9dcde96
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 0 deletions.
40 changes: 40 additions & 0 deletions complete.html
Expand Up @@ -1952,6 +1952,46 @@ <h4 id=how-to-read-this-specification><span class=secno>1.8.1 </span>How to read
picking random sections from the contents list and following all the
cross-references.</p>

<p>As described in the conformance requirements section below, this
specification describes conformance criteria for a variety of
conformance classes. In particular, there are conformance
requirements that apply to <em>producers</em>, for example authors
and the documents they create, and there are conformance
requirements that apply to <em>consumers</em>, for example Web
browsers. They can be distinguished by what they are requiring: a
requirement on a producer states what is allowed, while a
requirement on a consumer states how software is to act.</p>

<div class=example>

<p>For example, "the <code title="">foo</code> attribute's value
must be a <a href=#valid-integer>valid integer</a>" is a requirement on
producers, as it lays out the allowed values; in contrast, the
requirement "the <code title="">foo</code> attribute's value must
be parsed using the <a href=#rules-for-parsing-integers>rules for parsing integers</a>" is a
requirement on consumers, as it describes how to process the
content.</p>

</div>

<p><strong>Requirements on producers have no bearing whatsoever on
consumers.</strong></p>

<div class=example>

<p>Continuing the above example, a requirement stating that a
particular attribute's value is constrained to being a <a href=#valid-integer>valid
integer</a> emphatically does <em>not</em> imply anything about
the requirements on consumers. It might be that the consumers are
in fact required to treat the attribute as an opaque string,
completely unaffected by whether the value conforms to the
requirements or not. It might be (as in the previous example) that
the consumers are required to parse the value using specific rules
that define how invalid (non-numeric in this case) values are to be
processed.</p>

</div>



<h4 id=typographic-conventions><span class=secno>1.8.2 </span>Typographic conventions</h4>
Expand Down
40 changes: 40 additions & 0 deletions index
Expand Up @@ -1849,6 +1849,46 @@
picking random sections from the contents list and following all the
cross-references.</p>

<p>As described in the conformance requirements section below, this
specification describes conformance criteria for a variety of
conformance classes. In particular, there are conformance
requirements that apply to <em>producers</em>, for example authors
and the documents they create, and there are conformance
requirements that apply to <em>consumers</em>, for example Web
browsers. They can be distinguished by what they are requiring: a
requirement on a producer states what is allowed, while a
requirement on a consumer states how software is to act.</p>

<div class=example>

<p>For example, "the <code title="">foo</code> attribute's value
must be a <a href=#valid-integer>valid integer</a>" is a requirement on
producers, as it lays out the allowed values; in contrast, the
requirement "the <code title="">foo</code> attribute's value must
be parsed using the <a href=#rules-for-parsing-integers>rules for parsing integers</a>" is a
requirement on consumers, as it describes how to process the
content.</p>

</div>

<p><strong>Requirements on producers have no bearing whatsoever on
consumers.</strong></p>

<div class=example>

<p>Continuing the above example, a requirement stating that a
particular attribute's value is constrained to being a <a href=#valid-integer>valid
integer</a> emphatically does <em>not</em> imply anything about
the requirements on consumers. It might be that the consumers are
in fact required to treat the attribute as an opaque string,
completely unaffected by whether the value conforms to the
requirements or not. It might be (as in the previous example) that
the consumers are required to parse the value using specific rules
that define how invalid (non-numeric in this case) values are to be
processed.</p>

</div>



<h4 id=typographic-conventions><span class=secno>1.8.2 </span>Typographic conventions</h4>
Expand Down
40 changes: 40 additions & 0 deletions source
Expand Up @@ -713,6 +713,46 @@
picking random sections from the contents list and following all the
cross-references.</p>

<p>As described in the conformance requirements section below, this
specification describes conformance criteria for a variety of
conformance classes. In particular, there are conformance
requirements that apply to <em>producers</em>, for example authors
and the documents they create, and there are conformance
requirements that apply to <em>consumers</em>, for example Web
browsers. They can be distinguished by what they are requiring: a
requirement on a producer states what is allowed, while a
requirement on a consumer states how software is to act.</p>

<div class="example">

<p>For example, "the <code title="">foo</code> attribute's value
must be a <span>valid integer</span>" is a requirement on
producers, as it lays out the allowed values; in contrast, the
requirement "the <code title="">foo</code> attribute's value must
be parsed using the <span>rules for parsing integers</span>" is a
requirement on consumers, as it describes how to process the
content.</p>

</div>

<p><strong>Requirements on producers have no bearing whatsoever on
consumers.</strong></p>

<div class="example">

<p>Continuing the above example, a requirement stating that a
particular attribute's value is constrained to being a <span>valid
integer</span> emphatically does <em>not</em> imply anything about
the requirements on consumers. It might be that the consumers are
in fact required to treat the attribute as an opaque string,
completely unaffected by whether the value conforms to the
requirements or not. It might be (as in the previous example) that
the consumers are required to parse the value using specific rules
that define how invalid (non-numeric in this case) values are to be
processed.</p>

</div>



<h4>Typographic conventions</h4>
Expand Down

0 comments on commit 9dcde96

Please sign in to comment.