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 PrashanthV <pr...@mindtree.com> on 2008/11/03 07:58:32 UTC
Difficulties in transforming on Linux
Hi,
I have a XML and a XSLT file. When I pass the files to the SimpleTranform
function in Xalan sample programs, I get the proper resultant output file
(html) when run on Windows. When I try the same procedure on Linux, proper
transformation is not happeninig even though the same version is being used
on both the platforms. There is some data missing in the converted html
file. Is this a common problem? Is there any fix to it?
Any help is greately appreciated.
Regards,
Prashanth
--
View this message in context: http://www.nabble.com/Difficulties-in-transforming-on-Linux-tp20298009p20298009.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: Difficulties in transforming on Linux
Posted by PrashanthV <pr...@mindtree.com>.
Hi David,
Thanks for the reply.
I checked out the revision 713966 from SVN. I will try my luck with this.
Regards,
Prashanth
David Bertoni wrote:
>
> PrashanthV wrote:
>> Hi David,
>> Firstly, I am sorry for a delayed response (because of net accessibility
>> issues).
>>
>> My version of Xalan Source code is 1.10 downloaded from one of the mirror
>> sites. I also have a copy of the binaries downloaded from the 'Install
>> Packages' option in Linux OpenSUSE. I tried running this file in both KDE
>> and GNOME packages using the binaries I built and even with the binaries
>> I
>> downloaded, but it did not make any difference.
>> I have attached the HTMLs generated by SimpleTransform on windows and
>> Linux
>> seperately. Please compare these two files and see the difference. Can
>> you
>> give me any hints as to what might be the problem?
> I'm quite busy right now trying to get the Xalan-C 1.11 release ready,
> so I won't have time to investigate this. I would suggest you use the
> latest source code in the Subversion repository to build, because I
> cannot reproduce your problem with it, and it's very unlikely I will
> patch 1.10.
>
> Dave
>
>
--
View this message in context: http://www.nabble.com/Difficulties-in-transforming-on-Linux-tp20298009p20512783.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: Difficulties in transforming on Linux
Posted by PrashanthV <pr...@mindtree.com>.
the problem was with the xslt. it got solved. thanks for the time you
invested in trying to help me solve the issue.
David Bertoni wrote:
>
> PrashanthV wrote:
>> Hi David,
>> Firstly, I am sorry for a delayed response (because of net accessibility
>> issues).
>>
>> My version of Xalan Source code is 1.10 downloaded from one of the mirror
>> sites. I also have a copy of the binaries downloaded from the 'Install
>> Packages' option in Linux OpenSUSE. I tried running this file in both KDE
>> and GNOME packages using the binaries I built and even with the binaries
>> I
>> downloaded, but it did not make any difference.
>> I have attached the HTMLs generated by SimpleTransform on windows and
>> Linux
>> seperately. Please compare these two files and see the difference. Can
>> you
>> give me any hints as to what might be the problem?
> I'm quite busy right now trying to get the Xalan-C 1.11 release ready,
> so I won't have time to investigate this. I would suggest you use the
> latest source code in the Subversion repository to build, because I
> cannot reproduce your problem with it, and it's very unlikely I will
> patch 1.10.
>
> Dave
>
>
--
View this message in context: http://www.nabble.com/Difficulties-in-transforming-on-Linux-tp20298009p21330857.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: Difficulties in transforming on Linux
Posted by David Bertoni <db...@apache.org>.
PrashanthV wrote:
> Hi David,
> Firstly, I am sorry for a delayed response (because of net accessibility
> issues).
>
> My version of Xalan Source code is 1.10 downloaded from one of the mirror
> sites. I also have a copy of the binaries downloaded from the 'Install
> Packages' option in Linux OpenSUSE. I tried running this file in both KDE
> and GNOME packages using the binaries I built and even with the binaries I
> downloaded, but it did not make any difference.
> I have attached the HTMLs generated by SimpleTransform on windows and Linux
> seperately. Please compare these two files and see the difference. Can you
> give me any hints as to what might be the problem?
I'm quite busy right now trying to get the Xalan-C 1.11 release ready,
so I won't have time to investigate this. I would suggest you use the
latest source code in the Subversion repository to build, because I
cannot reproduce your problem with it, and it's very unlikely I will
patch 1.10.
Dave
Re: Difficulties in transforming on Linux
Posted by PrashanthV <pr...@mindtree.com>.
Hi David,
Firstly, I am sorry for a delayed response (because of net accessibility
issues).
My version of Xalan Source code is 1.10 downloaded from one of the mirror
sites. I also have a copy of the binaries downloaded from the 'Install
Packages' option in Linux OpenSUSE. I tried running this file in both KDE
and GNOME packages using the binaries I built and even with the binaries I
downloaded, but it did not make any difference.
I have attached the HTMLs generated by SimpleTransform on windows and Linux
seperately. Please compare these two files and see the difference. Can you
give me any hints as to what might be the problem?
Regards,
Prashanth http://www.nabble.com/file/p20441603/foo_linux.html foo_linux.html
http://www.nabble.com/file/p20441603/foo_windows.html foo_windows.html
--
View this message in context: http://www.nabble.com/Difficulties-in-transforming-on-Linux-tp20298009p20441603.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: Difficulties in transforming on Linux
Posted by David Bertoni <db...@apache.org>.
PrashanthV wrote:
> Hi David,
> I have attached the xml and the xsl file that I have been trying. Please
> note that the XSL file I have attached is actually a XSLT which I renamed to
> XSL since SimpleTransfrom expects XSL. As I have mentioned below,
> transformation happens fine on Windows but not Linux. If it is (in case) an
> encoding problem, please suggest me the changes that I need to do since I am
> very new to stylesheets.
Your stylesheet works fine for me on Ubuntu 8.04, using the head of the
subversion repository. What version of Xalan-C are you using?
Dave
Re: Difficulties in transforming on Linux
Posted by PrashanthV <pr...@mindtree.com>.
Hi David,
I have attached the xml and the xsl file that I have been trying. Please
note that the XSL file I have attached is actually a XSLT which I renamed to
XSL since SimpleTransfrom expects XSL. As I have mentioned below,
transformation happens fine on Windows but not Linux. If it is (in case) an
encoding problem, please suggest me the changes that I need to do since I am
very new to stylesheets.
Regards,
Prashanth
David Bertoni wrote:
>
> PrashanthV wrote:
>> Hi,
>> I have a XML and a XSLT file. When I pass the files to the SimpleTranform
>> function in Xalan sample programs, I get the proper resultant output file
>> (html) when run on Windows. When I try the same procedure on Linux,
>> proper
>> transformation is not happeninig even though the same version is being
>> used
>> on both the platforms. There is some data missing in the converted html
>> file. Is this a common problem? Is there any fix to it?
>> Any help is greately appreciated.
> Can you provide a sample input document and stylesheet that reproduces
> the problem? I don't know why there would be any difference, unless
> there's a bug, or your stylesheet specifies an encoding that isn't
> support on Linux.
>
> Dave
>
>
http://www.nabble.com/file/p20316185/foo.xml foo.xml
http://www.nabble.com/file/p20316185/foo.xsl foo.xsl
--
View this message in context: http://www.nabble.com/Difficulties-in-transforming-on-Linux-tp20298009p20316185.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: Difficulties in transforming on Linux
Posted by David Bertoni <db...@apache.org>.
PrashanthV wrote:
> Hi,
> I have a XML and a XSLT file. When I pass the files to the SimpleTranform
> function in Xalan sample programs, I get the proper resultant output file
> (html) when run on Windows. When I try the same procedure on Linux, proper
> transformation is not happeninig even though the same version is being used
> on both the platforms. There is some data missing in the converted html
> file. Is this a common problem? Is there any fix to it?
> Any help is greately appreciated.
Can you provide a sample input document and stylesheet that reproduces
the problem? I don't know why there would be any difference, unless
there's a bug, or your stylesheet specifies an encoding that isn't
support on Linux.
Dave