diff --git a/minidom/Cargo.toml b/minidom/Cargo.toml
index b61523b5af24a6d1246d952df09382e09641e49c..5b74baa3fdc384f2520d454388d82506d054d7f6 100644
--- a/minidom/Cargo.toml
+++ b/minidom/Cargo.toml
@@ -21,4 +21,4 @@ edition = "2018"
gitlab = { repository = "xmpp-rs/xmpp-rs" }
[dependencies]
-rxml = "^0.8.0"
+rxml = "0.9.1"
diff --git a/minidom/src/tests.rs b/minidom/src/tests.rs
index d209c0b42e5619812804c0679f67b4c97f66d5f5..160fdd3080a1f5c2d979343b5537717e7f8e49da 100644
--- a/minidom/src/tests.rs
+++ b/minidom/src/tests.rs
@@ -452,3 +452,15 @@ fn missing_namespace_error() {
err => panic!("No or wrong error: {:?}", err),
}
}
+
+#[test]
+fn misserialisation() {
+ let xml =
+ "vp9";
+ //let elem = xml.parse::().unwrap();
+ let elem = Element::builder("jitsi_participant_codecType", "jabber:client")
+ .append("vp9")
+ .build();
+ let data = String::from(&elem);
+ assert_eq!(xml, data);
+}
diff --git a/tokio-xmpp/Cargo.toml b/tokio-xmpp/Cargo.toml
index 2f9b06fe79147fb70b16f7e37ac796dbfdf56f0a..06eaedd7ac566b33286bc15d05b79929660efa71 100644
--- a/tokio-xmpp/Cargo.toml
+++ b/tokio-xmpp/Cargo.toml
@@ -27,7 +27,7 @@ trust-dns-proto = "0.22"
trust-dns-resolver = "0.22"
xmpp-parsers = "0.19"
minidom = "0.15"
-rxml = "^0.8.0"
+rxml = "0.9.1"
webpki-roots = { version = "0.22", optional = true }
rand = "^0.8"