RE: format-number() bug in XALANJ

Daniel Schmidt <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <31DE4BD22F1A1246AD1A584BC505CAD09604EF1C@NLSRVWP-EXM01.ttg.global>
Thanks for clarifying, Thorsten.

I did a workaround and created my own formatNumber EXSLT function which just replaces , and . in a number (10,000.00) with the correct localisation for a certain country.

Cheers,
Daniel

From: Thorsten Scherler [mailto:[email protected]]
Sent: Mittwoch, 11. Dezember 2013 16:37
To: [email protected]
Subject: Re: format-number() bug in XALANJ

On 12/11/2013 03:29 PM, Daniel Schmidt wrote:
Hi all,

Does anybody know what's the status of this ticket?
https://issues.apache.org/jira/browse/XALANJ-2565

After 5 hours of working out a price template with formats for >20 countries I ran into that issue.

Thanks,
Daniel


Daniel Schmidt | Jr Web Developer | TomTom Business Solutions | [email protected]<mailto:[email protected]> | +49(0)341 24495-920 office | +49(0)341 24495-888 fax | www.tomtom.com/business<http://www.tomtom.com/business>


Seeing that issue is a xalan one the best bet is to ask over there. Seeing that there is a workaround described in the ticket you could patch your own xalan or alternatively try saxon in cocoon.

Depending on your cocoon version:
http://wiki.apache.org/cocoon/Saxon
http://mrhaki.blogspot.com.es/2008/09/use-saxon-in-cocoon-22.html
https://issues.apache.org/jira/browse/COCOON3-82
http://markmail.org/message/nzhgv7dm7c6x6xka

HTH


--

Thorsten Scherler <scherler.at.gmail.com>

codeBusters S.L. - web based systems

<consulting, training and solutions>



http://www.codebusters.es/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.