Page 1 of 1

v 8.0 problems with comma in file path

Posted: Sat Nov 18, 2006 8:23 pm
by bob_aglietti
A common transformation I use is to save output in a file 'out.html' and open it in a browser. The path to the xml file contains a comma. When I try to apply the transformation I get an error message that says the output html file doesn't exist or is not a directory, but the name is truncated, having chopped off everything before the comma in the path name.

Anybody have any ideas? I'm running XP Pro, SP2

-B

Posted: Mon Nov 20, 2006 1:44 pm
by sorin_ristache
Hello,

You get the message "The path [your-path] does not exist or is not a directory" from Windows Explorer. It seems Windows Explorer cannot open the file if the path contains a comma. If you do not set the browser in Options -> Preferences -> Global -> Default Internet browser oXygen tries to open the output file with the default application set on your system for the file type, in your case the .html file type. On Windows oXygen uses Windows Explorer for that. You can check that by running the following command to see the same error message:

Code: Select all

explorer [URL-of-out.html]
where [URL-of-out.html] is for example file:/C:/temp/out.html. Please set the path to the browser in Options -> Preferences -> Global -> Default Internet browser and repeat the transformation.


Regards,
Sorin

Posted: Mon Nov 20, 2006 7:55 pm
by bob_aglietti
You're right, that fixes it. Many thanks ...

-B