ciel
2006-07-18
hi, all:
i download the xmlresume and installed on my redhat 9. but I cannot pass the examples. I am not familar with the java structure, so i don't know what's wrong. The following is what i have done:
i follow the user guard
1: i donlowad jdk1.5.0_07. uncompress it under /usr/java. and I add the /usr/java/jdk1.5.0_07/bin to $PATH. didnot add or change any other environment parameter.
2: i download Xerces-J-bin.2.8.0.tar.gz, unzip it, and copy all .jar to /usr/java/jdk1.5.0_07/jre/lib/ext as the introduction of xmlresume said
3: i download xalan-j_2_7_0-bin.tar.gz. copy its *jar to the ext/ too.
4: the same thing to fop-0.20.5-bin.tar.gz
5: I download the xmlresume. and uncompress it. I change the example2.xml to resume.xml. and In Makefile, i change xsl_base = ../xsl
the following is what i get..
$ make
java org.apache.xalan.xslt.Process -in resume.xml -xsl ../xsl/output/us-text.xsl -out resume.txt
(Location of error unknown)XSLT Error (javax.xml.transform.TransformerException): java.net.ConnectException: Connection timed out
Exception in thread "main" java.lang.RuntimeException: java.net.ConnectException: Connection timed out
at org.apache.xalan.xslt.Process.doExit(Process.java:1153)
at org.apache.xalan.xslt.Process.main(Process.java:1126)
make: *** [resume.txt] Error 1
there had been a long time until the error message come out.
and I find that the *jar i uncompressed from xeerces and xalan is different from the list in the section Installing and Configuring the Software.
So could anybody help out of this?..thanks.
Matt LeClair
2006-07-18
If my memory serves me right, you're seeing this error because Java can't reach xmlresume.sf.net to download the DTD. This happens if you're behind a proxy server. Change the path to the DTD in the DOCTYPE declaration at the top of the resume.xml file you are editing/testing. Make the path point to a local copy and you should be fine.
Nobody/Anonymous
2006-07-18
all done, thank you very much :)