← Prev in month ← Prev in thread

still setting up

From
Craig White <>
Date
2007-11-15T16:20:45+00:00
ID
Thread
still setting up
trying to add Xerces to the mix and am getting error...

# echo $CLASSPATH
:/var/www/html/docbook-xsl/extensions/saxon65.jar:\
/var/www/html/docbook-xsl/extentions/xalan27.jar:\
/var/www/html/saxon/saxon.jar:\
/var/www/html/saxon/xercesImpl.jar
(these are all valid paths)

# java \
>   -Djavax.xml.parsers.DocumentBuilderFactory=\
>      org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \
>   -Djavax.xml.parsers.SAXParserFactory=\
>      org.apache.xerces.jaxp.SAXParserFactoryImpl \
>   com.icl.saxon.StyleSheet -t \
>   -o myfile.html \
>   /var/www/html/books/content/books/xml/qm_manual/en/index.xml \
>   /var/www/html/docbook-xsl/html/docbook.xsl
Exception in thread "main" java.lang.NoSuchMethodError: main

(bulk of example taken from page 21 of Bob's 4th Ed Docbook XSL with
obvious substitution of input file but error occurs regardless)

xercesImp.jar taken from downloaded binary
file...Xerces-J-bin.2.9.1.tar.gz and obviously put into folder with
saxon stuff...

Did I do something wrong?

Craig
← Prev in month ← Prev in thread