You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by brianfeng221 <fe...@jpmorgan.com> on 2008/08/15 13:39:44 UTC

Help urgent :( xalan results returned from java 1.5 and 5 are different

Hi All:

Currently I am dispatching a new software for my company. But i met the
following error:
in my eclispse, it is java 5. I receive the result successfully
<?xml version="1.0" encoding="UTF-8"?>EXEC merlin_i_py_sgsod_rg
27250786,equity-27063930,0,90661,8.5629298737570847e+04,0.0,9.4478634844016729e-01,0.0,0.0000000000000000e+00,0.0,2.5976390644340427e+01,0.0,0.0000000000000000e+00,
0.0, 0.0,NULL,NULL,NULL,NULL,NULL, NULL, 1.0000000000000000e+00

but if i switch it to java 1.4
it show me th error 
<?xml version="1.0" encoding="UTF-8"?>
EXEC merlin_i_py_sgsod_rg
27250786,<underlying>equity-27063930</underlying>,NaN,NaN,8.5629298737570847e+04,0.0,9.4478634844016729e-01,0.0,0.0000000000000000e+00,0.0,2.5976390644340427e+01,0.0,0.0000000000000000e+00,
0.0, 0.0,NULL,NULL,NULL,NULL,NULL, NULL, 1.0000000000000000e+00

And the server is using java 1.4, that means I have to make it working on
java 1.4
Could anyone help me on this, please? :(

millions of thanks



-- 
View this message in context: http://www.nabble.com/Help-urgent-%3A%28-xalan-results-returned-from-java-1.5-and-5-are-different-tp18997308p18997308.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.


Re: Help urgent :( xalan results returned from java 1.5 and 5 are different

Posted by brianfeng221 <fe...@jpmorgan.com>.
I didnt post the xslt. it is toooo large. :)
It seems cannot parse the value in <underlying> block...


brianfeng221 wrote:
> 
> Hi All:
> 
> Currently I am dispatching a new software for my company. But i met the
> following error:
> in my eclispse, it is java 5. I receive the result successfully
> <?xml version="1.0" encoding="UTF-8"?>EXEC merlin_i_py_sgsod_rg
> 27250786,equity-27063930,0,90661,8.5629298737570847e+04,0.0,9.4478634844016729e-01,0.0,0.0000000000000000e+00,0.0,2.5976390644340427e+01,0.0,0.0000000000000000e+00,
> 0.0, 0.0,NULL,NULL,NULL,NULL,NULL, NULL, 1.0000000000000000e+00
> 
> but if i switch it to java 1.4
> it show me th error 
> <?xml version="1.0" encoding="UTF-8"?>
> EXEC merlin_i_py_sgsod_rg
> 27250786,<underlying>equity-27063930</underlying>,NaN,NaN,8.5629298737570847e+04,0.0,9.4478634844016729e-01,0.0,0.0000000000000000e+00,0.0,2.5976390644340427e+01,0.0,0.0000000000000000e+00,
> 0.0, 0.0,NULL,NULL,NULL,NULL,NULL, NULL, 1.0000000000000000e+00
> 
> And the server is using java 1.4, that means I have to make it working on
> java 1.4
> Could anyone help me on this, please? :(
> 
> millions of thanks
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Help-urgent-%3A%28-xalan-results-returned-from-java-1.5-and-5-are-different-tp18997308p18997328.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.


Re: Help urgent :( xalan results returned from java 1.5 and 5 are different

Posted by Mukul Gandhi <ga...@gmail.com>.
I believe, the following FAQ item will help you,

http://xml.apache.org/xalan-j/faq.html#faq-N100EF

Please feel free to post queries if you need further help.

On 8/15/08, brianfeng221 <fe...@jpmorgan.com> wrote:
>
> Hi The problem is I use the same xalan.jar file, and use java 1.5, the result
> is correct. if I switch the environment into java 1.4, use the same
> xalan.jar file, it returns error with Nan. :(
>
> not mean i dont want to share with you guys my xslt files, but i am in
> bank,, dont know i can do it or not


-- 
Regards,
Mukul Gandhi

Re: Help urgent :( xalan results returned from java 1.5 and 5 are different

Posted by brianfeng221 <fe...@jpmorgan.com>.
Hi The problem is I use the same xalan.jar file, and use java 1.5, the result
is correct. if I switch the environment into java 1.4, use the same
xalan.jar file, it returns error with Nan. :(

not mean i dont want to share with you guys my xslt files, but i am in
bank,, dont know i can do it or not



Mukul Gandhi wrote:
> 
> To my opinion, it's not good to write and deploy applications with the
> Xalan bundled with JDK. It's usually old than the current stable
> release.
> 
> I would recommend writing your application and deploying it with the
> latest Xalan version available from Apache web site
> (http://xml.apache.org/xalan-j/). The latest version of Xalan as of
> now is, 2.7.1 which you should ideally use.
> 
> Could you also kindly describe the problem you are trying to solve,
> with a small sample input and the required output. It will help the
> list members to see what's going wrong.
> 
> On Fri, Aug 15, 2008 at 5:09 PM, brianfeng221 <fe...@jpmorgan.com>
> wrote:
>>
>> Hi All:
>>
>> Currently I am dispatching a new software for my company. But i met the
>> following error:
>> in my eclispse, it is java 5. I receive the result successfully
>> <?xml version="1.0" encoding="UTF-8"?>EXEC merlin_i_py_sgsod_rg
>> 27250786,equity-27063930,0,90661,8.5629298737570847e+04,0.0,9.4478634844016729e-01,0.0,0.0000000000000000e+00,0.0,2.5976390644340427e+01,0.0,0.0000000000000000e+00,
>> 0.0, 0.0,NULL,NULL,NULL,NULL,NULL, NULL, 1.0000000000000000e+00
>>
>> but if i switch it to java 1.4
>> it show me th error
>> <?xml version="1.0" encoding="UTF-8"?>
>> EXEC merlin_i_py_sgsod_rg
>> 27250786,<underlying>equity-27063930</underlying>,NaN,NaN,8.5629298737570847e+04,0.0,9.4478634844016729e-01,0.0,0.0000000000000000e+00,0.0,2.5976390644340427e+01,0.0,0.0000000000000000e+00,
>> 0.0, 0.0,NULL,NULL,NULL,NULL,NULL, NULL, 1.0000000000000000e+00
>>
>> And the server is using java 1.4, that means I have to make it working on
>> java 1.4
>> Could anyone help me on this, please? :(
>>
>> millions of thanks
> 
> 
> -- 
> Regards,
> Mukul Gandhi
> 
> 

-- 
View this message in context: http://www.nabble.com/Help-urgent-%3A%28-xalan-results-returned-from-java-1.5-and-5-are-different-tp18997308p18998677.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.


Re: Help urgent :( xalan results returned from java 1.5 and 5 are different

Posted by Mukul Gandhi <ga...@gmail.com>.
To my opinion, it's not good to write and deploy applications with the
Xalan bundled with JDK. It's usually old than the current stable
release.

I would recommend writing your application and deploying it with the
latest Xalan version available from Apache web site
(http://xml.apache.org/xalan-j/). The latest version of Xalan as of
now is, 2.7.1 which you should ideally use.

Could you also kindly describe the problem you are trying to solve,
with a small sample input and the required output. It will help the
list members to see what's going wrong.

On Fri, Aug 15, 2008 at 5:09 PM, brianfeng221 <fe...@jpmorgan.com> wrote:
>
> Hi All:
>
> Currently I am dispatching a new software for my company. But i met the
> following error:
> in my eclispse, it is java 5. I receive the result successfully
> <?xml version="1.0" encoding="UTF-8"?>EXEC merlin_i_py_sgsod_rg
> 27250786,equity-27063930,0,90661,8.5629298737570847e+04,0.0,9.4478634844016729e-01,0.0,0.0000000000000000e+00,0.0,2.5976390644340427e+01,0.0,0.0000000000000000e+00,
> 0.0, 0.0,NULL,NULL,NULL,NULL,NULL, NULL, 1.0000000000000000e+00
>
> but if i switch it to java 1.4
> it show me th error
> <?xml version="1.0" encoding="UTF-8"?>
> EXEC merlin_i_py_sgsod_rg
> 27250786,<underlying>equity-27063930</underlying>,NaN,NaN,8.5629298737570847e+04,0.0,9.4478634844016729e-01,0.0,0.0000000000000000e+00,0.0,2.5976390644340427e+01,0.0,0.0000000000000000e+00,
> 0.0, 0.0,NULL,NULL,NULL,NULL,NULL, NULL, 1.0000000000000000e+00
>
> And the server is using java 1.4, that means I have to make it working on
> java 1.4
> Could anyone help me on this, please? :(
>
> millions of thanks


-- 
Regards,
Mukul Gandhi