32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 6edca2c37e280b3ce15e776ffabf70f11abf2966 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Berkay=20Eren=20=C3=9Cr=C3=BCn?= <berkay.ueruen@siemens.com>
|
|
Date: Thu, 12 Dec 2024 14:06:44 +0100
|
|
Subject: [PATCH 2/7] Switch allowClosingDoctype
|
|
|
|
This change of allowClosingDoctype has no effect and only serves as a
|
|
preparation for the upcoming changes.
|
|
|
|
Reference: https://github.com/libexpat/libexpat/pull/973/commits/6edca2c37e280b3ce15e776ffabf70f11abf2966
|
|
Conflict: adapt internalEntityProcessor
|
|
|
|
---
|
|
lib/xmlparse.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/xmlparse.c b/lib/xmlparse.c
|
|
index 29843b0..10225e3 100644
|
|
--- a/lib/xmlparse.c
|
|
+++ b/lib/xmlparse.c
|
|
@@ -5944,7 +5944,7 @@ internalEntityProcessor(XML_Parser parser, const char *s, const char *end,
|
|
int tok
|
|
= XmlPrologTok(parser->m_internalEncoding, textStart, textEnd, &next);
|
|
result = doProlog(parser, parser->m_internalEncoding, textStart, textEnd,
|
|
- tok, next, &next, XML_FALSE, XML_TRUE,
|
|
+ tok, next, &next, XML_FALSE, XML_FALSE,
|
|
XML_ACCOUNT_ENTITY_EXPANSION);
|
|
} else
|
|
#endif /* XML_DTD */
|
|
--
|
|
2.33.0
|
|
|