Fixed in CVS. Thanks for pointing it out.

Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]



                                                                                       
                       
                    "Tobbi"                                                            
                       
                    <tobbi@systine       To:     <[EMAIL PROTECTED]>         
                       
                    t.com>               cc:                                           
                       
                                         Subject:     Bug in SchemaDVFactoryImpl       
                       
                    03/19/2002                                                         
                       
                    08:36 AM                                                           
                       
                    Please respond                                                     
                       
                    to                                                                 
                       
                    xerces-j-dev                                                       
                       
                                                                                       
                       
                                                                                       
                       



   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




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

Reply via email to