xml-rs
xml-rs copied to clipboard
An XML library in Rust
Found through fuzzing and minimized the test case manually. Sample program (Tested against 0.8.3 on crates.io as well as the latest version from git (df46cd4)) ```rust fn main() { let...
Hi, it may be my fault, but I was unable to pretty print a xml with "println!" and this library, I can see that the main examples focus on files,...
I noticed that the xml files produced by this library don't respect unix line endings. Most lines are ok except the last one wich doesn't end with a newline character....
Prefer raw string literals over strings containing special characters that require escaping
Hi, I'm having trouble working out the performance of dfferent XML libraries. VTD XML says on a "Core2 2.5Ghz Desktop, VTD-XML outperforms DOM parsers by 5x~12x, delivering 150~250 MB/sec per...
Hello! :-) I would like to make a tiny tool, that reformats XML in a specific format, well suited for diffing/storing it in git and the like. We currently need...
The sequence `]]>` must not occur in PCDATA, but xml-rs fails to escape the `>` in this sequence when emitted with `EventWriter` in an `XmlEvent::Characters`. xml-rs correctly gives an error...
Apparently comments may not appear before the `
This would help the event processor orient itself in the input stream (perhaps it needs to output some error message that does not pertain to the syntax).
As documented here: ![image](https://user-images.githubusercontent.com/3190756/61062145-81480e00-a3b2-11e9-9082-352fb69be185.png) StartDocument must always be the first event emitted. However, this code: ``` println!( "{:?}", xml::EventReader::from_str(";