-
Notifications
You must be signed in to change notification settings - Fork 231
-
Notifications
You must be signed in to change notification settings - Fork 231
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
Handling of control characters #368
Labels
Comments
Mingun
added a commit
to Mingun/quick-xml
that referenced
this issue
Oct 1, 2022
Merged
Mingun
added a commit
to Mingun/quick-xml
that referenced
this issue
Oct 26, 2022
Draft
JOSEPHGILBY
pushed a commit
to JOSEPHGILBY/quick-xml
that referenced
this issue
Nov 5, 2022
JOSEPHGILBY
pushed a commit
to JOSEPHGILBY/quick-xml
that referenced
this issue
Nov 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
XML 1.0 disallows most kinds of control characters. XML 1.1 allows some control characters, but only when they've been encoded as numeric character references.
There should probably be some way to encode these provided at minimum, or maybe prevent the writer from writing them. I haven't gotten around to checking whether the reader checks for this yet, but libxml2 seems to throw a warning / error when it encounters raw illegal control characters.
https://en.wikipedia.org/wiki/Valid_characters_in_XML
The text was updated successfully, but these errors were encountered: