Kaydet (Commit) d1195c09 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

orcus: xml header is only mandatory in xml 1.1+

Change-Id: I28aa8a2f340cb1a100dfa5d10d8d6e9b8dac2479
Reviewed-on: https://gerrit.libreoffice.org/41080Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 2d05d0ed
......@@ -19,6 +19,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,liborcus,\
external/liborcus/visibility.patch.0 \
external/liborcus/iOS.patch \
external/liborcus/nullptr-in-ostringstream.patch.1 \
external/liborcus/orcus_allow_missing_xml_header.patch.1 \
))
ifeq ($(OS),WNT)
......
diff -ur liborcus.org/include/orcus/sax_parser.hpp liborcus/include/orcus/sax_parser.hpp
--- liborcus.org/include/orcus/sax_parser.hpp 2017-08-12 09:44:21.379509116 +0200
+++ liborcus/include/orcus/sax_parser.hpp 2017-08-12 09:46:06.884259216 +0200
@@ -20,7 +20,7 @@
* parsing regardless of whether or not the xml stream begins with a
* <?xml..?> declaration.
*/
- static const bool strict_xml_declaration = true;
+ static const bool strict_xml_declaration = false;
};
/**
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment