diff --git a/Cargo.lock b/Cargo.lock index 07071e67..31eaecfc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -304,9 +304,9 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.39.2" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958f21e8e7ceb5a1aa7fa87fab28e7c75976e0bfe7e23ff069e0a260f894067d" +checksum = "2474bd2e5029e7ccb6abb2ba48cf2383a333851dedf495901544281590c7da7f" dependencies = [ "memchr", ] diff --git a/Cargo.toml b/Cargo.toml index beda638d..fefd1a33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ edition = "2024" [dependencies] encoding_rs_io = "0.1.7" rayon = "1.12.0" -quick-xml = "0.39.2" +quick-xml = "0.40.1" regex = "1.12.3" clap = { version = "4.6.1", features = ["derive"] } anyhow = "1.0.102" diff --git a/src/utils/xml_utils.rs b/src/utils/xml_utils.rs index 59780c57..5180a902 100644 --- a/src/utils/xml_utils.rs +++ b/src/utils/xml_utils.rs @@ -353,7 +353,7 @@ pub fn extract_values_from_xml_paths( .find(|a| a.key.as_ref() == attr_name.as_bytes()) { let value = attr - .unescape_value() + .normalized_value(quick_xml::XmlVersion::Implicit1_0) .map_err(|e| format!("Unescape error: {e}"))?; results[i] = if path.starts_with(&["Relationship", "LeftTable"]) || path.starts_with(&["Relationship", "RightTable"])