Files
loongoffice/external/liborcus/orcus_allow_missing_xml_header.patch.1
Markus Mohrhard d1195c0971 orcus: xml header is only mandatory in xml 1.1+
Change-Id: I28aa8a2f340cb1a100dfa5d10d8d6e9b8dac2479
Reviewed-on: https://gerrit.libreoffice.org/41080
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-08-12 12:12:57 +02:00

13 lines
501 B
Groff

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;
};
/**