mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +03:00
apply patch from Gary Coady to compile when libxml2 has no xinclude
* xsltproc/xsltproc.c: apply patch from Gary Coady to compile when libxml2 has no xinclude support #319886 * docs/*: renamed Gnome to GNOME fixes #352159 Daniel
This commit is contained in:
@ -391,8 +391,10 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
|
||||
if (ctxt == NULL)
|
||||
return;
|
||||
xsltSetCtxtParseOptions(ctxt, options);
|
||||
#ifdef LIBXML_XINCLUDE_ENABLED
|
||||
if (xinclude)
|
||||
ctxt->xinclude = 1;
|
||||
#endif
|
||||
if (profile) {
|
||||
res = xsltApplyStylesheetUser(cur, doc, params, NULL,
|
||||
stderr, ctxt);
|
||||
|
Reference in New Issue
Block a user