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 get the following error messages when I read a DOS-UTF8 XML file in a Rust program that uses rust-xml, on Windows 7: ``` Running `target\rust-xml-w` Error: 1:2: Unexpected characters...

absolutely required
architecture

This library still needs a way to construct a Document Object Model tree. I have been experimenting with the library and looking for ways to implement it. My initial idea...

feature
absolutely required

The sequence `--` must not occur within a comment, but xml-rs fails to return an error when emitted with `EventWriter` in an `XmlEvent::Comment`. xml-rs correctly gives an error when attempting...

bug
would be nice to have

I think it's possible to eliminate the Name/OwnedName, Attribute/OwnedAttribute, reader::XmlEvent/writer::XmlEvent, etc, dualities by switching their fields to use Cow everywhere, and then replacing reader::XmlEvent with writer::XmlEvent (and adding a few...

would be nice to have
architecture

Hi, In lots of languages (Python, Ruby,...), it's easy to query an xml element attribute by giving its name, using a dict (in Python) or a hash (in Ruby) to...

feature
would be nice to have

`StartElementBuilder` allows for duplicated and unnamed attrubutes. For example: ```Rust let element = XmlEvent::start_element("MyElement") .attr("", "") .attr("", "foo") .attr("bar", "foo") .attr("bar", "") ``` Results with: ```XML ```

xml-rs is accepting documents with multiple root nodes while the [XML specifications says that a document must have a unique root](https://www.w3.org/TR/xml/#NT-document). For instance, the following program ``` rust extern crate...

bug

Hello, because when you have a fixed version of a lib, it's easier to have the possibilities to check the sources on the repository. Adding the tag of version give...

It seems that there are problems with bitflags package compatibility with Rust versions, which causes various issues in downstream crates. xml-rs uses bitflags in a very limited way internally, so...

desirable
architecture

For cases when the document has zero-length, add a separate ErrorKind. This will simplify the error handling.