serde-xml-rs icon indicating copy to clipboard operation
serde-xml-rs copied to clipboard

xml-rs based deserializer for Serde (compatible with 1.0+)

Results 105 serde-xml-rs issues
Sort by recently updated
recently updated
newest added

This is a considerable problem when trying to parse DTDs. Replacing the colons with underscores allows for parsing otherwise.

I'm deserializing an XML file into structs, and it's working beautifully, but when the XML file doesn't match the expected format, the errors only say something like "custom: 'missing field...

I have a field that is sometimes missing, and otherwise it has to be parsed to bool from either "1" or "0". This particular requirement isn't natively supported by serde,...

Given structured data as follows: ```xml macintosh grannysmith yukon russet bosc bartlett ``` The following code can deserialize it as structures but not tagged enums. Using version 0.2.1 from crates.io/cargo:...

Consider this piece of code: ```rust use serde_derive::{Serialize, Deserialize}; use serde_json::Value; use std::collections::HashMap; #[derive(Serialize, Deserialize, Debug)] #[serde(rename_all = "PascalCase")] struct Person { name: String, #[serde(flatten)] extra: HashMap, } #[derive(Serialize, Deserialize,...

If the file has a BOM header, the 'deserialize' will be failed. Report error like this: ``` Error { pos: 1:1, kind: Syntax("Unexpected characters outside the root element: \u{feff}") }...

bug

I try to create a wrapper for Soap messages. To do that I need the ability to have different structs for headers and body. The end goal is to let...

We no longer need to say macro_use.

I'm writing a code generator for xml-schemas and I'm in the process of trying to sort out the namespace that an element or type may be associated with. Unfortunately without...

https://docs.rs/serde-xml-rs/0.2.1/serde_xml_rs/ needs a more helpful landing page.