xml-rs icon indicating copy to clipboard operation
xml-rs copied to clipboard

An XML library in Rust

Results 53 xml-rs issues
Sort by recently updated
recently updated
newest added

I'm trying to parse an autosar-dcf file which starts like this: ```xml ]> ```` I get `Error { pos: 4:2, kind: Syntax("Unexpected token \'

bug
desirable

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.

would be nice to have
infrastructure

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.

desirable
infrastructure

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...

feature
would be nice to have

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...

bug

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?

feature
absolutely required

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...

feature
would be nice to have

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...

bug