You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Fish Christopher G Contr ESC/ACU OL1 <ch...@eglin.af.mil> on 2004/08/26 17:37:58 UTC
Need help with platform problem on Solaris system.
I am reposting this because my original title was not accurate
and I'm hoping to hear from someone. Does anyone know of some place
a person can buy a support contract for the Xerces parser?
I'm having some real problems with getting translations to work correctly
while on a Solaris Box. We are using XalanC version 1.2.0
Is anyone aware of any bugs that might be related to this and only occure on
a
Solaris/unix system?
This line calls procedure (from file XalanTransformer.cpp):
int XalanTransformer::transform(
const XSLTInputSource& theInputSource,
const XSLTInputSource& theStylesheetSource,
const XSLTResultTarget& theResultTarget)
Error occurs on line:
return transform(
*theParsedSource,
theStylesheelSource,
theResultTarget);
If following line is added:
const XSLTInputSource* testParsedSource = 0;
and the return line is modified:
return transform(
*testParsedSource,
theStylesheelSource,
theResultTarget);
Then we get past the numeric_error and blow up later on due to a
segmentation fault.
In the XalanTransformer::transform procedure above, theInputSource is a
const XSLTInputSource* but when calling itself it passes in theParsedSource
which is a const XalanParsedSource
Anybody have any idea?
Regards,
Christopher
Re: Need help with platform problem on Solaris system.
Posted by da...@us.ibm.com.
> I'm having some real problems with getting translations to work
correctly
> while on a Solaris Box. We are using XalanC version 1.2.0
> Is anyone aware of any bugs that might be related to this and only
occure on a
> Solaris/unix system?
That's a very old version of Xalan-C, so I'm not sure if there is anything
we can do to diagnose or fix any problems. You should really consider
upgrading to a newer version.
> Error occurs on line:
> return transform(
> *theParsedSource,
> theStylesheelSource,
> theResultTarget);
What error?
> If following line is added:
> const XSLTInputSource* testParsedSource = 0;
>
> and the return line is modified:
> return transform(
> *testParsedSource,
> theStylesheelSource,
> theResultTarget);
>
> Then we get past the numeric_error and blow up later on due to a
segmentation fault.
Well, that's bound to fail because you are dereferencing a null pointer,
which is undefined behavior. What numeric_error are you talking about? Do
you get an actual error message?
Dave