We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The parser allows XML declarations anywhere in the file. If a declaration exists it should be at the very beginning of the file.
Also, only one declaration should be allowed.
Both of these constraints are not currently enforced.
More info on the validity of xml declarations is here.
The text was updated successfully, but these errors were encountered:
I think, this is by desing, but we can have a setting to enforce checks, and definitely should have this checks for serde deserializer
Sorry, something went wrong.
It would also be useful to have a Reader/NSReader capable of enforcing such a thing for when I know there is only one document in a file/str source.
Yeah, I say exactly this -- add a setting to enforce this behavior
No branches or pull requests
The parser allows XML declarations anywhere in the file. If a declaration exists it should be at the very beginning of the file.
Also, only one declaration should be allowed.
Both of these constraints are not currently enforced.
More info on the validity of xml declarations is here.
The text was updated successfully, but these errors were encountered: