Hi,
 
I'm working with Xerces source code (today's last update) and I've found a bug.
 
In class org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl is static method "XSSimpleType getBuiltInType(String)" which calls to "prepareBuiltInTypes()". Synchronizing in "prepareBuiltInTypes()" is unsafety because of line no. 227. Here should be local variable set instead of global. In this way locks don't work.
 
   Tomas Bouda
 

Reply via email to