Hi Amol,
Please don't post HTML to this mailing list. It's extremely difficult for
me to read your mail as a result.
> Have you actually built Xalan 1.3 and samples? Or have you tried any
binary distribution for Xalan 1.3?
I stated this in my response to you:
> > 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 think that's pretty clear. I downloaded the distribution from the same
place you did. I tested it. I then rebuilt the binaries from those
sources and tested them.
> 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?
I've tried 5.02. Why would I try any other version? We don't have any
other version available except xlC 3.6.6, which also works correctly. I
don't have any information about the differences between 5 and 5.02.
> 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?
That's pretty important information. Any reason why you didn't bother to
include it in your first email? There may be an error in one of your
stylesheets that's provoking a bug. Or there may be a bug in the software
and your stylesheet may be correct.
Again, you seem not to be interested in reading my response to you. Please
download Xalan 1.4 and try your stylesheet(s) with that release. If it
still causes a crash, then create a bug report in the bug database and
attach a minimal source document and stylesheet that causes the problem.
There are no plans to fix any bugs in 1.3.
Dave
"Amol Potnis"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
n> cc: "amol" <[EMAIL PROTECTED]>,
(bcc: David N Bertoni/Cambridge/IBM)
Subject: RE:Problems with running
samples for Xalan 1.3 on Aix 4.3.
10/17/2002 05:47
AM
Please respond
to xalan-dev
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
( [EMAIL PROTECTED])
-----Original Message-----
From: Amol Potnis [mailto:amolp@;pspl.co.in]
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 regards
Amol Potnis
Note: 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"
RE:Problems with running samples for Xalan 1.3 on Aix 4.3.
David N Bertoni/Cambridge/IBM Fri, 18 Oct 2002 01:12:13 -0700
- Problems with running samples for Xalan 1.3 ... Amol Potnis
- Re: Problems with running samples for X... David N Bertoni/Cambridge/IBM
- RE:Problems with running samples for Xa... Amol Potnis
- RE: Problems with running samples f... David N Bertoni/Cambridge/IBM
- RE: Problems with running sampl... Amol Potnis
- RE: Problems with running s... David N Bertoni/Cambridge/IBM
- RE: Problems with runn... Amol Potnis
- RE: Problems with ... David N Bertoni/Cambridge/IBM
