From 1869be56906ed5488b7db6d7c16f1c473af1485d Mon Sep 17 00:00:00 2001 From: "Kasimier T. Buchcik" Date: Mon, 20 Feb 2006 13:37:55 +0000 Subject: 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. --- xmlschemastypes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmlschemastypes.c') 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) -- cgit v1.2.1