aboutsummaryrefslogtreecommitdiffstats
path: root/core/uploadDiveLogsDE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/uploadDiveLogsDE.cpp')
-rw-r--r--core/uploadDiveLogsDE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uploadDiveLogsDE.cpp b/core/uploadDiveLogsDE.cpp
index 18377698d..07f799edf 100644
--- a/core/uploadDiveLogsDE.cpp
+++ b/core/uploadDiveLogsDE.cpp
@@ -142,7 +142,7 @@ bool uploadDiveLogsDE::prepareDives(const QString &tempfile, bool selected)
* transform it to divelogs.de format, finally dumping
* the XML into a character buffer.
*/
- xmlDoc *doc = xmlReadMemory(mb.buffer, mb.len, "divelog", NULL, 0);
+ xmlDoc *doc = xmlReadMemory(mb.buffer, mb.len, "divelog", NULL, XML_PARSE_HUGE | XML_PARSE_RECOVER);
if (!doc) {
qWarning() << errPrefix << "could not parse back into memory the XML file we've just created!";
report_error(tr("internal error").toUtf8());