|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [exslt] RE: another error in date:difference templ
Hi Tom, Harry, > I modified the date:difference template to get the test harness to > pass. Thanks for your patch. An alternative fix is to modify how $start-days and $end-days are calculated. Line 139 was: <xsl:when test="$start-leap"> and should be: <xsl:when test="$start-leap and $start-month > 2"> Line 160 was: <xsl:when test="$end-leap"> and should be: <xsl:when test="$end-leap and $end-month > 2"> Making those changes gives the right results for all the test cases. I'll upload the fix to the EXSLT site as soon as I'm able (it's not accepting my password at the moment...). Thanks for pointing out the error and working on fixes yourselves. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








