You should put a try/catch block in your code:

try
{
}
catch(const DOM_Exception&    e)
{
    std::cerr << "Exception code is " << e.code << "." << std::endl;
}

You may be trying to put a child in a place where it is not allowed.

Dave



                                                                                       
           
                    Rolf Jakob                                                         
           
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]      
           
                    nmail.com>                cc:     (bcc: David N Bertoni/CAM/Lotus) 
           
                                              Subject:     Re: copy nodes from one DOM 
to another 
                    07/16/2001 04:13                                                   
           
                    PM                                                                 
           
                    Please respond to                                                  
           
                    xerces-c-dev                                                       
           
                                                                                       
           
                                                                                       
           



Hello,

Just a short f'up as I just found something in Bugzilla :

I replaced the cloneNode() function with
second_document::importNode(node,true), but this gives the same error at
the
same place in the back trace. Nevertheless the result of importNode() is
accessible as the cloned one was.

All hints appreciated,
Rolf

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






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

Reply via email to