summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2009-03-01 10:54:34 +0100
committerMike Hommey <glandium@debian.org>2009-03-01 10:54:34 +0100
commit0c1d871e4c5e46a2945cccb2ce765f9be2fe01fb (patch)
tree982382b30eb118c65e1a06b25757dac5c3c69b8d /parser.c
parentd03a853bb0370d89552eceee59df1746da4a37f8 (diff)
downloadlibxml2-0c1d871e4c5e46a2945cccb2ce765f9be2fe01fb.tar.gz
Import upstream version 2.7.1upstream/2.7.1.dfsg
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 42b2852..9876a46 100644
--- a/parser.c
+++ b/parser.c
@@ -8694,7 +8694,7 @@ reparse:
"xmlns: '%s' is not a valid URI\n",
URL, NULL, NULL);
} else {
- if ((ctxt->pedantic) && (uri->scheme == NULL)) {
+ if (uri->scheme == NULL) {
xmlNsWarn(ctxt, XML_WAR_NS_URI_RELATIVE,
"xmlns: URI %s is not absolute\n",
URL, NULL, NULL);