[ http://issues.apache.org/jira/browse/XALANJ-2099?page=all ] Sarah McNamara closed XALANJ-2099: ----------------------------------
Closed per comments from the originator. > EXSLT date:day-abbreviation outputs text in user's language instead of English > ------------------------------------------------------------------------------ > > Key: XALANJ-2099 > URL: http://issues.apache.org/jira/browse/XALANJ-2099 > Project: XalanJ2 > Type: Bug > Components: Xalan-extensions > Versions: 2.6 > Reporter: Litrik De Roy > Assignee: Morris Kwan > Priority: Minor > Fix For: 2.7 > Attachments: XALANJ-2099.patch, exslt-date.xsl, input.xml > > According to the EXSLT doc the extension date:day-abbreviation() should > output a three-letter English day abbreviation: one of 'Sun', 'Mon', 'Tue', > 'Wed', 'Thu' or 'Fri'. (See > http://exslt.org/date/functions/day-abbreviation/index.html) > Xalan 2.6.2 however does not output English but the current user's language. > This is very easy to reproduce: > The following three commands should all produce the same output but they > don't: > java -Djava.endorsed.dirs=. -Duser.language=nl -jar xalan.jar -IN input.xml > -XSL exslt-date.xsl > java -Djava.endorsed.dirs=. -Duser.language=fr -jar xalan.jar -IN input.xml > -XSL exslt-date.xsl > java -Djava.endorsed.dirs=. -Duser.language=en -jar xalan.jar -IN input.xml > -XSL exslt-date.xsl -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
