small changes to regression tests and xml namespaces

This commit is contained in:
Lennart
2025-12-31 01:43:03 +01:00
parent 9fc099f6f4
commit cf31a51965
16 changed files with 337 additions and 344 deletions

View File

@@ -42,13 +42,6 @@ pub enum PropstatWrapper<T: XmlSerialize> {
// responsedescription?) >
#[derive(XmlSerialize, XmlRootTag, Debug)]
#[xml(ns = "crate::namespace::NS_DAV", root = "response")]
#[xml(ns_prefix(
crate::namespace::NS_DAV = "",
crate::namespace::NS_CARDDAV = "CARD",
crate::namespace::NS_CALDAV = "CAL",
crate::namespace::NS_CALENDARSERVER = "CS",
crate::namespace::NS_DAVPUSH = "PUSH"
))]
pub struct ResponseElement<PropstatType: XmlSerialize> {
pub href: String,
#[xml(serialize_with = "xml_serialize_optional_status")]