You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/01/09 20:52:30 UTC
DO NOT REPLY [Bug 5753] -
DOM parsing tree doesn't support multiple threads to read?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5753>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5753
DOM parsing tree doesn't support multiple threads to read?
elena@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From elena@apache.org 2002-01-09 11:52 -------
In Xerces by default we use deferred DOM: we only create DOM nodes if
application tries to access it. That can explain why you see the wrong output.
But it is not a bug, since DOM has no explicit support for concurrent access.
Thus, you must synchronize the access to the tree if you are using threads.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org