Hi Amol,
I'm using a machine which is maintained by someone else, and I have no idea
how to get any compiler updates, or how to apply them.
Dave
"Amol Potnis"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
n> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: RE: Problems with running
samples for Xalan 1.3 on Aix 4.3.
10/31/2002 12:27
AM
Please respond
to xalan-dev
Hi Dave,
I have asked our system-administrator to install XLC 5.0.2 on AIX 4.3.3.
Unfortunately he is not able to find "bos.loc.iso.en_US 5.1.0.0" on IBM
sites and on net. He has also tried to find this in AIX 5.1 files without
any luck.
You already have XLC 5.0.2 on AIX 4.3.3.
Could you please let me know the place/site from where I can get/download
all the files required for XLC 5.0.2 on AIX 4.3.3.
Thanks in advance
Amol
-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:david_n_bertoni@;us.ibm.com]
Sent: Tuesday, October 29, 2002 1:28 AM
To: [EMAIL PROTECTED]
Subject: RE: Problems with running samples for Xalan 1.3 on Aix 4.3.
Hi Amol,
The only suggestion I can offer is for you to updrade your compiler to
5.0.2. I don't have 5.0 available for testing, so there's no way I can
even try to build using that version.
Dave
"Amol Potnis"
<[EMAIL PROTECTED] To:
<[EMAIL PROTECTED]>
n> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: RE: Problems with
running samples for Xalan 1.3 on Aix 4.3.
10/28/2002 10:09
AM
Hi Dave,
I am really sorry for the confusion because of my mail.
I have tried out the following options suggested by you :
- a. Building Xereces for Xalan 1.3 and then trying Xalan 1.3
- b. Trying out Xalan 1.4.
But I have got the same error.
Now I feel that there is some problem with AIX 4.3.3 and Visual Age 5.0
combination because things have worked properly
on your end on AIX 4.3.3 and Visual Age 5.02/3.6.6.
I found similar posting at http://xml.apache.org/mail/xalan-c-users/200202
Please search for 'Xalan 1.3 on AIX' on this page. You'll find the similar
problem posted. Luckily you have replied to
this posting as well. But then there is no confirmation from that person.
Other option I can think about is moving to Visual Age 5.0.2. But then it
will be the last option for me to go.
Any thoughts / inputs on this from you are really appreciable because I am
totally stuck at this place .
( As you suggested , this time am posting this in plain-text format. )
Thanks in advance
Amol Potnis
-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:david_n_bertoni@;us.ibm.com]
Sent: Thursday, October 17, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: RE:Problems with running samples for Xalan 1.3 on Aix 4.3.
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 Thu, 31 Oct 2002 09:12:29 -0800
- 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 fo... 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
- David N Bertoni/Cambridge/IBM
