From 940e59939d05c149da915a867e9f20eb9c5182b4 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Fri, 26 Aug 2022 04:32:18 +0200 Subject: [PATCH] Don't mess with xmlDefaultSAXHandler This is deprecated and shouldn't have any effect. --- python/libxslt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/python/libxslt.c b/python/libxslt.c index 353939e3..0758d606 100644 --- a/python/libxslt.c +++ b/python/libxslt.c @@ -1280,7 +1280,6 @@ void initlibxsltmod(void) { */ libxslt_xsltErrorInitialize(); xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS; - xmlDefaultSAXHandler.cdataBlock = NULL; /* * Register the EXSLT extensions and the test module */