👀 While it's loading, feel free to check out the other repositories:
🔔 To get a notification when it's ready, leave your email here:
By entering your email, you agree to receive notifications and marketing-related emails
Filter by reset
Normalize namespace declaration values in NamespaceResolver::push
NamespaceResolver::push passed the raw value of each xmlns / xmlns:p attribute to add , so character references and predefined entities in a namespace declaration were never expanded. Namespaces in XML defines the namespace name as the normalized …
johnozler-hunt · 2026-11-19 · 1 · #1048
namespaces
Use a randomly keyed hasher in the attribute duplicate check
johnozler-hunt · 2026-11-19 · 1 · #1050
codecov-commenter · 2026-11-19
Update maybe_xml dependency 0.3 -> 0.6
maybe_xml is still about 1.5x--2x faster that quick-xml in most tests, except those: rpm_other linescore test_writer_ident players Here is criterion report: comparison.zip
Mingun · 2023-10-17 · 1 · #668
Add new tests for syntax and ill-formed parser errors and fix... emm... errors
Mingun · 2023-11-22 · 1 · #684
bug
codecov-commenter · 2023-11-22
With serde, is it possible to get unknown variant names outside of a deserializing error?
I'm using serde to deserialize a file format that looks something like this: <root> <list> <type1>content</type1> <type2>a new and exciting content type </type2> <!-- etc --> </list> </root> This is easy to implement and I've done so using an enum because …
Dekkonot · 2023-06-05 · 3 · #602
questionserde
How would I parse character references as literal bytes and not codepoints?
Dekkonot · 2025-05-09 · 4 · #667
Mingun · 2023-10-16
Lifetime issue in new unbuffered logic
I have been trying out the new alpha version and I think I stumbled upon a kinda-bug. Somehow something that should be possible is not, I think because of the way lifetimes are indicated in some methods. I'm trying to find a fix, but to reproduce the …
stevenroose · 2022-08-15 · 3 · #329
snmpboy · 2025-06-13 · 2 · #867
questionserde
Mingun · 2025-06-13
Working with typetag for xs:choice / variant types?
This is a question, rather than an issue. I'd like to use typetag or a similar crate along with quick-xml, to deserialize a sequence of varying elements without hardcoding all the possible variants in an enum. <Data> <Foo a="abc" /> <Foo a="def" /> <Bar b …
furrz · 2025-07-22 · 1 · #880
questionserde
Using `flatten` and `rename="$value"` on adjacent fields causes error
ch1nq · 2024-06-11 · 3 · #326
bugserde
avantgardnerio · 2024-06-11
Add ability to deserialize serde types from `Reader`
When working with deeply nested xml, most of the time, we are only interested in a portion of the whole tree close to the leaf node. My idea is to extract the string of the target node and deserialize it with serde. But I can't find any convenient way to …
ndtoan96 · 2024-09-01 · 6 · #611
enhancementhelp wantedserde
Document Serde attribute mapping
lntutor · 2026-08-16 · 4 · #998
enhancementserdedocumentation
codecov-commenter · 2026-07-31
(De)serializing `xsi` attributes (`xsi:type`, `xsi:nil` etc.)
I'm currently working the following XML: <items> <Item xsi:type="Weapon">...</Item> <Item xsi:nil="true" /> <Item xsi:type="Shovel">...</Item> <Item xsi:nil="true" /> <Item xsi:nil="true" /> <Item xsi:nil="true" /> <Item xsi:type="Food">...</Item> </items …
furtidev · 2024-10-15 · 2 · #822
Fix couple of bugs in serde deserializer
Mingun · 2022-12-12 · 3 · #523
bugserde
codecov-commenter · 2022-12-11
Document Serde attribute mapping
Closes #804 Clarifies that the Serde XML mapping applies to serialization as well as deserialization, and links both the serializer and event-attribute modules to the existing mapping guide. The attribute docs also point out named @ fields and flattened …
lntutor · 2026-08-16 · 4 · #998
enhancementserdedocumentation
#[serde(rename = "$value")] for Enum Variants
marcfir · 2025-03-11 · 4 · #847
questionserde
Mingun · 2025-02-26
How to use value of e.name without temporary value dropped while borrowed error?
I'm new to Rust, I wanna store the name of the current tag in a variable, so I can create a HashMap using the name as key and its content as value, This is my code: fn parser() { let reader = Reader::from_file("12.xml"); if let Err(e) = reader { panic!("{ …
bangbaew · 2023-08-10 · 2 · #628
question
Add reserved namespace bindings.
wt · 2023-09-06 · 33 · #545
wt · 2023-06-07
Issue deserializing lists of enums using serde derive
I'm trying to parse xml with the structure <root><string>A</string><string>B</string></root> . I've tried to implement this using serde derive macros as its easier to maintain. The code I've tried is use serde::{Deserialize, Serialize}; #[derive(Serialize …
maddymakesgames · 2024-02-08 · 1 · #712
serdearrays
Working with typetag for xs:choice / variant types?
furrz · 2025-07-22 · 1 · #880
questionserde
Mingun · 2025-07-22
Fix processing instruction parsing
Handle the situation with parsing <?pi >?> . Previously we erroneously consume only <?pi > and return error about not closed processing instruction.
Mingun · 2026-03-31 · 1 · #753
bug
Deserialize array failed when tags discontinuous
Caisin · 2024-09-28 · 1 · #809
questionserdearrays
Mingun · 2024-09-28
Reject empty attribute names in attribute parsing and serde serialization: Attributes ( Attributes , AttrError::ExpectedName ): Return AttrError::ExpectedName(pos) in both XML and HTML modes when = appears where an attribute name is expected (such as < …
ychampion · 2026-11-19 · 7 · #1043
Make BytesCData decode method public
mematthias · 2025-04-26 · 2 · #857
codecov-commenter · 2025-04-26
Start rewrite serde serialization tests
Our serde serializer a far from ideal, but rewriting it requires a very long commit history, as I think (I already have 20 commits and I suspect that I'll double that count...). Because I'm not a big fan of long PRs, I propose that changes, that rewrites …
Mingun · 2022-09-04 · 3 · #468
serde
Deserializing to variant vector fields fails
MoSal · 2024-08-06 · 4 · #288
bugserdearrays
cpick · 2021-07-19
Remove ignored tests which produces warnings since serde 1.0.215
They are never will be implemented anyway. You need to implement deserialization manually if you want two xs:choice fields in your struct.
Mingun · 2024-11-22 · 0 · #833
Problem deserializing a struct that can be serialized
KorribanMaster · 2024-06-03 · 2 · #752
bughelp wantedserdearrays
KorribanMaster · 2024-06-03
`Reader
quick_xml::reader::Reader<R: BufRead> allows reading arbitrarily large files without allocating much memory. I am using this in combination with flate2::read::GzDecoder in order to decompress and simultaneously parse very large XML files (several …
tniessen · 2024-06-24 · 15 · #751
enhancementhelp wanted
Deserialization of a doctype with very long content fails
benoitryder · 2024-09-20 · 7 · #533
bughelp wanted
hecatia-elegua · 2023-05-19
How to pretty-print with serde?
Hello, I have the code below; when it runs, it results in the following output: seralized: <osm><node visible="true" timestamp="2022-02-17T13:55:16.184553291Z"><tag k="key1" v="value1"/><tag k="key2" v="value2"/></node></osm> I would like to print it in a …
troelsarvin · 2024-09-16 · 7 · #361
enhancementhelp wantedserde
Deserializing $primitive= gives some problems.
stchysh · 2024-10-08 · 1 · #817
questionserde
Mingun · 2024-10-08
quick-xml requires implicitly enabled `serde/derive`
It's impossible to depend on quick-xml/serialize without depending on serde/derive Details: #472
loyd · 2022-12-21 · 8 · #473
help wanted
ajtribick · 2021-08-11 · 3 · #259
tafia · 2021-02-08
Fix serde 1.0.181 compatibility
This PR reworks our mapping of enums to XML. Actually, it is more correct, because examples in our documentation was not checked and not worked. Summary of changes Rules: In $value field the representation is always the same as top-level representation; …
Mingun · 2023-10-20 · 3 · #669
Fix incorrect test for 580 and get rid of allocations in hot path
Mingun · 2023-10-09 · 1 · #662
serdeoptimization
codecov-commenter · 2023-10-07
Problems with reading XML from buffering reader
Here is an example fn main() { use quick_xml::events::Event; use quick_xml::reader::Reader; use std::io::BufReader; let xml = r###"<torrents> <torrent id="2" registred_at="2009.08.19 00:13:00" size="3"> <title>Заголовок</title> <torrent hash=" …
aegoroff · 2022-09-10 · 9 · #469
bughelp wanted
ychampion · 2026-11-19 · 7 · #1043
dralley · 2026-11-14
Track dashes across chunks correctly in CommentParser
CommentParser , which DtdParser uses to skip comments in the internal subset of a DOCTYPE, picked its state after a slice without --> from the previous state and only the last byte of the slice. With one dash seen at the end of the previous slice, a slice …
johnozler-hunt · 2026-11-18 · 1 · #1049
Normalize namespace declaration values in NamespaceResolver::push
johnozler-hunt · 2026-11-19 · 1 · #1048
namespaces
codecov-commenter · 2026-11-18