make the browser open the XML file through the "http" rather than "file" protocol
Posted: Wed Feb 24, 2021 4:14 am
Hello,
Is there a way to specify the "Default Internet browser" in Oxygen in such a way that the browser will not open the file through the "file" protocol (i.e., "file:///path_to_file/file_name.xml"), but request it from a HTTP server running on the machine (e.g., "http://0.0.0.0:1111/file_name.xml")?
I am asking because Firefox refuses, supposedly for security reasons, to execute the XSL stylesheet associated with my XML files if they are served through the "file" (rather than the "http") protocol. Until recently, I used Chrome because it does execute the stylesheet through the "file" protocol, but now I would like to switch to Firefox because I have run into the so-called "white flash" bug in Chrome. So, in order to be able to browse my XML files with Firefox, I set up the HTTP server. But how can I call the HTTP server from Oxygen when using the "View in browser" action?
I am using Oxygen 22 on Ubuntu.
Thank you in advance for your help!
Wolfhart
Is there a way to specify the "Default Internet browser" in Oxygen in such a way that the browser will not open the file through the "file" protocol (i.e., "file:///path_to_file/file_name.xml"), but request it from a HTTP server running on the machine (e.g., "http://0.0.0.0:1111/file_name.xml")?
I am asking because Firefox refuses, supposedly for security reasons, to execute the XSL stylesheet associated with my XML files if they are served through the "file" (rather than the "http") protocol. Until recently, I used Chrome because it does execute the stylesheet through the "file" protocol, but now I would like to switch to Firefox because I have run into the so-called "white flash" bug in Chrome. So, in order to be able to browse my XML files with Firefox, I set up the HTTP server. But how can I call the HTTP server from Oxygen when using the "View in browser" action?
I am using Oxygen 22 on Ubuntu.
Thank you in advance for your help!
Wolfhart