xml-rs
xml-rs copied to clipboard
An XML library in Rust
I'm trying to parse an autosar-dcf file which starts like this: ```xml ]> ```` I get `Error { pos: 4:2, kind: Syntax("Unexpected token \'
Are there any preliminary thoughts/notes on how the XML Schema and DTD validation should be integrated into the project?
Is the way to catch empty tag? I have XML like this ``` some text ``` And I want to known where `a` tag is empty. I counted that empty...
Every crate on crates.io is for Rust :smile: no reason for the -rs suffix.
It would be valuable for people looking for xml library to see what alternatives are out there. choose-your-xml-rs seems like the best place to do this right now.
A nice feature to improve minification would to let `emit_attributes()` choose to use either a single or double quoted form for attribute values depending on the presence of double or...
When running `cargo test` on Windows 10 I'm seeing the following errors: > > ---- sample_1_full stdout ---- > thread 'sample_1_full' panicked at ' > ------------------- > Unexpected event at...
Currently the library appears to completely ignore doctypes, skipping over them. Is this an intended limitation of xml-rs, or something that should be added?
In [trying to write a general Element type](https://github.com/QuietMisdreavus/sulfate-xml), i realized that if i wrote a `fmt::Display` implementation for it, certain methods of serialization would be much easier. However, i hit...
While I was fuzzing my [XMPP parser](https://hg.linkmauve.fr/xmpp-parsers), I found an invalid sample: ```xml ``` This is parsed the same way as this valid sample: ```xml ``` It would be useful...