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/

Reply via email to