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 2003/11/05 17:36:15 UTC
cvs commit: xml-xerces/c/src/xercesc/validators/datatype DatatypeValidatorFactory.cpp
peiyongz 2003/11/05 08:36:15
Modified: c/src/xercesc/validators/datatype
DatatypeValidatorFactory.cpp
Log:
initialize BuiltInRegistry during deserialization
Revision Changes Path
1.19 +11 -0 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.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- DatatypeValidatorFactory.cpp 20 Oct 2003 15:56:48 -0000 1.18
+++ DatatypeValidatorFactory.cpp 5 Nov 2003 16:36:15 -0000 1.19
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.19 2003/11/05 16:36:15 peiyongz
+ * initialize BuiltInRegistry during deserialization
+ *
* Revision 1.18 2003/10/20 15:56:48 knoaman
* Fix multithreading problem.
*
@@ -755,6 +758,8 @@
}
}
+ //todo: to move these to fBuiltInRegistry
+
// ID, IDREF IDREFS, ENTITY, ENTITIES DTV have specific data member
// and cannot be shared across threads
// So instead of storing them in the static fBuiltInRegistry,
@@ -932,6 +937,12 @@
}
else
{
+ /***
+ * DV in the UserDefinedRegistry rely on the fBuiltInRegistry
+ * to resolve their built-in baseValidator
+ ***/
+ expandRegistryToFullSchemaSet();
+
/***
* Deserialize RefHashTableOf<DatatypeValidator>
***/
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org