libxslt leaves each option unset on a fresh transformation context and takes its own default for it. The service registers no libxml input handlers, and a stylesheet only has to produce the result tree, so set all of them and allow back local file reads alone, which is how a stylesheet picks up a second file beside the one it converts. Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I58abfc3919e26683d3fe2de72362f6c453eef8cf Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/9939 Tested-by: Jenkins CPCI <releng@collaboraoffice.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.com> (cherry picked from commit 02da3650b1bb71170112a480c7fa0220a2a34490) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210434 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>