ExsltDatetime functions do not support fractional seconds values
----------------------------------------------------------------

         Key: XALANJ-2014
         URL: http://nagoya.apache.org/jira/browse/XALANJ-2014
     Project: XalanJ2
        Type: Bug
  Components: Xalan, Xalan-extensions, XPath, XPath-API, XPath-function  
    Versions: 2.6    
    Reporter: Chris Hall


The org.apache.xalan.lib.ExsltDatetime functions (particularly "time" and 
"formatDate") do not support the fractional seconds value that is specified in 
the XML Schema Part 2 xs:time datatype, although the documentation specifies 
that they are compliant with the standard.  Because fractional seconds aren't 
supported, a more problematic issue arises when a fractional second value and 
timezone offset are specified.  In this case, the time portion of the returned 
formatted date String is set to the Date() default.  For example, 
ExsltDatetime.formatDate("2004-12-10T12:15:00.555-05:00", "MM/dd/yyyy 
HH:mm:ss")) returns "12/10/2004 00:00:00"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to