ebarnard / rust-plist

A rusty plist parser.
MIT License
71 stars 42 forks source link

Add .pad_self_closing(false) to improve compatibility with Apple's XML parser #66

Closed kristopherjohnson closed 3 years ago

kristopherjohnson commented 3 years ago

Adds .pad_self_closing(false) to the initialization of the EmitterConfig used by stream::XmlWriter.

This change causes self-closing tags to be generated as, for example, <true/> rather than <true />. Apple XML parser used by the codesign utility does not accept the later as valid.

See #65 for discussion.

ebarnard commented 3 years ago

Looks like a dependency update has bumped the MSRV again.

ebarnard commented 3 years ago

Try rebasing atop master now

kristopherjohnson commented 3 years ago

Done.

ebarnard commented 3 years ago

Thanks, merged via 1a9bf1e9.

ebarnard commented 3 years ago

Released in 1.2.0.