[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-c-users
Subject:    RE: XPath syntax
From:       Fish Christopher G Contr ESC/ACU OL1 <christopher.fish () eglin ! af ! mil>
Date:       2004-08-23 22:59:38
Message-ID: 200408232300.i7NN0OrG001268 () sw2-int ! eglin ! af ! mil
[Download RAW message or body]

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 

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>RE: XPath syntax</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I'm having some real problems with getting translations to work \
correctly </FONT> <BR><FONT SIZE=2>while on a Solaris Box.&nbsp; We are using XalanC \
version 1.2.0 </FONT> <BR><FONT SIZE=2>Is anyone aware of any bugs that might be \
related to this and only occure on a </FONT> <BR><FONT SIZE=2>Solaris/unix system? \
</FONT> </P>

<P><FONT SIZE=2>This line calls procedure (from file XalanTransformer.cpp):</FONT>
</P>

<P><FONT SIZE=2>int XalanTransformer::transform(</FONT>
</P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
const XSLTInputSource&amp; theInputSource,</FONT> </P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
const XSLTInputSource&amp; theStylesheetSource,</FONT> </P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
const XSLTResultTarget&amp; theResultTarget)</FONT> </P>

<P><FONT SIZE=2>&nbsp;</FONT>
</P>

<P><FONT SIZE=2>Error occurs on line:</FONT>
</P>

<P><FONT SIZE=2>return transform(</FONT>
</P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
*theParsedSource,</FONT> </P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
theStylesheelSource,</FONT> </P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
theResultTarget);</FONT> </P>

<P><FONT SIZE=2>&nbsp;</FONT>
</P>

<P><FONT SIZE=2>If following line is added:</FONT>
</P>

<P><FONT SIZE=2>const XSLTInputSource* testParsedSource = 0;</FONT>
</P>

<P><FONT SIZE=2>&nbsp;</FONT>
</P>

<P><FONT SIZE=2>and the return line is modified:</FONT>
</P>

<P><FONT SIZE=2>return transform(</FONT>
</P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
*testParsedSource,</FONT> </P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
theStylesheelSource,</FONT> </P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
theResultTarget);</FONT> </P>

<P><FONT SIZE=2>&nbsp;</FONT>
</P>

<P><FONT SIZE=2>Then we get past the numeric_error and blow up later on due to a \
segmentation fault.</FONT> </P>

<P><FONT SIZE=2>&nbsp;</FONT>
</P>

<P><FONT SIZE=2>In the XalanTransformer::transform procedure above, theInputSource is \
a const XSLTInputSource* but when calling itself it passes in theParsedSource which \
is a const XalanParsedSource</FONT></P> <BR>
<BR>

<P><FONT SIZE=2>Anybody have any idea? </FONT>
</P>

<P><FONT SIZE=2>Regards,</FONT>
<BR><FONT SIZE=2>Christopher </FONT>
</P>

</BODY>
</HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic