Cannot pass the full name of the XSL FO file in command line
"Granchak, Tanya" <[email protected]> Thu, 19 Sep 2002 16:37:14 +0400
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Organization | Active Web Services LLC |
| Message-ID | <[email protected]> |
Hello, I have the problem with command line conversion: I cannot pass the full name of the XSL FO file to Jfor. I have the file C:\Temp\jfortest.xml. When I pass this path to Jfor an exception occurs. I've made a lot of tries. When I execute the command line: java -cp lib\xerces-1.2.3.jar;dist\lib\jfor.jar ch.codeconsult.jfor.main.CmdLineConverter "c:\Temp\jfortest.xml" "C:\Temp\jfortest.rtf" I get the message: org.xml.sax.SAXParseException: File "c:\Temp\jfortest.xml" not found. When I execute the command line: java -cp lib\xerces-1.2.3.jar;dist\lib\jfor.jar ch.codeconsult.jfor.main.CmdLineConverter "file:///c:\Temp\jfortest.xml" "C:\Temp\jfortest.rtf" I get the message: java.io.IOException: The filename, directory name, or volume label syntax is incorrect When I execute the command line: java -cp lib\xerces-1.2.3.jar;dist\lib\jfor.jar ch.codeconsult.jfor.main.CmdLineConverter "file:///c:/Temp/jfortest.xml" "C:\Temp\jfortest.rtf" I get the message: java.io.IOException: The filename, directory name, or volume label syntax is incorrect When I execute the command line: java -cp lib\xerces-1.2.3.jar;dist\lib\jfor.jar ch.codeconsult.jfor.main.CmdLineConverter "c:/Temp/jfortest.xml" "C:\Temp\jfortest.rtf" I get the message: org.xml.sax.SAXParseException: File "c:/Temp/jfortest.xml" not found. But: if the file "jfortest.xml" is in the current directory (the directory from which I execute command) then The command java -cp lib\xerces-1.2.3.jar;dist\lib\jfor.jar ch.codeconsult.jfor.main.CmdLineConverter "jfortest.xml" "C:\Temp\jfortest.rtf" executes correctly and I get the correct RTF file. How should I pass the full path name of the XSL FO file to Jfor? Regards Tanya Granchak