1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

Fix a logic error in Schemas Component Constraints

This commit is contained in:
Ryan Sleevi
2012-02-29 10:56:32 +08:00
committed by Daniel Veillard
parent aae48e64df
commit 5cf1deb080

View File

@@ -13946,7 +13946,7 @@ xmlSchemaCheckCOSNSSubset(xmlSchemaWildcardPtr sub,
*/ */
if ((sub->negNsSet != NULL) && if ((sub->negNsSet != NULL) &&
(super->negNsSet != NULL) && (super->negNsSet != NULL) &&
(sub->negNsSet->value == sub->negNsSet->value)) (sub->negNsSet->value == super->negNsSet->value))
return (0); return (0);
/* /*
* 3.1 sub must be a set whose members are either namespace names or <20>absent<6E>. * 3.1 sub must be a set whose members are either namespace names or <20>absent<6E>.