Project

Profile

Help

Still appears: [Language: en]

Added by Anonymous about 14 years ago

Legacy ID: #8080862 Legacy Poster: Michael Müller-Hillebrand (mmh5)

Hello, I still see the bug "format-date() for non-English outputs [Language:en] - ID: 2837292" with Saxon HE 9.2.0.3 on .NET on a German language Windows XP Pro (fully patched SP3, .NET 3.5.30729.01). The following code produces the prefix, whenever a language other than en is specified: [code]<xsl:value-of select="concat(' Date and time: ', format-dateTime(current-dateTime(), '[D,2].[M,2].[Y] [H01]:[m01]:[s01] [z]', 'it', 'ISO', 'DE'))" />[/code] - Michael


Replies (1)

RE: Still appears: [Language: en] - Added by Anonymous about 14 years ago

Legacy ID: #8085532 Legacy Poster: Michael Kay (mhkay)

I think that this is not in fact a recurrence of 2837292. In 9.2.0.3 and later, the problem occurs only with Saxon HE, and I think it only occurs when Saxon does in fact fall back to outputting the language in English rather than in the requested language. In Saxon-HE, localization modules for languages other than English are not included in the product by default: see http://www.saxonica.com/documentation/changes/intro/install92.html. As it happens, I'm not particularly comfortable with this decision: it's particularly unfriendly for Saxon on .NET where, to be honest, I'm not sure whether it's actually feasible for users to configure the localization code under Saxon-HE. However, I'm not going to change the design in a maintenance release, so this is a matter for the next development release.

    (1-1/1)

    Please register to reply