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

Should <start-of-line> match after a byte order mark? #325

Open
andrewhickman opened this issue Feb 12, 2024 · 0 comments
Open

Should <start-of-line> match after a byte order mark? #325

andrewhickman opened this issue Feb 12, 2024 · 0 comments

Comments

@andrewhickman
Copy link

andrewhickman commented Feb 12, 2024

Consider these two documents:

The reference parser doesn't consider them valid unless a separating space is added after the byte order mark, which seems weird. I wouldn't expect the presence of a BOM to affect anything other than the chosen encoding.

Perhaps it should be specified that <start-of-line> matches after a BOM, so that no separator is required?

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

1 participant