You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2008/11/16 21:12:51 UTC
[jira] Commented: (WSCOMMONS-362) SchemaBuilder not thread safe
[ https://issues.apache.org/jira/browse/WSCOMMONS-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648020#action_12648020 ]
Benson Margulies commented on WSCOMMONS-362:
--------------------------------------------
Got any suggestions for the cases of picking up nodes here and depositing them there? Just a List of nodes instead of a NodeList?
> 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.