You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by cd...@apache.org on 2005/08/17 11:46:34 UTC

cvs commit: ws-axis/c/src/common ArrayBean.cpp

cdinapala    2005/08/17 02:46:34

  Modified:    c/src/common ArrayBean.cpp
  Log:
  I have added missing data types. (AXISCPP-787)
  
  XSD_ENTITIES, XSD_ENTITY, XSD_ID, XSD_IDREF, XSD_IDREFS, XSD_NCName, XSD_NMTOKEN, XSD_NMTOKENS, XSD_Name, XSD_language, XSD_negativeInteger, XSD_nonNegativeInteger, XSD_nonPositiveInteger, XSD_normalizedString, XSD_positiveInteger, XSD_token
  
  Revision  Changes    Path
  1.44      +18 -2     ws-axis/c/src/common/ArrayBean.cpp
  
  Index: ArrayBean.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/ArrayBean.cpp,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- ArrayBean.cpp	11 Jul 2005 05:43:51 -0000	1.43
  +++ ArrayBean.cpp	17 Aug 2005 09:46:34 -0000	1.44
  @@ -287,7 +287,11 @@
                   break;
   //FJP ^ Added
               case XSD_INTEGER:
  -            case XSD_DURATION:		
  +            case XSD_DURATION:
  +			case XSD_NEGATIVEINTEGER:
  +			case XSD_NONNEGATIVEINTEGER:
  +			case XSD_NONPOSITIVEINTEGER:
  +			case XSD_POSITIVEINTEGER:
               {
                   long** p = (long**)m_value.sta;
                   for (int ix=0;ix<m_nSize;ix++)
  @@ -342,10 +346,22 @@
                   }
               }
                   break;
  +			case XSD_ENTITIES:
  +			case XSD_ENTITY:
  +			case XSD_ID:
  +			case XSD_IDREF:
  +			case XSD_IDREFS:
  +			case XSD_NCNAME:
  +			case XSD_NMTOKEN:
  +			case XSD_NMTOKENS:
  +			case XSD_NAME:
  +			case XSD_TOKEN:
  +			case XSD_LANGUAGE: 
               case XSD_STRING:
               case XSD_ANYURI:
               case XSD_QNAME:
  -            case XSD_NOTATION:			
  +            case XSD_NOTATION:
  +			case XSD_NORMALIZEDSTRING:
               {
                   AxisChar** p = (AxisChar**)m_value.sta;
                   for (int ix=0;ix<m_nSize;ix++)