diff --git a/ChangeLog b/ChangeLog index 01ca70fa..b77e0da1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Mar 17 11:03:59 CET 2005 Daniel Veillard + + * xmlschemas.c: fixed a = -> == error pointed by GUY Fabrice + Wed Mar 16 22:53:53 CET 2005 Daniel Veillard * xmlschemas.c: more debug messages from Matthew Burgess diff --git a/xmlschemas.c b/xmlschemas.c index 586839d8..c7527bd9 100644 --- a/xmlschemas.c +++ b/xmlschemas.c @@ -13374,7 +13374,7 @@ xmlSchemaCheckSRCCT(xmlSchemaParserCtxtPtr ctxt, OK = 1; } else { /* if IS_SIMPLE_TYPE(base) */ - if (base->contentType = XML_SCHEMA_CONTENT_MIXED) { + if (base->contentType == XML_SCHEMA_CONTENT_MIXED) { /* * 2.1.2 only if the alternative is also * chosen, a complex type definition whose {content type} @@ -13425,7 +13425,7 @@ xmlSchemaCheckSRCCT(xmlSchemaParserCtxtPtr ctxt, return (XML_SCHEMAP_SRC_CT_1); } OK = 1; - } else { /* if (base->contentType = XML_SCHEMA_CONTENT_MIXED)*/ + } else { /* if (base->contentType == XML_SCHEMA_CONTENT_MIXED)*/ /* * 2.1.1 a complex type definition whose {content type} is a * simple type definition;