Skip to content

Commit

Permalink
Warn about other notions of ASCII whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jyasskin authored Nov 25, 2024
1 parent ef941a3 commit 2e8f05a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions infra.bs
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,20 @@ SPACE.

<p class=note>"Whitespace" is a mass noun.

<div class=note>
<p>The XML, JSON, and parts of the HTTP specifications exclude U+000C FF in their definition of
whitespace:

<ul class=brief>
<li>[[xml10#NT-S|XML's S production]]
<li>[[JSON#section-2|JSON's ws production]]
<li>[=HTTP whitespace=]
</ul>

<p>Prefer using Infra's [=ASCII whitespace=] definition for new features, unless your specification
deals exclusively with XML/JSON/HTTP.
</div>

<p>A <dfn export>C0 control</dfn> is a <a>code point</a> in the range U+0000 NULL to
U+001F INFORMATION SEPARATOR ONE, inclusive.

Expand Down

0 comments on commit 2e8f05a

Please sign in to comment.