Are you sure the document has been created before you call this function? What version of Xerces are you using?
-----Original Message----- From: Moore, Christie [mailto:christie.moore@;attws.com] Sent: Thursday, October 24, 2002 7:27 PM To: '[EMAIL PROTECTED]' Subject: RE: clone DOMDocument I am creating a XalanDocument* using the XalanSourceTreeParserLiaison called theSystem Document. I have a method defined in my class to return it to a calling method. XalanDocument* XMLHelpBase::getSystemDocument() 609 { 610 if (theSystemDocument == NULL) 611 { 612 cout << "system null" << endl; 613 } 614 // return theSystemDocument; 615 return theSystemDocument->cloneNode(false); 616 } It is throwing an unknown exception when i clone it (true or false) and it returns an null document if I don't. theSystemDocument is a static variable so it should not be getting destroyed with the class. Any suggestions? Thanks. --------------------------------------------------------------------- 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]
