Entered as http://qa.openoffice.org/issues/show_bug.cgi?id=73625

-----Background-----

In Windows, a UNC path to a directory looks like this (see
http://support.microsoft.com/kb/311079):

\\server\share\path  

According to the file URI spec, Windows UNC paths should be accepted as file
urls if they are entered like this:

file:///server/share/path

See http://udk.openoffice.org/cpp/man/spec/uris.html, last section, "Hosts";
Note however there is a typo in the spec--it says
file://somewhere/somedir/file.txt but should say
file:///somewhere/somedir/file.txt, with 3 slashes after the "file:".

UNC's paths however have long been problematic in OOo.  See:

http://www.oooforum.org/forum/viewtopic.phtml?p=196522
http://qa.openoffice.org/issues/show_bug.cgi?id=9018
http://qa.openoffice.org/issues/show_bug.cgi?id=13148
http://qa.openoffice.org/issues/show_bug.cgi?id=51026
http://qa.openoffice.org/issues/show_bug.cgi?id=53184
http://qa.openoffice.org/issues/show_bug.cgi?id=56868
http://qa.openoffice.org/issues/show_bug.cgi?id=72031
http://qa.openoffice.org/issues/show_bug.cgi?id=72864
http://qa.openoffice.org/issues/show_bug.cgi?id=73620


Part of the problem would seem to be that in OOo's implementation of file
URL's, it cannot be unambiguously determined if the first component of the
URL refers to a server or to a directory.  For example, in

file:///part1/part2/part3

part1 could refer to the directory /part1 on the local files system, or it
could refer to the server part1 on the local network.

-----The Proposal-----

The submitter proposes that OOo's implementation of UNC file URL's be
modified so it can be unambiguously determined if the first part of the path
is a local directory or a network server.

There are a multitude of syntaxes that could be used.  For example:

file:///server:share/path
file:///server:/share/path
file:///server//share/path
file:///server/share:path
file:///server:share:path
file:///server:share:/path
file:///server/share:/path

What should not be used however, is the current ambiguous implementation
file:///server/share/path

The author of this proposal has no preference for syntax.  Note however that
Microsoft's document http://support.microsoft.com/kb/311079 discusses how
Netware shares are parsed, and this may enter into the decision.  Linux,
Solaris and Samba considerations may also enter into the decision.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to