xml-rs v0.8.3 Release Notes

Release Date: 2020-04-27 // 3 months ago
    • Added a new parser option, ignore_root_level_whitespace, which makes the parser skip emitting whitespace events outside of the root element when set to true. This helps with certain tasks like canonicalization.

Previous changes from v0.8.2

    • Added a new parser option, replace_unknown_entity_references, which allows to ignore invalid Unicode code points and replace them with a Unicode "replacement character" during parsing. This can be helpful to deal with e.g. UTF-16 surrogate pairs.
    • Added a new emitter option, pad_self_closing, which determines the style of the self-closing elements when they are emitted: <a /> (true) vs <a/> (false).