This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] dbtimestamp PI function


> -----Original Message-----
> From: Jirka Kosek 

> Lars Bjerges wrote:
> 
> > It seems that the "function-available" does not really work 
> here or am I missing something?
> 
> It seems to me as a Xalan bug. You should report and consult 
> it on Xalan mailing list.


Yes, it seems like a bug. It works with Xalan if you use the exact name of
the underlying Java method. 

<!-- OK with Saxon and xsltproc -->
<xsl:if test="function-available('date:date-time')">  

<!-- OK with Saxon and Xalan -->
 <xsl:if test="function-available('date:dateTime')"> 

Tested with:
Saxon 6.5.3
Xalan 2.6.0
xsltproc 1.1.8


/MJ



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]