summaryrefslogtreecommitdiff
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorKasimier T. Buchcik <kbuchcik@src.gnome.org>2006-02-20 13:37:55 +0000
committerKasimier T. Buchcik <kbuchcik@src.gnome.org>2006-02-20 13:37:55 +0000
commit1869be56906ed5488b7db6d7c16f1c473af1485d (patch)
tree1f5bcfcdb1817937498d1f3c478149915fe4c6c6 /xmlschemastypes.c
parent46f972198a5bba18de941fbb53f5a7a7e7fc1f6d (diff)
downloadlibxml2-1869be56906ed5488b7db6d7c16f1c473af1485d.tar.gz
Fixed xs:boolean to reject the empty string (reported by Bas Driessen on
* xmlschemas.c xmlschemastypes.c: Fixed xs:boolean to reject the empty string (reported by Bas Driessen on the mailing-list). Fixed schema XSI-acquisition and construction: the schemata (xmlSchema) didn't get the targetNamespace in some cases, thus the component resolution mechanism failed to work. The XSI stuff needs to be tested more intensively; think about how to test this for regression.
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r--xmlschemastypes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index ffb25059..557d0ab2 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -2543,7 +2543,8 @@ xmlSchemaValAtomicType(xmlSchemaTypePtr type, const xmlChar * value,
ret = 0;
} else
goto return1;
- }
+ } else
+ goto return1;
if (*cur != 0) {
while IS_WSP_BLANK_CH(*cur) cur++;
if (*cur != 0)