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