summaryrefslogtreecommitdiff
path: root/chromium/third_party/libxml/src/include/libxml/tree.h
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2022-12-21 13:43:40 +0100
committerMichael BrĂ¼ning <michael.bruning@qt.io>2023-01-12 12:02:43 +0000
commit97a1254923022e66fa75245c3ace64f58112cba6 (patch)
tree9197c3b414e24ca77d34abc1b7794776dc9df742 /chromium/third_party/libxml/src/include/libxml/tree.h
parent28a1b2eb95e06bc4dd8c93bb61106e35eaf715c7 (diff)
downloadqtwebengine-chromium-97a1254923022e66fa75245c3ace64f58112cba6.tar.gz
[Backport] Security bug 1394382
Manually update libxml to the version 2.9.13 and the sha1 used on 102-based. Change-Id: I699696b395258a6ba3a1a9b2f48d10036f2b638f Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/450083 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/third_party/libxml/src/include/libxml/tree.h')
-rw-r--r--chromium/third_party/libxml/src/include/libxml/tree.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/third_party/libxml/src/include/libxml/tree.h b/chromium/third_party/libxml/src/include/libxml/tree.h
index 9823654ac8f..4147522cdba 100644
--- a/chromium/third_party/libxml/src/include/libxml/tree.h
+++ b/chromium/third_party/libxml/src/include/libxml/tree.h
@@ -177,11 +177,13 @@ typedef enum {
XML_NAMESPACE_DECL= 18,
XML_XINCLUDE_START= 19,
XML_XINCLUDE_END= 20
-#ifdef LIBXML_DOCB_ENABLED
- ,XML_DOCB_DOCUMENT_NODE= 21
-#endif
+ /* XML_DOCB_DOCUMENT_NODE= 21 */ /* removed */
} xmlElementType;
+/** DOC_DISABLE */
+/* For backward compatibility */
+#define XML_DOCB_DOCUMENT_NODE 21
+/** DOC_ENABLE */
/**
* xmlNotation:
@@ -659,7 +661,7 @@ struct _xmlDOMWrapCtxt {
defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_DEBUG_ENABLED) || \
defined (LIBXML_HTML_ENABLED) || defined(LIBXML_SAX1_ENABLED) || \
defined(LIBXML_HTML_ENABLED) || defined(LIBXML_WRITER_ENABLED) || \
- defined(LIBXML_DOCB_ENABLED) || defined(LIBXML_LEGACY_ENABLED)
+ defined(LIBXML_LEGACY_ENABLED)
XMLPUBFUN int XMLCALL
xmlValidateNCName (const xmlChar *value,
int space);