I am using cc_r  C for AIX Compiler, Version 6.





[EMAIL PROTECTED] wrote:



Hi Jason,

It looks like an initialization problem with Xerces-C, or perhaps a bug
related to the new Xerces-C pluggable memory management feature.  Can you
do the following:

  1. Make sure you've initialized Xerces-C
  2. Make sure you've initialized Xalan-C

If you've done both, a stack trace would be interesting, because we need to
see what MemoryManager instance is involved.  Also, we need to know your
platform/compiler and the version of Xerces-C you're using.

Thanks!

Dave



|---------+--------------------------->
|         |           "Jason Jesso"   |
|         |           <[EMAIL PROTECTED]|
|         |           atrix.com>      |
|         |                           |
|         |           04/01/2004 11:30|
|         |           AM              |
|         |           Please respond  |
|         |           to xalan-c-users|
|---------+--------------------------->
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
 |                                                                              
                                                                    |
 |        To:      [email protected]                                 
                                                                    |
 |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                         
                                                                    |
 |        Subject: SimpleXPathAPI                                               
                                                                    |
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|



I'm pretty doing what SimpleXPathAPI does (almost line by line).

When I run the SimpleXPathAPI it works fine, but when I run my program,
I get:

./_foo _foo.xml itXML "/itXML/TX"
Assertion failed: manager != 0, file  XMemory.cpp, line 102
Abort(coredump)


I rounded it down to this line of code:

           // Parse the document...
           XalanDocument* const theDocument =
                 theLiaison.parseXMLStream(theInputSource);

Any ideas?












Reply via email to