mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-03 00:42:24 +03:00
Stop calling deprecated libxml2 init functions
This commit is contained in:
@ -637,7 +637,6 @@ xsltNewTransformContext(xsltStylesheetPtr style, xmlDocPtr doc) {
|
||||
cur->prof = 0;
|
||||
|
||||
cur->style = style;
|
||||
xmlXPathInit();
|
||||
cur->xpathCtxt = xmlXPathNewContext(doc);
|
||||
if (cur->xpathCtxt == NULL) {
|
||||
xsltTransformError(NULL, NULL, (xmlNodePtr) doc,
|
||||
|
@ -1279,7 +1279,6 @@ void initlibxsltmod(void) {
|
||||
* Specific XSLT initializations
|
||||
*/
|
||||
libxslt_xsltErrorInitialize();
|
||||
xmlInitMemory();
|
||||
xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
|
||||
xmlDefaultSAXHandler.cdataBlock = NULL;
|
||||
/*
|
||||
|
@ -53,7 +53,6 @@ static void
|
||||
xsltFuzzInit(void) {
|
||||
/* Init libxml2, libxslt and libexslt */
|
||||
xmlInitParser();
|
||||
xmlXPathInit();
|
||||
xsltInit();
|
||||
exsltRegisterAll();
|
||||
|
||||
|
@ -565,7 +565,6 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
srand(time(NULL));
|
||||
xmlInitMemory();
|
||||
|
||||
#if defined(_WIN32) && !defined(__CYGINW__)
|
||||
setmode(fileno(stdout), O_BINARY);
|
||||
|
Reference in New Issue
Block a user