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]

Reply via email to