Re: EXSLT: Date/time
Attila <[email protected]> Fri, 3 Aug 2007 10:36:15 -0400
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
ok, it turns out I was using Xalan-c by accident. I downloaded Xalan-J 2.7.x and I get this: C:\Documents and Settings\aaros\Desktop\xalan-j_2_7_0>java xalan Exception in thread "main" java.lang.NoClassDefFoundError: xalan C:\Documents and Settings\aaros\Desktop\xalan-j_2_7_0>java xalan.jar Exception in thread "main" java.lang.NoClassDefFoundError: xalan/jar Any ideas on how to launch? thanks On 8/3/07, Florent Georges <[email protected]> wrote: > > Attila wrote: > > > Sorry I fixed the incorrect URI, however I still get a similar error. > > > Error console: > > > XalanXPathException: The function number ' > > http://exslt.org/dates-and-times:date' is not available. > > > > (file:///C:/p4/dev/aaros/devmain_aa/SimTools/SimulatorTools/Generate_ConfigDocumentation_TEXT.xsl, > > line 18, column 64) > > 1>Error generating TEXT documentation, return code: 65280 > > First, the error message is weird (function "number"). The following > stylesheet runs fine with Xalan-J 2.7.0: > > <xsl:stylesheet > version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:date="http://exslt.org/dates-and-times"> > > <xsl:output method="text"/> > > <xsl:template match="/"> > Date: <xsl:value-of select="date:dat()"/> > </xsl:template> > > </xsl:stylesheet> > > (drkm)[3] ~/xslt/tests$ > xalan -IN exslt-date.xsl -XSL exslt-date.xsl > > Date: 2007-08-03+02:00 > > I'm affraid that will require more work for you to track down a bug > somewhere else in your stylesheet, in your environment, or in your XSLT > processor (you can try the Xalan ML). > > Regards, > > --drkm > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________________ > Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de > mail ! > -- Attila Software Developer [email protected] _______________________________________________ exslt mailing list [email protected] http://www.exslt.org/list