Author: dbertoni
Date: Fri Jun 17 14:51:35 2005
New Revision: 191219

URL: http://svn.apache.org/viewcvs?rev=191219&view=rev
Log:
Merge from trunk.

Modified:
    
xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/ComplexTypeInfo.cpp

Modified: 
xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/ComplexTypeInfo.cpp
URL: 
http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/ComplexTypeInfo.cpp?rev=191219&r1=191218&r2=191219&view=diff
==============================================================================
--- 
xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/ComplexTypeInfo.cpp 
(original)
+++ 
xerces/c/branches/xerces-2.7/src/xercesc/validators/schema/ComplexTypeInfo.cpp 
Fri Jun 17 14:51:35 2005
@@ -926,6 +926,14 @@
          fContentSpecOrgURI = 0;
          fContentSpecOrgURISize = 0;
          fUniqueURI = 0;
+
+         // Create the content model by calling getContentModel().  This
+         // will ensure the grammar can be used concurrently by multiple
+         // parsers.
+         // Don't bother to do check unique particle attribution, since
+         // this will already have been done when the grammar was first
+         // created (if full schema checking was enabled).
+         getContentModel(false);
     }
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to