Error accessing external XML file via oxy_xpath
Posted: Thu Apr 21, 2016 12:45 am
Hi,
I have an oxy_combobox with values that I am getting from an external XML file. The external URL is apparently causing some kind of security issue within Oxygen, and the XPath query is failing because of it. Here's a snippet of the line that's failing:
I am running Tomcat locally on port 8081 and hosting this file publicly (can access it via a browser and a direct XPath 2.0 query). But it fails in oxy_xpath in the CSS request with the following error:
I have an oxy_combobox with values that I am getting from an external XML file. The external URL is apparently causing some kind of security issue within Oxygen, and the XPath query is failing because of it. Here's a snippet of the line that's failing:
Code: Select all
string-join(doc('http://localhost:8081/oxygen/DC/values.xml')//*[local-name() = 'id']/@name, \",\") \
Any ideas what the heck is going on? It kind of sounds like a cross-scripting issue, but I'm not sure. Any assistance would be greatly appreciated.[CSS]:XPath functions are evaluated with elevated permissions only when the source CSS is located in one of the frameworks or plugins directories. The problem was: access denied ("java.net.URLPermission" "http://localhost:8081/oxygen/DC/values.xml" "GET:")