date.js error evaluating JavaScript at line: 1211

Elisabeth Baute <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
I am running Apache 2.0 on XP with Sablotron using exslt's func:script.  I
have successfully used other date javascript calls, but add is not
working.

I try a basic call like:
<xsl:variable name="start_display" 
  select="date:add('1970-01-01T00:00:00', 'P1M')"/> 

And get the error:
error evaluating JavaScript (line: 1211; msg: 'SyntaxError: missing ;
before statement' token: 'undefined')

Line 1211 from date.js is at the -->:
function Duration(pm, years, months, days, hours, minutes, seconds,
fraction){
	this.pm = pm;
	this.years = years*1;
	this.months = months*1;
	this.days = days*1;
	this.hours = hours*1;
	this.minutes = minutes*1;
	this.seconds = seconds*1;
	this.fraction = fraction*1;
-->	this.milliseconds = eval('0.'+fraction) * 100;


Has anyone else experienced this?  

-Elisabeth Shyjka Baute

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.