CLASSPATH=$XMLSH/bin/xmlsh-1.1.jar
CLASSPATH=$CLASSPATH:$XMLSH/lib/log4j-1.2.7.jar
CLASSPATH=$CLASSPATH:$XMLSH/lib/saxon9he.jar
CLASSPATH=$CLASSPATH:$XMLSH/lib/xercesImpl.jar
# Uncomment the next line if you DO NOT want to use jline input editing
CLASSPATH=$CLASSPATH:$XMLSH/lib/jline-0.9.94.jar
CLASSPATH=$CLASSPATH:$XMLSH/lib/woodstox-core-asl-4.0.3.jar
CLASSPATH=$CLASSPATH:$XMLSH/lib/stax2-api-3.0.1.jar
CLASSPATH=$CLASSPATH:$XMLSH/lib/stax-utils.jar
# jing only used for rngvalidate
CLASSPATH=$CLASSPATH:$XMLSH/lib/jing.jar
# trang only used for rngconvert
CLASSPATH=$CLASSPATH:$XMLSH/lib/trang.jar
# saxon only used for xslt1
CLASSPATH=$CLASSPATH:$XMLSH/lib/saxon.jar
java -cp $CLASSPATH -Xmx1024m -Xms256m -XX:+UseConcMarkSweepGC org.xmlsh.sh.shell.Shell "$@"