[libxslt] Don't mess with xmlDefaultSAXHandler



commit 940e59939d05c149da915a867e9f20eb9c5182b4
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Fri Aug 26 04:32:18 2022 +0200

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]