Hi there,
I am facing two problems while using xalan 1.9. Our
application previously used xalan1.4. We now moved to
using xalan 1.9. I have downloaded sources for xalan
and built it myself (xlc_r, xlC_r version 6). In our
initialization code, we make a call to the method
XalanTransformer.initialize().
Problem 1. After the changes, this call crashes on AIX
5.2. Works finw on hp, linux, solaris and windows.
The stack trace shows something thats weird like
below. Anybody have any idea
<---------------------------->
dbx) where
.() at 0x0
__negpow2() at 0xd6b0ef40
__negpow2() at 0xd6b03ac4
unnamed block $b3811, line 621 in "arxml.cpp"
InitXMLParser(0x2ff22828), line 621 in "arxml.cpp"
Initialization(0x1, 0x2ff22918), line 877 in
"startup.cpp"
main(argc = 1, argv = 0x2ff22918), line 9882 in
"arrpcsvc.c"
(dbx) q
<---------------------------->
Problem2: I am trying to build xalan in debug mode to
be able to debug through a crash I am seeing on AIX.
Release build works fine. But debug build throws this
compile error. Is there a known problem with
XalanVector.hpp.
xlC_r -g -qthreaded -DAIX -D_THREAD_SAFE
-I/stlport -DXALAN_INMEM_MSG_LOADER -DXALAN_USE_ICU -c
-I/home/essfs1/rmysore/xml-xalan/c/src
-I/home/essfs1/rmysore/xml-xalan/c/include
-I../../nls/include
-I/home/essfs1/rmysore/xerces-c-src_2_6_0/src/
-I/home/essfs1/rmysore/xerces-c-src_2_6_0/include/xercesc
-I/home/essfs1/rmysore/xerces-c-src_2_6_0/include/
-I/home/essfs1/rmysore/icu/include -o
../../obj/XalanDOMStringCache.o
/home/essfs1/rmysore/xml-xalan/c/src/xalanc/PlatformSupport/XalanDOMStringCache.cpp
"/home/essfs1/rmysore/xml-xalan/c/src/xalanc/Include/XalanVector.hpp",
line 405.5: 1540-0704 (S) The definitions of "void
xalanc_1_9::XalanVector<xalanc_1_9::XalanDOMString
*,struct
xalanc_1_9::MemoryManagedConstructionTraits<xala..."
and "void
xalanc_1_9::XalanVector<xalanc_1_9::XalanDOMString
*,struct
xalanc_1_9::MemoryManagedConstructionTraits<xala..."
have the same linkage signature
"insert__Q2_10xalanc_1_911XalanVectorXTPQ2_10xalanc_1_914XalanDOMStringTQ2_10xalanc_1_931MemoryManagedConstruction...".
Thanks
prasad
Discover Yahoo!
Have fun online with music videos, cool games, IM and more. Check it out!
http://discover.yahoo.com/online.html