[xslt] Solaris 10 test failure with 1.1.15



Any ideas on this test failure (works ok on RHEL 4/AMD64):
  ## Running exslt common tests
  Warning: missing newline at end of file ./add.1.out
  Warning: missing newline at end of file add.1.res
  add.1 result
  29c29 < result : 1970-01-01T00:29:30Z --- > result :
  datetime.1 result
  23,38c23,38 < year : 1 < leap-year : false < month-in-year : 12 < month-name : December < month-abbreviation : Dec < week-in-year : 53 < day-in-year : 365 < day-in-month : 31 < day-of-week-in-month : 5 < day-in-week : 2 < day-name : Monday < day-abbreviation : Mon < time : 23:59:59.1234-05:00 < hour-in-day : 23 < minute-in-hour : 59 < second-in-minute : 59.1234 --- > year : NaN > leap-year : NaN > month-in-year : NaN > month-name : > month-abbreviation : > week-in-year : NaN > day-in-year : NaN > day-in-month : NaN > day-of-week-in-month : NaN > day-in-week : NaN > day-name : > day-abbreviation : > time : > hour-in-day : NaN > minute-in-hour : NaN > second-in-minute : NaN 41,56c41,56 < year : -1 < leap-year : false < month-in-year : 12 < month-name : December < month-abbreviation : Dec < week-in-year : 52 < day-in-year : 365 < day-in-month : 31 < day-of-week-in-month : 5 < day-in-week : 1 < day-name : Sunday < day-abbreviation : Sun < time : 23:59:59-05:00 < hour-in-day : 23 < minute-in-hour : 59 < second-in-minute : 59 --- > year : NaN > leap-year : NaN > month-in-year : NaN > month-name : > month-abbreviation : > week-in-year : NaN > day-in-year : NaN > day-in-month : NaN > day-of-week-in-month : NaN > day-in-week : NaN > day-name : > day-abbreviation : > time : > hour-in-day : NaN > minute-in-hour : NaN > second-in-minute : NaN
  gmake[5]: Leaving directory `/opt/build/libxslt-1.1.15/tests/exslt/date'

I've attached tests/exslt/date/datetime.1.res. Looks like maybe some
math problems:
  ...

  Test Date : 0001-12-31T23:59:59.1234-05:00
    year                 : NaN
    leap-year            : NaN
    month-in-year        : NaN
    month-name           : 
    month-abbreviation   : 
    week-in-year         : NaN
    day-in-year          : NaN
    day-in-month         : NaN
    day-of-week-in-month : NaN
    day-in-week          : NaN
    day-name             : 
    day-abbreviation     : 
    time                 : 
    hour-in-day          : NaN
    minute-in-hour       : NaN
    second-in-minute     : NaN
  
-- 
albert chin (china thewrittenword com)
  
  
  Test Date : 2001-02-28T10:31:07
    year                 : 2001
    leap-year            : false
    month-in-year        : 2
    month-name           : February
    month-abbreviation   : Feb
    week-in-year         : 9
    day-in-year          : 59
    day-in-month         : 28
    day-of-week-in-month : 4
    day-in-week          : 4
    day-name             : Wednesday
    day-abbreviation     : Wed
    time                 : 10:31:07
    hour-in-day          : 10
    minute-in-hour       : 31
    second-in-minute     : 7
  
  Test Date : 0001-12-31T23:59:59.1234-05:00
    year                 : NaN
    leap-year            : NaN
    month-in-year        : NaN
    month-name           : 
    month-abbreviation   : 
    week-in-year         : NaN
    day-in-year          : NaN
    day-in-month         : NaN
    day-of-week-in-month : NaN
    day-in-week          : NaN
    day-name             : 
    day-abbreviation     : 
    time                 : 
    hour-in-day          : NaN
    minute-in-hour       : NaN
    second-in-minute     : NaN
  
  Test Date : -0001-12-31T23:59:59-05:00
    year                 : NaN
    leap-year            : NaN
    month-in-year        : NaN
    month-name           : 
    month-abbreviation   : 
    week-in-year         : NaN
    day-in-year          : NaN
    day-in-month         : NaN
    day-of-week-in-month : NaN
    day-in-week          : NaN
    day-name             : 
    day-abbreviation     : 
    time                 : 
    hour-in-day          : NaN
    minute-in-hour       : NaN
    second-in-minute     : NaN
  
  Test Date : 10000-12-31T23:59:59.9901Z
    year                 : 10000
    leap-year            : true
    month-in-year        : 12
    month-name           : December
    month-abbreviation   : Dec
    week-in-year         : 52
    day-in-year          : 366
    day-in-month         : 31
    day-of-week-in-month : 5
    day-in-week          : 1
    day-name             : Sunday
    day-abbreviation     : Sun
    time                 : 23:59:59.9901Z
    hour-in-day          : 23
    minute-in-hour       : 59
    second-in-minute     : 59.9901
  
  Test Date : -10000-12-31T23:59:59Z
    year                 : -10000
    leap-year            : true
    month-in-year        : 12
    month-name           : December
    month-abbreviation   : Dec
    week-in-year         : 53
    day-in-year          : 366
    day-in-month         : 31
    day-of-week-in-month : 5
    day-in-week          : 4
    day-name             : Wednesday
    day-abbreviation     : Wed
    time                 : 23:59:59Z
    hour-in-day          : 23
    minute-in-hour       : 59
    second-in-minute     : 59


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]