diff options
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/xml/reader.rs | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -15,7 +15,7 @@ serde_serialization = ["serde"] [dependencies] rustc-serialize = "0.3.19" -xml-rs = "0.3.4" +xml-rs = "0.3.8" byteorder = "0.5.3" chrono = "0.2.22" serde = { version = "0.9.5", optional = true } diff --git a/src/xml/reader.rs b/src/xml/reader.rs index d82400d..265ac11 100644 --- a/src/xml/reader.rs +++ b/src/xml/reader.rs @@ -3,6 +3,7 @@ use chrono::format::ParseError as ChronoParseError; use rustc_serialize::base64::FromBase64; use std::io::Read; use std::str::FromStr; +use std::collections::HashMap; use xml_rs::reader::{EventReader as XmlEventReader, ParserConfig, XmlEvent}; use {Error, Result, PlistEvent}; @@ -28,6 +29,7 @@ impl<R: Read> EventReader<R> { cdata_to_characters: true, ignore_comments: true, coalesce_characters: true, + extra_entities: HashMap::default(), }; EventReader { |
