One of the few local changes I had to make to Xalan is related to File.toURL().
xsltc contains
(new File(stylesheetName)).toURL()
which for the JDK returns "file:myname", but for gcj returns "file:/myname".
I worked around this problem in xsltc by using the following instead:
new URL("file", "", -1, stylesheetName)
...which appears to give the desired behaviour.
AG