Subject: [xsl] Re: [exslt] RE: another error in date:difference template ... From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Fri, 9 Jul 2004 22:03:43 +0100 |
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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Muenchian grouping: help , Mukul Gandhi | Thread | [xsl] Working through a sorted node, lsl |
[xsl] Muenchian grouping: help with, Justin Anderson | Date | Re: [xsl] Figuring out for-group-by, Jeni Tennison |
Month |