serde-xml-rs
serde-xml-rs copied to clipboard
xml-rs based deserializer for Serde (compatible with 1.0+)
```rust // [package] // name = "xml_vs_json" // version = "0.1.0" // edition = "2021" // [dependencies] // eyre = "0.6.12" // quick-xml = { version = "0.31.0", features =...
UnexpectedToken Error decoding xml that has a `<br />` tag in it (fetched from a jenkins config.xml)
I fetch a more complex config.xml from jenkins, and distilled it down to this test case. simplified xml `test_failing_description.xml` ```xml Text ``` test ``` #[rstest] fn test_failing_description() { #[derive(Debug, Deserialize)]...
A major limitation of serde-xml-rs right now seems to be that there is absolutely no way of parsing or limiting the root element’s name. As a practical example where this...
Allow serializing and deserializing XML comments. Something similar in design to supporting text nodes especially in mixed content (see #227). A field or variant could be renamed to `#comment` to...
Support deserializing and serializing sequences containing both text and elements. For example: ```xml some textitalicsmore text ```