Use uppercase for RFC 2119 terms - #38
Conversation
This removes the default conformance section which says: * [...] as described in RFC 2119. However, for readability, these words do not appear in all uppercase letters in this specification.* And adds a Terminology section at the beginning of the text to make the conventions more prominent. Fixes: AOMediaCodec#26
|
|
||
| The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [[!RFC2119]] [[!RFC8174]] when, and only when, they appear in all capitals, as shown here. | ||
|
|
||
| All of the text of this specification is normative except sections explicitly marked as non-normative, examples, and notes. |
There was a problem hiding this comment.
This text comes from the default conformance section: https://aomediacodec.github.io/av1-isobmff/#conformance
|
|
||
| All of the text of this specification is normative except sections explicitly marked as non-normative, examples, and notes. | ||
|
|
||
| Examples in this specification are introduced with the words "for example" or are set apart from the normative text with <code>class="example"</code>, like this: |
There was a problem hiding this comment.
Note "for example" is used at line 393, where we have a SHOULD. Do we want to relax this or make the SHOULD lowercase?
There was a problem hiding this comment.
Me too given how examples described. I just forgot to lowercase that one before uploading so I wanted to call it out.
|
|
||
| <div class="example" id="example-example"><a class="self-link" href="#example-example"></a>This is an example of an informative example.</div> | ||
|
|
||
| Informative notes begin with the word "Note" and are set apart from the normative text with <code>class="note"</code>, like this: |
There was a problem hiding this comment.
The note at line 317 has a 'may', which I made lowercase.
| Terminology {#terminology} | ||
| ========================== | ||
|
|
||
| The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [[!RFC2119]] [[!RFC8174]] when, and only when, they appear in all capitals, as shown here. |
There was a problem hiding this comment.
"required" was not used in a way that would make it normative.
| } | ||
| </pre> | ||
|
|
||
| Terminology {#terminology} |
There was a problem hiding this comment.
I've also seen something like 'Notation & Conventions' to describe this section.
|
@podborski looks like there are some bot failures: |
|
|
||
| All of the text of this specification is normative except sections explicitly marked as non-normative, examples, and notes. | ||
|
|
||
| Examples in this specification are introduced with the words "for example" or are set apart from the normative text with <code>class="example"</code>, like this: |
|
@jzern no forks please. you should be able to work in this repo directly. please open a PR from a branch in this repo |
|
Superseded by #41. |
This removes the default conformance section which says:
do not appear in all uppercase letters in this specification.*
And adds a Terminology section at the beginning of the text to make the
conventions more prominent.
Fixes: #26