Re: [xslt] exslt date bugs



Le 2001-10-29 17:48, Bruce Miller a écrit :
> But the main point is to provide some patches for some (mostly minor)
> bugs in the date implementation.
>    1) dDay format not recognized (trivial fix)
>    2) Several functions are accepting dates in formats where they really
>       haven't got sufficient information (trivial fix)
>    3) week day & month names (abbreviated or not) when the date is not
>       valid.  I'm actually surprised this doesn't segfault, as the
>       current code casts a double to an int, and then references an
>       array with the result, w/o any check.
>       Is casting NaN to an int even defined?

Thanks for the report

> Anyway, attached is
>     diff date.c date.c.orig

Doh, this is a reversed patch, and it is not really readable. Could you use
"diff -u date.c.orig date.c" and send me the patch back (sorry, I'm really
busy, 'might even not find time to do it myself...)

> and testdate.(dtd|xml|xsl)  to demonstrate

Thanks, I'll try to integrate the whole thing asap.

Tom.



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