summaryrefslogtreecommitdiff
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorGaurav <g.gupta@samsung.com>2013-11-28 22:50:57 +0800
committerDaniel Veillard <veillard@redhat.com>2013-11-28 22:50:57 +0800
commite79226ccdb377cb61fdee69aaf366bb9c5838de9 (patch)
tree0f3818e00766f2efa8b20683b7aae2812725e79f /xmlschemastypes.c
parent6473a41a49601da8355c4b407b99474ada170213 (diff)
downloadlibxml2-e79226ccdb377cb61fdee69aaf366bb9c5838de9.tar.gz
Type mismatch in xmlschemastypes.c
For https://bugzilla.gnome.org/show_bug.cgi?id=715152
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r--xmlschemastypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index ec403e82..8cc6bbd6 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -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;