Re: "Safe Mode" processing for XSLT

Conal Tuohy <conal.tuohy@gmail.com> writes:
> If I understand correctly, then, this existing "safe mode" feature
> would allow me to run "safe" XProc pipelines consisting entirely of
> "safe" steps including XSLT in its own safe mode, but it does not
> (currently) allow me to run individual steps in a safe mode, as part
> of a larger pipeline which included unsafe steps? 

Yes.

> I do need to be able to read and write files, but I could certainly
> make use of that "safe mode" feature to run an extra instance of my
> XProc server, with Calabash configured in safe mode, just as a sandbox
> for running user-supplied XSLT. My unsafe pipelines could use
> p:http-request to request execution of XSLT in the "sandbox" instance
> of Calabash.

That's trickier. XML Calabash (version 1) is single threaded so it
might be possible to turn safe mode off and on. The design would have
to be quite different in a multi-threaded environment.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com

Received on Thursday, 4 June 2015 22:02:02 UTC