Error log for API xmlSAXUserParseFile()
src/imm/immloadd/imm_loader.cc: In function 'int loadImmXML(std::__cxx11::string, std::__cxx11::string, SaUint32T*)':
src/imm/immloadd/imm_loader.cc:2046:68: error: 'int xmlSAXUserParseFile(xmlSAXHandlerPtr, void*, const char*)' is deprecated [-Werror=deprecated-declarations]
error = xmlSAXUserParseFile(&my_handler, &state, filename.c_str());
^
In file included from src/imm/immloadd/imm_loader.cc:26:0:
/usr/include/libxml2/libxml/parser.h:1005:3: note: declared here
xmlSAXUserParseFile (xmlSAXHandlerPtr sax,
^~~~~~~~~~~~~~~~~~~
It’s deprecated because:
Patch reference attached.
Diff:
commit 6b74478d0dfd4833cc6ab45b8e7360fa138546e0 (HEAD -> develop, origin/develop)
Author: khuonglb khuong.b.le@endava.com
Date: Mon Mar 16 16:27:12 2026 +0700