1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00

Type mismatch in xmlschemastypes.c

For https://bugzilla.gnome.org/show_bug.cgi?id=715152
This commit is contained in:
Gaurav 2013-11-28 22:50:57 +08:00 committed by Daniel Veillard
parent 6473a41a49
commit e79226ccdb

View File

@ -4933,7 +4933,7 @@ xmlSchemaCompareValues(xmlSchemaValPtr x, xmlSchemaValPtr y) {
if (y->type == XML_SCHEMAS_STRING)
yws = XML_SCHEMA_WHITESPACE_PRESERVE;
else if (x->type == XML_SCHEMAS_NORMSTRING)
else if (y->type == XML_SCHEMAS_NORMSTRING)
yws = XML_SCHEMA_WHITESPACE_REPLACE;
else
yws = XML_SCHEMA_WHITESPACE_COLLAPSE;