mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-25 23:21:26 +03:00
Type mismatch in xmlschemastypes.c
For https://bugzilla.gnome.org/show_bug.cgi?id=715152
This commit is contained in:
parent
6473a41a49
commit
e79226ccdb
@ -4933,7 +4933,7 @@ xmlSchemaCompareValues(xmlSchemaValPtr x, xmlSchemaValPtr y) {
|
|||||||
|
|
||||||
if (y->type == XML_SCHEMAS_STRING)
|
if (y->type == XML_SCHEMAS_STRING)
|
||||||
yws = XML_SCHEMA_WHITESPACE_PRESERVE;
|
yws = XML_SCHEMA_WHITESPACE_PRESERVE;
|
||||||
else if (x->type == XML_SCHEMAS_NORMSTRING)
|
else if (y->type == XML_SCHEMAS_NORMSTRING)
|
||||||
yws = XML_SCHEMA_WHITESPACE_REPLACE;
|
yws = XML_SCHEMA_WHITESPACE_REPLACE;
|
||||||
else
|
else
|
||||||
yws = XML_SCHEMA_WHITESPACE_COLLAPSE;
|
yws = XML_SCHEMA_WHITESPACE_COLLAPSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user