summaryrefslogtreecommitdiffstats
path: root/kxsldbg
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-10-24 02:18:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-10-28 01:09:34 +0100
commitf2af844aaa03ddae8955c4100dc0df36277bef7a (patch)
tree370e8f6889bb0906ac2dbc7dbd651ca9ca0c09f8 /kxsldbg
parent4c36f294205b834f237e27c97a5abae1d67511a5 (diff)
downloadtdewebdev-f2af844aaa03ddae8955c4100dc0df36277bef7a.tar.gz
tdewebdev-f2af844aaa03ddae8955c4100dc0df36277bef7a.zip
kxsldbg: Remove obsolete initialization of SAX1 parser.
The call does not do any operation and causes FTBFS with libxml2 >= 2.13.0. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 1fa52261f7255bf5e44b337d1605c48ea356eb7b)
Diffstat (limited to 'kxsldbg')
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp
index d05281f5..8b1e7063 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp
@@ -1220,12 +1220,6 @@ xsldbgInit()
xsltSetGenericErrorFunc(0, xsldbgGenericErrorFunc);
#endif
- /*
- * disable CDATA from being built in the document tree
- */
- xmlDefaultSAXHandlerInit();
- xmlDefaultSAXHandler.cdataBlock = NULL;
-
if (getThreadStatus() != XSLDBG_MSG_THREAD_NOTUSED) {
initialized = 1;
return 1; /* this is all we need to do when running as a thread */