Skip to content

Use uppercase for RFC 2119 terms - #38

Closed
jzern wants to merge 2 commits into
AOMediaCodec:mainfrom
jzern:uppercase-rfc-2119-8174
Closed

Use uppercase for RFC 2119 terms#38
jzern wants to merge 2 commits into
AOMediaCodec:mainfrom
jzern:uppercase-rfc-2119-8174

Conversation

@jzern

@jzern jzern commented Jul 22, 2026

Copy link
Copy Markdown

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: #26

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
Comment thread index.bs

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.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This text comes from the default conformance section: https://aomediacodec.github.io/av1-isobmff/#conformance

Comment thread index.bs

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:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note "for example" is used at line 393, where we have a SHOULD. Do we want to relax this or make the SHOULD lowercase?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I vote for lowercase "should".

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me too given how examples described. I just forgot to lowercase that one before uploading so I wanted to call it out.

Comment thread index.bs

<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:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The note at line 317 has a 'may', which I made lowercase.

Comment thread index.bs
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.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"required" was not used in a way that would make it normative.

@jzern
jzern marked this pull request as ready for review July 22, 2026 21:03
Comment thread index.bs
}
</pre>

Terminology {#terminology}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've also seen something like 'Notation & Conventions' to describe this section.

@jzern

jzern commented Jul 23, 2026

Copy link
Copy Markdown
Author

@podborski looks like there are some bot failures:

remote: Permission to AOMediaCodec/av2-isobmff.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/AOMediaCodec/av2-isobmff.git/': The requested URL returned error: 403

Comment thread index.bs Outdated
Comment thread index.bs

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:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I vote for lowercase "should".

@podborski

Copy link
Copy Markdown
Member

@jzern no forks please. you should be able to work in this repo directly. please open a PR from a branch in this repo

@jzern jzern closed this Jul 27, 2026
@jzern

jzern commented Jul 27, 2026

Copy link
Copy Markdown
Author

Superseded by #41.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider following RFC 8174 (BCP14) for RFC 2119 keywords

3 participants