[cwscore-commit] CVS update: MODIFIED: ., xmlschemastypes.c ...
Joe Bester
commit at globus.org
Wed May 17 10:49:11 CDT 2006
User: bester
Date: 06/05/17 10:49:11
Modified: . Tag: query_resource_properties_impl_branch
xmlschemastypes.c
Log:
Fix schema validation of some numeric types
Revision Changes Path
No revision
No revision
1.2.48.1 +4 -4 libxml2/xmlschemastypes.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: xmlschemastypes.c
===================================================================
RCS file: /home/globdev/CVS/globus-packages/libxml2/xmlschemastypes.c,v
retrieving revision 1.2
retrieving revision 1.2.48.1
diff -u -b -r1.2 -r1.2.48.1
--- xmlschemastypes.c 29 Jul 2004 16:23:36 -0000 1.2
+++ xmlschemastypes.c 17 May 2006 15:49:11 -0000 1.2.48.1
@@ -2435,8 +2435,8 @@
v = xmlSchemaNewValue(type->builtInType);
if (v != NULL) {
v->value.decimal.lo = lo;
- v->value.decimal.mi = lo;
- v->value.decimal.hi = lo;
+ v->value.decimal.mi = mi;
+ v->value.decimal.hi = hi;
v->value.decimal.sign = sign;
v->value.decimal.frac = 0;
v->value.decimal.total = cur - value;
@@ -2509,8 +2509,8 @@
v = xmlSchemaNewValue(type->builtInType);
if (v != NULL) {
v->value.decimal.lo = lo;
- v->value.decimal.mi = lo;
- v->value.decimal.hi = lo;
+ v->value.decimal.mi = mi;
+ v->value.decimal.hi = hi;
v->value.decimal.sign = sign;
v->value.decimal.frac = 0;
v->value.decimal.total = total;
More information about the cwscore-commit
mailing list