Title: RE: Need help with platform problem on Solaris system.
To try and further get a handle on this problem we modified the xalan code like this.
 

 

int

XalanTransformer::transform(

      const XSLTInputSource&        theInputSource,

      const XSLTInputSource&        theStylesheetSource,

      const XSLTResultTarget&       theResultTarget)

{

      // Parse the source document.

cout << "First thing!" << endl;

      const XalanParsedSource*      theParsedSource = 0;

cout << "Before parseSource2" << endl;

      const int      theResult = parseSource(theInputSource, theParsedSource);

cout << "After parseSource2" << endl;

      if (theResult != 0)

      {

cout << "theResult is not equal to zero" << endl;

            return theResult;

      }

      else

      {

cout << "Before assert2" << endl;

            assert(theParsedSource != 0);

 

            // Make sure the parsed source is destroyed when

            // the transformation is finished...

cout << theParsedSource << endl;

            EnsureDestroyParsedSource      theGuard(*this, theParsedSource);

cout << "Before return transform2" << endl;

cout << theParsedSource << endl;

cout << "Before return transform2.1" << endl;

cout << &theStylesheetSource << endl;

cout << &theResultTarget << endl;

            // Do the transformation...

            try

            {

            return transform(

                                    *theParsedSource,

                                    theStylesheetSource,

                                    theResultTarget);

            }

            catch (...)

            {

            cerr << "Unknown error." << endl;

            return 0;

            }

      }

}
[Fish Christopher G Contr ESC/ACU OL1] 

============================================And recieved this output===================================== 

 

First thing!

Before parseSource2

After parseSource2

Before Assert2

0x789a80

Before return transform2

0x789a80

Before return transform2.1

0xefffb3e4

0xefffb3a4

Exception numeric_error propagated out of Import_CRD_List_Pressed

Does that shed any light on what is causing our problem?

 

Sincerely,

Christopher

 

 

 

 

 

Reply via email to