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

Can updates/obsoletes contain whitespace? #4

Closed
martinthomson opened this issue Aug 24, 2022 · 2 comments
Closed

Can updates/obsoletes contain whitespace? #4

martinthomson opened this issue Aug 24, 2022 · 2 comments

Comments

@martinthomson
Copy link

The updates and obsoletes attributes on the <rfc> element are defined as follows:

A comma-separated list of RFC numbers or Internet-Draft names.

However, in practice, this has been implemented to allow whitespace. The specification should say that.

A further wrinkle though: we need to be very careful about what "whitespace" means. RFC 8996 includes several Unicode zero-width space characters (U+200b) in this attribute. That is technically whitespace, but it is not whitespace that python recognizes. Therefore, it is not stripped out by xml2rfc. This is currently causing problems in HTML generation.

@martinthomson
Copy link
Author

Oh, I realize that maybe "whitespace" implicitly follows the XML definition of white space, which only includes U+20, U+09, U+0a, and U+0d. That would line up with what python does.

@jrlevine
Copy link
Owner

updated draft

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

No branches or pull requests

2 participants