Skip to content

Unify reader::XmlEvent and writer::XmlEvent #144

Open
@whitequark

Description

@whitequark

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 more Cows).

It also seems (to me) that the result would be more elegant, and easier to work with in downstream code, but I understand that I may be missing something.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions