Dominique Lind wrote:
> For all our uses running windows, the desktop is actually a network
> drive.  If you try converting a docbook xml file to html for example,
> when you browse to the desktop as the save directory in the "browse box"
> the path is displayed in the form "\\SERVER\username\.windata\Desktop".
> 
> But then when you click save the directory path is changed to
> "/username/.windata/Desktop/" in the "save directory box" within XXE, ie
> it strips out the server name.  So then when you click ok to do the
> conversion, you get this error message:
> 
>    Command execution has failed:
>    Cannot create directory "\\"
> 
> 
> However it does work properly, as expected, if you manually type in the
> server name, ie changing the save directory path to
> "//SERVER/username/.windata/Desktop/".
> Is there a reason the server name is stripped out? 

"\\SERVER\username\.windata\Desktop\" is converted to this URL:
"file://SERVER/username/.windata/Desktop/".

Unfortunately, the "Choose URL" dialog box does not support the concept
of a server for the "file:" protocol. Therefore it simply cannot work.

The workaround is of course to map "\\SERVER\username" to a drive.

This bug will not be fixed. We intend to completely rewrite the whole
Choose URL dialog box in a couple of releases.





> I've also had similar problems using the variables %p and %P in macro and 
> process
> commands.  Under linux (debian) %p or file://%P works fine, but not
> file:///%P. However under windows (2000 professional) only file:///%P
> works.

This problem is not related to the above one.

Please do not use "file:///%P" or  "file://%P" on any platform. If it
works, it is by pure luck. %P is the *filename* of a directory (i.e. it
contains backslashes on Windows). %P is *not* the path part in an URL.

Please use %p. Just %p or %p/something.

See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/ch04s01s02.html



> I'm currently using the pro edition V2.11, though I'm sure this was a
> problem in earlier versions and the std edition as well.

Reply via email to