Skip to content

Use uppercase for RFC 2119 terms - #41

Open
jzern wants to merge 1 commit into
mainfrom
uppercase-rfc-2119-8174
Open

Use uppercase for RFC 2119 terms#41
jzern wants to merge 1 commit into
mainfrom
uppercase-rfc-2119-8174

Conversation

@jzern

@jzern jzern commented Jul 27, 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: #26
@github-actions

Copy link
Copy Markdown
Contributor

📄 Specification Preview

The AV2 ISOBMFF specification has been built and published for this PR.

🔗 Live preview

The preview updates automatically on every push, and is removed when this PR is closed or merged.


Built from commit 0bb2652 · Updated: Mon, 27 Jul 2026 19:00:31 GMT

github-actions Bot added a commit that referenced this pull request Jul 27, 2026
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

<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
- the trailing bits of an OBU carried in a sample SHALL be limited to those required for byte alignment as specified in [[!AV2]]; trailing bits SHALL NOT be used to pad an OBU beyond byte alignment;
- a sample SHALL NOT contain a [=Sequence Header OBU=]; sequence headers are carried in the <code>configOBUs</code> of the [=AV2CodecConfigurationBox=] of the active [=AV2SampleEntry=];
- a sample SHALL NOT contain a [=Layer Configuration Record OBU=]; layer configuration records are carried in the <code>configOBUs</code> of the active [=AV2SampleEntry=];
- a sample SHOULD NOT contain any other OBU whose contents do not change for the duration of the active [=AV2SampleEntry=], in order to avoid redundant data; for example, a [=Metadata OBU=] whose contents are constant should be carried in <code>configOBUs</code> rather than repeated in every sample, or discarded from the samples and conveyed at the ISOBMFF level.

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 the 'should' after 'for example,' remains 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.

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 marked this pull request as ready for review July 27, 2026 19:04
@jzern
jzern requested review from leo-barnes, podborski and y-guyon and removed request for podborski and y-guyon July 27, 2026 19:04
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

2 participants