Hi
Dave,
Thanks for your reply.
I tried out following options without any
luck.
A. Built Xereces with the same compiler and then built
Xalan 1.3. But 'Xalan Transform' gave segmentation
fault.
B. Tried Xalan 1.4 without any luck.Again I got
segmentation fault with Xalan 1.4 also.
As per your reply , it should be very straight-forward
to build and run samples for Xalan 1.3
Have you actually built Xalan 1.3 and samples? Or have
you tried any binary distribution for Xalan 1.3?
I am using Visual Age 5 on AIX 4.3. Is there any vast
difference between Visual Age 5 and 5.02?
Which version you have
tried?
Could you please elaborate
more?
I am really stuck at this
point.
Also which are the important samples for Xalan that we
should try and rely on them ? Could you just give more information about
it?
*I have observed that if we use very straight forward
xsl , then 'Xalan Transform' does not give any
problem.
It starts giving problem when you have templates etc in
your xsl.
Have you observed something similar to
this?
Thanks in advance
Amol
-----------------------------------------------------------------------------------------------------------------------
You should
download Xalan 1.4 and see if this problem persists. Also, make
sure you are using VisualAge 5.02. This looks like it's happening deep in
the standard library, so it could be a bug in the 5.0 library.
Just for verification, I downloaded the Xalan 1.3 distribution and tested.
I had no problems building anything and XalanTransform runs without any
problems.
I suspect there is a problem with your local installation of VisualAge for
C++, or you are using an older version. If you are not using 5.02, make
sure you also rebuild Xerces with your version of the compiler.
Dave
sure you are using VisualAge 5.02. This looks like it's happening deep in
the standard library, so it could be a bug in the 5.0 library.
Just for verification, I downloaded the Xalan 1.3 distribution and tested.
I had no problems building anything and XalanTransform runs without any
problems.
I suspect there is a problem with your local installation of VisualAge for
C++, or you are using an older version. If you are not using 5.02, make
sure you also rebuild Xerces with your version of the compiler.
Dave
-----Original Message-----
From: Amol Potnis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 7:48 PM
To: [EMAIL PROTECTED]
Cc: amol
Subject: Problems with running samples for Xalan 1.3 on Aix 4.3.Hi,I am trying to build Xalan 1.3 on Aix4.3 with XLC 5.0.I am able to build the sources and samples.Following is my observation while running the samples:- When I tried 'DocumentBuilder' and 'SimpleTransform' , they went through.But 'XalanTransform' always gave me segmentation fault. On debugging it was showing some problem in 'StylesheetHandler.cpp'.* I am wondering about this behavior.I guess the samples which come along with the source code , should go through without any problems.Also Xalan 1.3 is marked as 'stabilized' on apache site.So Am I missing anything very obvious?Has anybody observed similar problem with samples with Xalan 1.3?Any help is really appreciated.Thanks and regardsAmol PotnisNote: Please find the following stack-trace for more information:--------------------------------------------------------------------------------------------------Segmentation fault in StylesheetHandler.__opb__Q3_3std6vectorXTbTQ2_3std9allocatorXTb() const at line 3
52 in file "/usr/vacpp/include/vector" ($t1)
352 {return ((*_Ptr & _Mask) != 0); }
(dbx) where
StylesheetHandler.__opb__Q3_3std6vectorXTbTQ2_3std9allocatorXTb() const(0x2ff21788), line 352 in "vecto
r"
StylesheetHandler.__as__Q3_3std6vectorXTbTQ2_3std9allocatorXTb(0x2ff21780, 0x2ff21788), line 340 in "ve
ctor"
unnamed block $b4302, line 521 in "xutility"
StylesheetHandler.copy(0x2ff217f0, 0x0, 0x40069209, 0x0, 0x20069209, 0x7, 0x40069208), line 521 in "xut
ility"
StylesheetHandler.erase(0x2ff21dfc, 0x2ff21850, 0x7, 0x40069208), line 659 in "StylesheetHandler.cpp"
StylesheetHandler.pop_back(0x2ff21dfc), line 622 in "vector"
StylesheetHandler::endElement(const unsigned short* const)(this = 0x2ff21d78, name = 0x20087248), line
1629 in "StylesheetHandler.cpp"
startElement__9SAXParserFRC14XMLElementDeclCUiCPCUsRC11RefVectorOfXT7XMLAttr_CUiCbCb() at 0xd63d35d8
scanStartTag__10XMLScannerFRb() at 0xd62e5158
scanContent__10XMLScannerFCb() at 0xd62e1014
scanDocument__10XMLScannerFRC11InputSourceCb() at 0xd62e0210
parse__9SAXParserFRC11InputSourceCb() at 0xd63d2540
XercesParserLiaison.parseXMLStream(const InputSource&,DocumentHandler&,const XalanDOMString&)(0x2004627
0, 0x2ff228d0, 0x2ff21d78, 0x2ff21ef0), line 204 in "XercesParserLiaison.cpp"
XalanSourceTreeParserLiaison.parseXMLStream(const InputSource&,DocumentHandler&,const XalanDOMString&)(
0x20046268, 0x2ff228d0, 0x2ff21d78, 0x2ff21ef0), line 213 in "XalanSourceTreeParserLiaison.cpp"
unnamed block $b4568, line 509 in "XSLTEngineImpl.cpp"
unnamed block $b4566, line 509 in "XSLTEngineImpl.cpp"
XSLTEngineImpl.processStylesheet(const XSLTInputSource&,StylesheetConstructionContext&)(0x2ff22430, 0x2
ff228d0, 0x2ff225c8), line 509 in "XSLTEngineImpl.cpp"
XSLTEngineImpl.process(const XSLTInputSource&,const XSLTInputSource&,XSLTResultTarget&,StylesheetConstr
uctionContext&,StylesheetExecutionContext&)(0x2ff22430, 0x2ff22640, 0x2ff228d0, 0x2ff225f8, 0x2ff225c8,
0x20040f08), line 277 in "XSLTEngineImpl.cpp"
unnamed block $b5096, line 359 in "XalanTransformer.cpp"
XalanTransformer.transform(const XalanParsedSource&,const XSLTInputSource&,const XSLTResultTarget&)(0x2
ff227b0, 0x20041a48, 0x2ff228d0, 0x2ff228f0), line 359 in "XalanTransformer.cpp"
unnamed block $b5121, line 661 in "XalanTransformer.cpp"
XalanTransformer.transform(const XSLTInputSource&,const XSLTInputSource&,const XSLTResultTarget&)(0x2ff
227b0, 0x2ff228b0, 0x2ff228d0, 0x2ff228f0), line 661 in "XalanTransformer.cpp"
unnamed block $b2, line 61 in "XalanTransform.cpp"
main(argc = 3, argv = 0x2ff229a0), line 61 in "XalanTransform.cpp"
