Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to have safari use XSLT translation

Some time ago I created a number of XML files with schema and XSLT for translation to HTML.

The XML file begins with:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<?xml-stylesheet type="text/xsl" href="../recipe2html.xsl"?>

<recipe xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="../recipe.xsd">


This no longer seems top work. All I get is a blank file. Asking Safari to debug this, the error is:

Unsafe attempt to load URL file:///Users/.../recipes/Data/recipe2html.xsl from origin null. Domains, protocols and ports must match.


Obviously this is some sort of new security feature. However, I fail to see any "mis-match" since everything is local on the same machine. Clearly this rule is being applied in an over-zealous manner that fully disables the Sar=fari support of XSLT.


How can I disable this?

MacBook Pro (15-inch, Late 2016), macOS High Sierra (10.13.6)

Posted on Oct 22, 2018 4:18 PM

Reply

There are no replies.

How to have safari use XSLT translation

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.