You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Maarten Koskamp (JIRA)" <xa...@xml.apache.org> on 2006/01/19 19:20:42 UTC
[jira] Commented: (XALANC-595) EXSLT date-time function missing +
or - before timezone offset
[ http://issues.apache.org/jira/browse/XALANC-595?page=comments#action_12363282 ]
Maarten Koskamp commented on XALANC-595:
----------------------------------------
Further testing showed that negative time offsets are returned correctly with a minus sign.
Just the positive offset is missing.
Further a time without an offset is reported with a "z", I think this should be a capital Z.
> EXSLT date-time function missing + or - before timezone offset
> --------------------------------------------------------------
>
> Key: XALANC-595
> URL: http://issues.apache.org/jira/browse/XALANC-595
> Project: XalanC
> Type: Bug
> Components: XalanC
> Versions: 1.10
> Environment: AIX and Windows
> Reporter: Maarten Koskamp
>
> The exslt function date-time() returns a datetime that is not conform the specification.
> It is missing the + or - sign before the timezone offset.
> It should be e.g:
> 2006-01-18T18:55:41+01:00
> But the function returns:
> 2006-01-18T18:55:4101:00
> This is not conform specification.
> see: http://exslt.org/date/functions/date-time/index.html
> Sample stylesheet:
> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0"
> xmlns:date="http://exslt.org/dates-and-times"
> >
> <xsl:template match="/">
> <foo><xsl:value-of select="date:date-time()" /></foo>
> </xsl:template>
> </xsl:transform>
--
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