xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David_N_Bert...@lotus.com
Subject Re: cloneNode Bug ?
Date Thu, 01 Feb 2001 16:17:52 GMT

I think it's worth emphasizing that this applies to both read-only and
write access, not to just write access, since the reference counting scheme
does not use synchronization when changing the counts.


                    m                    To:     xerces-c-dev@xml.apache.org             
                                         cc:     (bcc: David N Bertoni/CAM/Lotus)        
                    02/01/2001           Subject:     Re: cloneNode Bug ?                
                    11:00 AM                                                             
                    respond to                                                           

Antoine Ramponi wrote:

> Hi,
> The problem : an "Access Violation", occures during a cloneNode on the
same DOM_Document  shared by multiple threads.

Are those multiple threads trying to access the same DOM_Document at the
same time?  The parser has the following restriction:

   Multiple document instances may be concurrently accessed from different
   threads, but any given document instance can only be accessed by one
   thread at a time.

See http://xml.apache.org/xerces-c/faq-parse.html#faq-5 for more
multi-thread details.


To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

View raw message