file: protocol in URL generator in Windows

4 views
Skip to first unread message

Ethan Gruber

unread,
Sep 18, 2014, 11:37:43 PM9/18/14
to orb...@googlegroups.com
Is it possible to use the file: protocol in the URL generator processor with a Windows path? I can't figure out the correct syntax, e.g.,

file:/D:/blah/blah.xml

This doesn't look correct to me, and naturally, it doesn't work.

Ethan

Erik Bruchez

unread,
Sep 19, 2014, 6:09:10 PM9/19/14
to orb...@googlegroups.com
Ethan,

It should be possible, because I think we just passe that directly to the
URL handler.

Did you try with one, two or three slashes?

-Erik

--
View this message in context: http://discuss.orbeon.com/file-protocol-in-URL-generator-in-Windows-tp4658979p4658984.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

ewg4xuva

unread,
Sep 22, 2014, 3:23:46 PM9/22/14
to orb...@googlegroups.com
I tried with two prepended to the filesystem path, actually.  On a Linux system, file:///usr/local/projects/blah/blah.xml works. In Windows, file://D:/blah/blah.xml doesn't. Does the URL generator expect 1 or 3 in Windows?

Ethan

Alessandro Vernet

unread,
Sep 24, 2014, 8:39:49 PM9/24/14
to orb...@googlegroups.com
Hi Ethan,

I don't have a Windows system handy to test this, but looking this up I'm
finding examples with 3 slashes for Windows file: URLs, as in
file:///D:/blah/blah.xml. Have you tried that already?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
View this message in context: http://discuss.orbeon.com/file-protocol-in-URL-generator-in-Windows-tp4658979p4659010.html

Ethan Gruber

unread,
Sep 28, 2014, 11:43:56 PM9/28/14
to orb...@googlegroups.com
Hi Alex,

I've confirmed that file:///C:/... works.

Thanks,
Ethan

--
You received this message because you are subscribed to a topic in the Google Groups "Orbeon Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orbeon/WV4lwCppCEE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orbeon+un...@googlegroups.com.
To post to this group, send email to orb...@googlegroups.com.

Erik Bruchez

unread,
Sep 30, 2014, 9:20:57 PM9/30/14
to orb...@googlegroups.com
Excellent, thanks for confirming. -Erik

--
View this message in context: http://discuss.orbeon.com/file-protocol-in-URL-generator-in-Windows-tp4658979p4659055.html
Reply all
Reply to author
Forward
0 new messages