diff options
Diffstat (limited to 'xinclude.c')
-rw-r--r-- | xinclude.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -611,7 +611,7 @@ xmlXIncludeAddNode(xmlXIncludeCtxtPtr ctxt, xmlNodePtr cur) { /* * Check the URL against the stack for recursions */ - if (!local) { + if ((!local) && (xml == 1)) { for (i = 0;i < ctxt->urlNr;i++) { if (xmlStrEqual(URL, ctxt->urlTab[i])) { xmlXIncludeErr(ctxt, cur, XML_XINCLUDE_RECURSION, |