You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Sarah McNamara (JIRA)" <xa...@xml.apache.org> on 2005/07/15 23:33:10 UTC

[jira] Commented: (XALANJ-2099) EXSLT date:day-abbreviation outputs text in user's language instead of English

    [ http://issues.apache.org/jira/browse/XALANJ-2099?page=comments#action_12315950 ] 

Sarah McNamara commented on XALANJ-2099:
----------------------------------------

I have reviewed the patch and have rerun the sample tests with the patch.  The patch resolves the problem and the patch looks good.  I approve.

> 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
>  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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org