diff --git a/src/xercesc/validators/schema/identity/ValueStoreCache.cpp b/src/xercesc/validators/schema/identity/ValueStoreCache.cpp index 69daac293b29b1e6c882d9a38d4f0f6cad6ee1f9..95caab796ab5cfaa5a2dacc11df69b0a8117ae3e 100644 --- a/src/xercesc/validators/schema/identity/ValueStoreCache.cpp +++ b/src/xercesc/validators/schema/identity/ValueStoreCache.cpp @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:51 peiyongz - * Initial revision + * Revision 1.2 2002/08/26 23:48:09 knoaman + * Fix for ValueStore's null pointer. + * + * Revision 1.1.1.1 2002/02/01 22:22:51 peiyongz + * sane_include * * Revision 1.1 2001/11/02 14:08:40 knoaman * Add support for identity constraints. @@ -194,6 +197,10 @@ void ValueStoreCache::transplant(IdentityConstraint* const ic) { } else { fGlobalICMap->put(ic, newVals); } + + ValueStore* valueStore = new ValueStore(ic, fScanner); + fValueStores->addElement(valueStore); + fIC2ValueStoreMap->put(ic, valueStore); } /**