If the file is accessible by HTTP it is a no-brainer, however I guess that
is not the case.

Xerces-C supports a file: protocol that should do the trick if you are
trying to access a UNC addressed resource on Windows.  Be aware that the
file: protocol is only vaguely defined and platform specific, but from my
reading of src\util\XMLURL.cpp  around line 535, a URL of the form

file://///machine/share/filename

Should work.  To break it down:

file://  - the protocol
blank - the host, since the protocol is actually resolved locally it is
blank
/        - separator between host and path
//machine/share/filename - UNC name of resource  with forward slashes
replacing back slashes since I'm pretty sure back-slashes are formally
forbidden in URL'.s.

If that doesn't work, try:

file:///\\machine\share\filename

Which is the form descibed in Microsoft knowledge base article Q169606, but
I believe is not technically a legal URI.

Had no luck using that form of URL with IE 5.5 however.


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

Reply via email to