![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Different results of format-date() when using empty seq. or omitting args for lang/cal/country args >Thread Next - Re: [xsl] Different results of format-date() when using empty seq. or omitting args for lang/cal/country args RE: [xsl] Different results of format-date() when using empty seq. or omitting args for lang/cal/country argsTo: Date: 10/2/2006 2:34:00 PM > While trying to output a value as ISO calendar using a > default language, I came across a little niche in the xslt > specification that I find hard to interpret right. It turns out in fact that if you call format-date() with two arguments, Saxon defaults the language to: * the language of the default Java locale provided that there is a Saxon localization for this language But if you supply () as the value of the third argument, Saxon defaults the language to: * the language of the default Java locale whether or not there is a Saxon localization for this language The default should be the same in both cases, I will fix this. (I did some interesting but not very successful experiments trying to configure my PC to use Dutch. All I achieved was to select a US keyboard mapping, which doesn't match the keys on my keyboard...) Michael Kay http://www.saxonica.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
