[evolution-data-server] I#141 - e_xml_parse_data: Recover from XML errors if possible
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] I#141 - e_xml_parse_data: Recover from XML errors if possible
- Date: Mon, 19 Aug 2019 12:01:57 +0000 (UTC)
commit ddfbb05fd281172633315b0896a40d52497022d6
Author: Milan Crha <mcrha redhat com>
Date: Mon Aug 19 14:01:33 2019 +0200
I#141 - e_xml_parse_data: Recover from XML errors if possible
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/141
src/libedataserver/e-xml-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libedataserver/e-xml-utils.c b/src/libedataserver/e-xml-utils.c
index cf4af1615..4d58142dd 100644
--- a/src/libedataserver/e-xml-utils.c
+++ b/src/libedataserver/e-xml-utils.c
@@ -222,7 +222,7 @@ e_xml_parse_data (gconstpointer data,
g_return_val_if_fail (data != NULL, NULL);
g_return_val_if_fail (length > 0, NULL);
- return xmlReadMemory (data, length, "data.xml", NULL, XML_PARSE_NOWARNING);
+ return xmlReadMemory (data, length, "data.xml", NULL, XML_PARSE_NOWARNING | XML_PARSE_RECOVER);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]