I think others have reported this recently, so please point me to the archives
if this is a repeat.
First off, I'm using xalan-j version 1.2.2 on a command line.
I've been able to get this to work before so I don't know what's wrong.
I've attached my xsl.
Here's the output:
nyap.jpmpsdev@jpmpsdev2:/vobs/ds/tig/web/xsl/tig|nyap-tig-du> xslt
~/tmp/Meetings.xml events.xsl events.html -PARAM view "'aoeu'"
========= Parsing file:/vobs/ds/tig/web/xsl/tig/events.xsl ==========
XSL Error: pattern = 'java:format(java.text.SimpleDateFormat.new('MM/dd/yyyy
hh:mm
a'),parse(com.jpmorgan.tk.utils.core.iso8601.IsoDateTimeParser.getInstance(),.))'
Could not find function: java.text.SimpleDateFormat.new
Remaining tokens: ( '(' ''MM/dd/yyyy hh:mm a'' ')' ',' 'parse' '('
'com.jpmorgan.tk.utils.core.iso8601.IsoDateTimeParser.getInstance' '(' ')' ','
'.' ')' ')'), style tree node: org.apache.xalan.xslt.ElemValueOf@4ea91
XSL Error: Could not parse file:/vobs/ds/tig/web/xsl/tig/events.xsl document!
XSL Error: processStylesheet not successful!
XSLT: pattern = 'java:format(java.text.SimpleDateFormat.new('MM/dd/yyyy hh:mm
a'),parse(com.jpmorgan.tk.utils.core.iso8601.IsoDateTimeParser.getInstance(),.))'
Could not find function: java.text.SimpleDateFormat.new
Remaining tokens: ( '(' ''MM/dd/yyyy hh:mm a'' ')' ',' 'parse' '('
'com.jpmorgan.tk.utils.core.iso8601.IsoDateTimeParser.getInstance' '(' ')' ','
'.' ')' ')')
Xalan: was not successful.
XSLProcessor: done
I've been able to get java.lang.String.new to work, but I haven't had any luck
with anything else.
Any help would be greatly appreciated.
Thanks,
Noel
Enc
(See attached file: events.xsl)
events.xsl