xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peiyo...@apache.org
Subject cvs commit: xml-xerces/c/src/xercesc/validators/datatype DatatypeValidatorFactory.cpp
Date Thu, 13 Nov 2003 23:02:09 GMT
peiyongz    2003/11/13 15:02:09

  Modified:    c/src/xercesc/validators/datatype
                        DatatypeValidatorFactory.cpp
  Log:
  using default memory manager and specify derivated from list, not user defined
  
  Revision  Changes    Path
  1.22      +10 -5     xml-xerces/c/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp
  
  Index: DatatypeValidatorFactory.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- DatatypeValidatorFactory.cpp	12 Nov 2003 20:30:58 -0000	1.21
  +++ DatatypeValidatorFactory.cpp	13 Nov 2003 23:02:09 -0000	1.22
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.22  2003/11/13 23:02:09  peiyongz
  + * using default memory manager and specify derivated from list, not user defined
  + *
    * Revision 1.21  2003/11/12 20:30:58  peiyongz
    * movd ID/IDREF/IDREFS/ENTITY/ENTITIES dv to BuiltInRegistry
    *
  @@ -759,15 +762,15 @@
                             facets, 0, false, 0, false);
   
               // Create 'ID', 'IDREF' and 'ENTITY' datatype validator
  -            dv = new (fMemoryManager) IDDatatypeValidator(getDatatypeValidator(SchemaSymbols::fgDT_NCNAME),
0, 0, 0, fMemoryManager);
  +            dv = new IDDatatypeValidator(getDatatypeValidator(SchemaSymbols::fgDT_NCNAME),
0, 0, 0);
               dv->setTypeName(XMLUni::fgIDString, SchemaSymbols::fgURI_SCHEMAFORSCHEMA);
               fBuiltInRegistry->put((void*) XMLUni::fgIDString, dv);
   
  -            dv = new (fMemoryManager) IDREFDatatypeValidator(getDatatypeValidator(SchemaSymbols::fgDT_NCNAME),
0, 0, 0, fMemoryManager);
  +            dv = new IDREFDatatypeValidator(getDatatypeValidator(SchemaSymbols::fgDT_NCNAME),
0, 0, 0);
               dv->setTypeName(XMLUni::fgIDRefString, SchemaSymbols::fgURI_SCHEMAFORSCHEMA);
               fBuiltInRegistry->put((void*) XMLUni::fgIDRefString, dv);
   
  -            dv = new (fMemoryManager) ENTITYDatatypeValidator(getDatatypeValidator(SchemaSymbols::fgDT_NCNAME),
0, 0, 0, fMemoryManager);
  +            dv = new ENTITYDatatypeValidator(getDatatypeValidator(SchemaSymbols::fgDT_NCNAME),
0, 0, 0);
               dv->setTypeName(XMLUni::fgEntityString, SchemaSymbols::fgURI_SCHEMAFORSCHEMA);
               fBuiltInRegistry->put((void*) XMLUni::fgEntityString, dv);
   
  @@ -778,8 +781,9 @@
                 , getDatatypeValidator(XMLUni::fgIDRefString)
                 , 0
                 , 0
  -              , false
  +              , true
                 , 0
  +              , false
               );
   
              // Create 'ENTITIES' datatype validator
  @@ -789,8 +793,9 @@
                , getDatatypeValidator(XMLUni::fgEntityString)
                , 0
                , 0
  -             , false
  +             , true
                , 0
  +             , false
              );
   
               // register cleanup method
  
  
  

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


Mime
View raw message