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
>
>


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Xsltforms-support mailing list
Xsltforms-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to