xmpp-rs/minidom-rs
Maxime “pep” Buquet 1f2d7aa99d minidom: Rework Prefixes internal structure
Change the mapping in Prefixes to Prefix -> Namespace instead of
Namespace -> Prefix. This allows us to not have duplicate prefixes
anymore, but requires us to store the prefix on Element. This prefix is
only taken as a hint anyway and used only when coming from the reader.

This commits also partially removes the possibility to add prefixes
when creating an Element via `Element::new`, `Element::builder` or
`Element::bare`. Proper errors should be added in the following commits.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-21 22:23:36 +02:00
..
examples minidom: add license headers 2020-02-15 00:52:26 +01:00
src minidom: Rework Prefixes internal structure 2020-04-21 22:23:36 +02:00
Cargo.toml minidom: Remove comments support. Forbid them as per XMPP RFC. 2020-03-26 20:50:30 +01:00
CHANGELOG.md minidom: 0.12.0 release 2020-02-15 01:05:56 +01:00
LICENSE minidom: Change license to MPL2. Closes #21 2020-02-14 23:25:06 +01:00
README.md minidom: Change license to MPL2. Closes #21 2020-02-14 23:25:06 +01:00

minidom-rs

What's this?

A minimal DOM library on top of quick-xml. targeting exclusively the subset of XML useful for XMPP.