RReverser / serde-xml-rs

xml-rs based deserializer for Serde (compatible with 1.0+)
https://crates.io/crates/serde-xml-rs
MIT License
269 stars 90 forks source link

You've found a bug in xml-rs, caused by calls to push_pos() in states that don't end up emitting events #205

Open Azel-ytof opened 1 year ago

Azel-ytof commented 1 year ago

Hi !

I have this message printing when I run my app with cargo run --bin ..., but not in production (as it is said - ignored in release mode) :

thread 'rocket-worker-thread' panicked at 'You've found a bug in xml-rs, caused by calls to push_pos() in states that don't end up emitting events.
            This case is ignored in release mode, and merely causes document positions to be out of sync.
            Please file a bug and include the XML document that triggers this assert.', /home/antlau/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.8.14/src/reader/parser/outside_tag.rs:100:26

So here I am to file a bug. The problem is that the file is heavy (8262 lines), comes from outside and contains some client datas.

So tell me what you need and I'll try to give you the more informations I can.