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

I'm not sure if I'm missing something, but all format types return the same plan string and not a well formatted xml with indentation

Hello, I try to read an element list via an untagged enum. Unfortunately, I end up in the error "Custom { field: "data did not match any variant of untagged...

example: ``` #[cfg(test)] mod tests { use super::*; #[test] fn deserialize() { let item_string = r##""##; let item: Item = serde_xml_rs::from_str(item_string).unwrap(); assert_eq!( item, Item { name: "hello".to_string(), source: "world.rs".to_string() }...

I'm trying to deserialize some dictionary defitnitions and came across this one which contains mixed multiple tags with normal string (html text formatting). ```xml 1 〔学業・技術などの能力判定〕 an examination; a test;...

For example, consider a directory which can contain directories and files. We try to declare recursive enum and struct: ```rust #[derive(Deserialize, Debug)] #[serde(rename_all="lowercase")] enum Inode { File { name: String,...

Do you plan to implement a functionality to create classes from a xsd schema? Of course that is not the main task of a xml-serializer/deserializer. But I think it would...

```rust failures: ---- README.md - serde_xml_rs::Usage (line 11) stdout ---- error[E0464]: multiple matching crates for `serde_xml_rs` --> README.md:15:1 | 5 | extern crate serde_xml_rs; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: candidates:...

help wanted

Do you have any way to get namespace during deserialisation ? And to add prefixes (and definition) of them for serialisation ?

The following working example reproduces the problem. In a nutshell, there seems to be a problem with converting strings to the types inside `struct Inner` but only when it is...

Using a slight modification of the code from the README and version 0.4.0: ```rust #[macro_use] extern crate serde; extern crate serde_xml_rs; use serde_xml_rs::from_reader; #[derive(Debug, Deserialize)] struct Item { pub name:...