peiyongz 2004/03/18 17:17:22 Modified: c/src/xercesc/validators/datatype UnionDatatypeValidator.cpp Log: enumeration is ALWAYS owned, datatype validator not. Revision Changes Path 1.27 +6 -6 xml-xerces/c/src/xercesc/validators/datatype/UnionDatatypeValidator.cpp Index: UnionDatatypeValidator.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/datatype/UnionDatatypeValidator.cpp,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- UnionDatatypeValidator.cpp 29 Jan 2004 11:51:22 -0000 1.26 +++ UnionDatatypeValidator.cpp 19 Mar 2004 01:17:22 -0000 1.27 @@ -57,6 +57,9 @@ /* * $Id$ * $Log$ + * Revision 1.27 2004/03/19 01:17:22 peiyongz + * enumeration is ALWAYS owned, datatype validator not. + * * Revision 1.26 2004/01/29 11:51:22 cargilld * Code cleanup changes to get rid of various compiler diagnostic messages. * @@ -591,11 +594,8 @@ * Deserialize RefArrayVectorOf<XMLCh> * Deserialize RefVectorOf<DatatypeValidator> ***/ - bool owned = fEnumerationInherited ? true : false; - XTemplateSerializer::loadObject(&fEnumeration, 8, owned, serEng); - - owned = fMemberTypesInherited ? true : false; - XTemplateSerializer::loadObject(&fMemberTypeValidators, 4, owned, serEng); + XTemplateSerializer::loadObject(&fEnumeration, 8, true, serEng); + XTemplateSerializer::loadObject(&fMemberTypeValidators, 4, false, serEng); fValidatedDatatype = DatatypeValidator::loadDV(serEng);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]