This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

TransformerConfigurationException in Xalan 2.0.0


Hi!

When I'm running  Xalan 2.0.0 in conjunction with DocBook XML 4.1.2 and
version 1.29 of the style sheets on my XML file, I get the following
error:

xalan table_test.xml $XSL_FO table_test.fo
CLASSPATH set
to: /usr/local/docbook/tools/xsl-processors/xalan-j_2_0_0/bin/xalan.jar:/usr/local/docbook/tools/xsl-processors/xalan-j_2_0_0/bin/xalansamples.jar:/usr/local/docbook/tools/xsl-processors/xalan-j_2_0_0/bin/bsf.jar:/usr/local/docbook/tools/xml-parsers/xerces-1_3_0/xerces.jar

XSLT Error (javax.xml.transform.TransformerConfigurationException): File
"file:////home/hrauch//usr/local/docbook/style/xsl/1.29/VERSION" not
found.

"/home/hrauch" is my home dir.

("xalan" is just a wrapper script. $XSL_FO is a shell variable containing
the complete path to the FO style sheet.) 

"$XSL_FO" contains "/usr/local/docbook/style/xsl/1.29/fo/docbook.xsl"

The wrapper script looks as follows:

#!/bin/sh

if [ $# -ne 3 ]; then
        echo "usage: xalan <xml-file> <xsl-file> <output-file>"
        exit 1
fi

CLASSPATH=/usr/local/docbook/tools/xsl-processors/xalan-j_2_0_0/bin/xalan.jar:/usr/local/docbook/tools/xsl-processors/xalan-j_2_0_0/bin/xalansamples.jar:/usr/local/docbook/tools/xsl-processors/xalan-j_2_0_0/bin/bsf.jar:/usr/local/docbook/tools/xml-parsers/xerces-1_3_0/xerces.jar
echo "CLASSPATH set to: $CLASSPATH"
java -cp $CLASSPATH $JAVA_PROXY_SETTINGS org.apache.xalan.xslt.Process -in
$1 -xsl $2 -out $3 

So, why is my home directory appended even though I'm using absolute path
names?

Thanks in advance for any help!

Greetings,

	Holger


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]