You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2001/11/07 20:20:01 UTC

cvs commit: xml-xerces/c/src/validators/schema SchemaSymbols.cpp SchemaSymbols.hpp

peiyongz    01/11/07 11:20:01

  Modified:    c/src/validators/schema SchemaSymbols.cpp SchemaSymbols.hpp
  Log:
  DateTime Port
  
  Revision  Changes    Path
  1.14      +25 -24    xml-xerces/c/src/validators/schema/SchemaSymbols.cpp
  
  Index: SchemaSymbols.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/schema/SchemaSymbols.cpp,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SchemaSymbols.cpp	2001/09/18 14:41:56	1.13
  +++ SchemaSymbols.cpp	2001/11/07 19:20:01	1.14
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: SchemaSymbols.cpp,v $
  + * Revision 1.14  2001/11/07 19:20:01  peiyongz
  + * DateTime Port
  + *
    * Revision 1.13  2001/09/18 14:41:56  knoaman
    * Add support for <annotation>.
    *
  @@ -972,55 +975,53 @@
       chLatin_g, chLatin_e, chLatin_r, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_RECURRINGDURATION[] =
  +const XMLCh SchemaSymbols::fgDT_DATETIME[] =
   {
  -    chLatin_r, chLatin_e, chLatin_c, chLatin_u, chLatin_r, chLatin_r,
  -    chLatin_i, chLatin_n, chLatin_g, chLatin_D, chLatin_u, chLatin_r,
  -    chLatin_a, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull
  +    chLatin_d, chLatin_a, chLatin_t, chLatin_e, 
  +    chLatin_T, chLatin_i, chLatin_m, chLatin_e, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_TIMEINSTANT[] =
  +const XMLCh SchemaSymbols::fgDT_DATE[] =
   {
  -    chLatin_t, chLatin_i, chLatin_m, chLatin_e, chLatin_I, chLatin_n,
  -    chLatin_s, chLatin_t, chLatin_a, chLatin_n, chLatin_t, chNull
  +    chLatin_d, chLatin_a, chLatin_t, chLatin_e, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_TIMEPERIOD[] =
  +const XMLCh SchemaSymbols::fgDT_TIME[] =
   {
  -    chLatin_t, chLatin_i, chLatin_m, chLatin_e, chLatin_P, chLatin_e,
  -    chLatin_r, chLatin_i, chLatin_o, chLatin_d, chNull
  +    chLatin_t, chLatin_i, chLatin_m, chLatin_e, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_DATE[] =
  +const XMLCh SchemaSymbols::fgDT_DURATION[] =
   {
  -    chLatin_d, chLatin_a, chLatin_t, chLatin_e, chNull
  +    chLatin_d, chLatin_u, chLatin_r, chLatin_a, 
  +    chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_MONTH[] =
  +const XMLCh SchemaSymbols::fgDT_DAY[] =
   {
  -    chLatin_m, chLatin_o, chLatin_n, chLatin_t, chLatin_h, chNull
  +    chLatin_g, chLatin_D, chLatin_a, chLatin_y, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_YEAR[] =
  +const XMLCh SchemaSymbols::fgDT_MONTH[] =
   {
  -    chLatin_y, chLatin_e, chLatin_a, chLatin_r, chNull
  +    chLatin_g, chLatin_M, chLatin_o, chLatin_n, chLatin_t, chLatin_h, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_CENTURY[] =
  +const XMLCh SchemaSymbols::fgDT_MONTHDAY[] =
   {
  -    chLatin_c, chLatin_e, chLatin_n, chLatin_t, chLatin_u, chLatin_r, chLatin_y,  chNull
  +    chLatin_g, chLatin_M, chLatin_o, chLatin_n, chLatin_t, chLatin_h, 
  +    chLatin_D, chLatin_a, chLatin_y, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_RECURRINGDATE[] =
  +const XMLCh SchemaSymbols::fgDT_YEAR[] =
   {
  -    chLatin_r, chLatin_e, chLatin_c, chLatin_u, chLatin_r, chLatin_r, chLatin_i,
  -    chLatin_n, chLatin_g, chLatin_D, chLatin_a, chLatin_t, chLatin_e, chNull
  +    chLatin_g, chLatin_Y, chLatin_e, chLatin_a, chLatin_r, chNull
   };
   
  -const XMLCh SchemaSymbols::fgDT_TIMEDURATION[] =
  +const XMLCh SchemaSymbols::fgDT_YEARMONTH[] =
   {
  -    chLatin_t, chLatin_i, chLatin_m, chLatin_e, chLatin_D, chLatin_u,
  -    chLatin_r, chLatin_a, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull
  +    chLatin_g, chLatin_Y, chLatin_e, chLatin_a, chLatin_r, 
  +    chLatin_M, chLatin_o, chLatin_n, chLatin_t, chLatin_h, chNull
   };
   
   const XMLCh SchemaSymbols::fgDT_BASE64BINARY[] =
  
  
  
  1.14      +9 -7      xml-xerces/c/src/validators/schema/SchemaSymbols.hpp
  
  Index: SchemaSymbols.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/schema/SchemaSymbols.hpp,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SchemaSymbols.hpp	2001/09/18 14:41:56	1.13
  +++ SchemaSymbols.hpp	2001/11/07 19:20:01	1.14
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: SchemaSymbols.hpp,v 1.13 2001/09/18 14:41:56 knoaman Exp $
  + * $Id: SchemaSymbols.hpp,v 1.14 2001/11/07 19:20:01 peiyongz Exp $
    */
   
   #if !defined(SCHEMASYMBOLS_HPP)
  @@ -223,15 +223,17 @@
   	static const XMLCh fgDT_USHORT[];
   	static const XMLCh fgDT_UBYTE[];
       static const XMLCh fgDT_POSITIVEINTEGER[];
  -    static const XMLCh fgDT_RECURRINGDURATION[];
  -	static const XMLCh fgDT_TIMEINSTANT[];
  -    static const XMLCh fgDT_TIMEPERIOD[];
  +//datetime   
  +    static const XMLCh fgDT_DATETIME[];
       static const XMLCh fgDT_DATE[];
  +	static const XMLCh fgDT_TIME[];
  +    static const XMLCh fgDT_DURATION[];
  +    static const XMLCh fgDT_DAY[];
       static const XMLCh fgDT_MONTH[];
  +    static const XMLCh fgDT_MONTHDAY[];
       static const XMLCh fgDT_YEAR[];
  -    static const XMLCh fgDT_CENTURY[];
  -    static const XMLCh fgDT_RECURRINGDATE[];
  -    static const XMLCh fgDT_TIMEDURATION[];
  +    static const XMLCh fgDT_YEARMONTH[];
  +
       static const XMLCh fgDT_BASE64BINARY[];
       static const XMLCh fgDT_HEXBINARY[];
       static const XMLCh fgDT_FLOAT[];
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org