Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn that Infra's and XML's notion of ascii whitespace aren't the same. #649

Merged
merged 3 commits into from
Nov 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions infra.bs
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,8 @@ SPACE.

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

<p class=note>[[xml11#NT-S|XML's definition of whitespace]] omits U+000C FF.
Copy link
Member

Choose a reason for hiding this comment

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

WebKit has a "ASCII whitespace without FF" definition that is used for JSON/HTTP/XML. Perhaps we should add the same definition to Infra?

See also https://fetch.spec.whatwg.org/#http.

And yeah, it's not clear to me that 1.1 is actually supported. Chromium and WebKit seem rather lenient and allow data:text/xml,<?xml version="1.2"?><test/> which I don't think is permitted by the XML specifications, and Gecko rejects that and also rejects 1.1.


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