SchemaBuilder not thread safe
-----------------------------

                 Key: WSCOMMONS-362
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-362
             Project: WS-Commons
          Issue Type: Bug
          Components: XmlSchema
            Reporter: Daniel Kulp



If the same DOM is passed into different SchemaBuilders, SOMETIMES an exception 
is thrown.

The processExtensibilityComponents method uses a NodeList which is not thread 
safe in Xerces.

See:  
http://mail-archives.apache.org/mod_mbox/xerces-j-users/200707.mbox/%3C1185522253.5789.186.camel%40localhost%3E

The patch in WSCOMMONS-361 fixes that method.  However, the call to 
getElementsByTagNameNS in handleSimpleContentRestriction has the same issue and 
the markup stuff (handleAppInfo and handleDocumentation) would as well.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to