commit 43bbe3862be126ebf8ef84c4e30a0deb02b517e7 Author: Alexey Neyman Date: Mon Apr 8 12:41:02 2013 -0700 Remove premature check on URI being relative (gives false negatives). diff --git a/xinclude.c b/xinclude.c index ace005b..107ac03 100644 --- a/xinclude.c +++ b/xinclude.c @@ -1687,7 +1687,7 @@ loaded: /* * Do the xml:base fixup if needed */ - if ((doc != NULL) && (URL != NULL) && (xmlStrchr(URL, (xmlChar) '/')) && + if ((doc != NULL) && (URL != NULL) && (!(ctxt->parseFlags & XML_PARSE_NOBASEFIX)) && (!(doc->parseFlags & XML_PARSE_NOBASEFIX))) { xmlNodePtr node;