summaryrefslogtreecommitdiff
path: root/xinclude.c
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2006-06-08 22:38:16 +0200
committerMike Hommey <glandium@debian.org>2006-06-08 22:38:16 +0200
commitef381f99921ea9fe00a07836b93f2a2bf865ca17 (patch)
tree62ec8494b6ba15713636b2731dd2f39cda762bc6 /xinclude.c
parent6b7b7b4a4490d2cde163e9d5fe7c04ce540022b0 (diff)
parenta7e9d3f37d5e9fba4b9acaa43e7c12b6d9a669ae (diff)
downloadlibxml2-debian/2.6.26.dfsg-1.tar.gz
* New upstream release.debian/2.6.26.dfsg-1
* debian/rules: + Added -fno-strict-aliasing to the CFLAGS. + Use dpkg-architecture to feed configure. + Bumped shlibs to current version, since new symbol for XPath cache has been added. * debian/control: Bumped Standards-Version to 3.7.2.0. No changes required.
Diffstat (limited to 'xinclude.c')
-rw-r--r--xinclude.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xinclude.c b/xinclude.c
index 21670a9..d5bba6e 100644
--- a/xinclude.c
+++ b/xinclude.c
@@ -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,