You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "David Lee (JIRA)" <xa...@xml.apache.org> on 2005/03/09 01:11:52 UTC

[jira] Commented: (XALANJ-2076) date:day-in-month() returns month -1

     [ http://issues.apache.org/jira/browse/XALANJ-2076?page=comments#action_60472 ]
     
David Lee commented on XALANJ-2076:
-----------------------------------

I just checked my email..the subject should be date:month-in-year() returns month -1

> date:day-in-month() returns month -1
> ------------------------------------
>
>          Key: XALANJ-2076
>          URL: http://issues.apache.org/jira/browse/XALANJ-2076
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-extensions
>     Versions: 2.5Dx
>     Reporter: David Lee
>     Priority: Minor

>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" extension-element-prefixes="date">
> <xsl:element name="date">
> <xsl:attribute name="month"><xsl:value-of select="date:month-in-year()"/></xsl:attribute>
> </xsl:element>
> If the current date is March 10, 2005, I would expect this function to return 3.  But it returns 2.

-- 
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
-
If you want more information on JIRA, or have a bug to report 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