Hi Todd, you are absolutely right - my apologies. By the way, I assembled a small batch script to run xsltc. According to the classpath matrix (http://xml.apache.org/xalan-j/xsltc_usage.html) the script looked like this:
set CLASSPATH=d:\jtools\xalan-j_2_3_0\bin\xsltc.jar;%CLASSPATH% set CLASSPATH=d:\jtools\xalan-j_2_3_0\bin\runtime.jar;%CLASSPATH% set CLASSPATH=d:\jtools\xalan-j_2_3_0\bin\BCEL.jar;%CLASSPATH% set CLASSPATH=d:\jtools\xalan-j_2_3_0\bin\regexp.jar;%CLASSPATH% set CLASSPATH=d:\jtools\xalan-j_2_3_0\bin\xercesImpl.jar;%CLASSPATH% set CLASSPATH=d:\jtools\xalan-j_2_3_0\bin\xalan.jar;%CLASSPATH% java org.apache.xalan.xsltc.cmdline.Compile %1 I didn't notice that regexp is not part of the Xalan distribution. Maybe some clarifying words would help or even better bundling regexp with Xalan. Thanks a lot > Chris, > > check your classpath- I'll bet you don't have the regexp.jar in it??? > Like I said in my previous email, XSLTC relies on a package > called BCEL > - we upgraded to the newest BCEL and on of its requirements is that > the jakarta regexp.jar needs to be in the classpath during > xsltc compilation > of your stylesheet. I took my regexp.jar out of my classpath and > I did get your error: org/apache/regexp/RESyntaxException.
