Re: [Xsltforms-support] XSLTForms & Opera
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2013-05-26 08:20:04
|
Hi Christian, This example (credit.xml) is linked to an external schema (payschema.xsd) which should be processed by the XSLT transformation but it appears that Opera "security" is blocking access to the schema via the document() function because this is performed locally, without a web server. Yet another annoying security feature... With Google Chrome, XSLT processing is blocked when local: a command-line option has to be used ("chrome.exe --allow-file-access-from-files") according to http://bigsnowball.com/content/render-local-xslt-chrome The schema processing could also be performed with Javascript and I would like to know if you have a user case for offline applications with Opera so I can consider it as a priority. I realize that Javascript is now the only reliable feature in browsers. XSLT, native XML and DOM are not anymore. That's why I am now writing my own DOM implementation in pure Javascript and will progressively add XPath and XSLT/XQuery support to it (a product similar to Saxon but for browsers and node.js). The XSLT stylesheet in XSLTForms will then become an optional preprocessing step. Best regards, -Alain > Hi Alain, > > once again I’m in trouble getting XSLTForms running with Opera: some > of the examples supplied in the xsltforms-1.0RC.zip release work fine > (such as boolean.xml or constraint.xml), but when I try to run > credit.xml, I’m receiving the following error: > _________________________________ > > <localhost> > > XSLTForms Exception > -------------------------- > > Error initializing : > > > > xforms-link-exception > _________________________________ > > I get this error both locally and with a Jetty web server instance. > > Do you have a hint what’s going on here? > > Thanks again, feel free to ask for more details, > Christian > > |