Commit graph

17 commits

Author SHA1 Message Date
Kristoffer Andersson
5a1ef42369 fix: make eq num nodes is unequal
fixes #99
2023-09-05 14:19:35 +02:00
Emmanuel Gil Peyrot
eb628704c0 minidom: Bump rxml
This was causing a memory corruption on closing tags for elements with a
name longer than 24 bytes.  I haven’t investigated why smartstring < 1
had this bug, but it got fixed in 1.0.0 so let’s use that.
2023-04-03 11:28:41 +02:00
eb3a62eb7e minidom: clear warning in failure_with_duplicate_namespace test
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-15 18:48:21 +01:00
8977745fe3
Fixes #44: Two prefixes resolving to the same namespace
The new TreeBuilder addition seems to have fixed this bug. I added the
test that was provided in !108 by Oliver Inemar but not the rest of the
code.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-14 22:32:00 +01:00
93174f97ec
minidom: Allow passing prefixes alongside a reader
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-09 13:40:18 +01:00
Michel Alexandre Salim
940f1bc295 Remove doc references to quick-xml, update CHANGELOG
`minidom` no longer uses it since !154. Also, CHANGELOG was not updated
for 0.15.0 and still referenced 0.14.0; take a stab at documenting what
has changed.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-12-30 14:29:15 +00:00
Jonas Schäfer
ea366c2334 Rip out quick-xml 2022-04-24 13:27:48 +02:00
Astro
568a7c2611 minidom: remove unused parser module 2022-04-19 20:45:44 +02:00
Astro
d4a5a8247b minidom, tokio-xmpp: switch xml parsing to rxml 2022-04-19 20:42:30 +02:00
281f1bd195 minidom: un-ignore doctest in lib.rs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-22 17:12:54 +01:00
Bastien Orivel
56363714fb Update quick-xml to 0.22 and bump version 2021-12-28 16:04:12 +00:00
Emmanuel Gil Peyrot
7ddf5e5c33 minidom: Replace IPv4 test with IPv6
This makes the tests pass again on nightly, and avoids using legacy IP
while we have glorious IPv6 support everywhere nowadays.

See also https://github.com/rust-lang/rust/issues/90199
2021-12-01 18:21:34 +01:00
16292e1e6f
minidom: specify again that we handle XMPP primarily
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-11-14 14:32:19 +01:00
Emmanuel Gil Peyrot
4e914e5d3a minidom: Fix some issues reported by clippy 2021-10-11 16:17:09 +02:00
Jasper Hugo
ebf1091cf1 Handle identical namespaces of sibling elements correctly
Fixes #48
2021-10-11 06:34:14 +00:00
Paul Fariello
204b1f38eb Fix Element::ns() doc 2021-10-06 18:47:46 +02:00
Emmanuel Gil Peyrot
714d850e69 Remove the -rs suffix of jid, minidom and xmpp
We know those are Rust libraries, no need to add it to the path.  This
synchronises their directory with the crate name, hopefully reducing
confusion.
2020-06-22 02:17:32 +02:00