[cwscore-commit] CVS update: MODIFIED: source ...
Joe Bester
commit at globus.org
Thu May 25 14:06:23 CDT 2006
User: bester
Date: 06/05/25 14:06:23
Modified: c/message/source globus_xsd_generic_array.c
Log:
Improved detection of any arrays
Revision Changes Path
1.5 +3 -1 wsrf/c/message/source/globus_xsd_generic_array.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: globus_xsd_generic_array.c
===================================================================
RCS file: /home/globdev/CVS/globus-packages/wsrf/c/message/source/globus_xsd_generic_array.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- globus_xsd_generic_array.c 19 Jan 2006 17:08:15 -0000 1.4
+++ globus_xsd_generic_array.c 25 May 2006 19:06:23 -0000 1.5
@@ -66,7 +66,9 @@
/* If this is an any, the contents of the array may be elements or
* text, so we'll handle fewer errors
*/
- if (xsd_QName_keyeq((void *) element_qname, &xsd_any_qname))
+ if (array->type_info == &xsd_any_info ||
+ array->type_info == &xsd_any_array_info ||
+ xsd_QName_keyeq((void *) element_qname, &xsd_any_qname))
{
is_any = GLOBUS_TRUE;
}
More information about the cwscore-commit
mailing list