-
Notifications
You must be signed in to change notification settings - Fork 42
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
XML output does not include DOCTYPE #26
Comments
Apple's plist code also doesn't indent the child of the Ultimately, I'd like to be able to deserialize a plist created from Apple's tools, and then reserialize it, and end up with the exact same file (modulo dictionary key order). |
It appears as though Apple's code also indents using hard tabs. |
I looked into implementing the DOCTYPE part myself and it doesn't really appear doable with xml-rs. I filed netvl/xml-rs#168 on their end, but in the meantime it looks like the only way to do this is to write out the raw text to the writer prior to constructing the |
A proper plist includes a DOCTYPE
The output from this crates does not include this doctype.
Also, less importantly, the output from Apple's plist code capitalizes the encoding name, i.e.
but the output from this crate lowercases it.
The text was updated successfully, but these errors were encountered: