[
https://issues.apache.org/jira/browse/XALANC-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Hayes closed XALANC-595.
-------------------------------
Resolution: Fixed
The patch is commited . Thanks!
> EXSLT date-time function missing + or - before timezone offset
> --------------------------------------------------------------
>
> Key: XALANC-595
> URL: https://issues.apache.org/jira/browse/XALANC-595
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Affects Versions: 1.10
> Environment: AIX and Windows
> Reporter: Maarten Koskamp
> Assigned To: Dmitry Hayes
> Attachments: patch.diff
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]