Re: [xsl] Not able to render XML in Chrome browser

Subject: Re: [xsl] Not able to render XML in Chrome browser
From: "Joga Singh Rawat jrawat@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 May 2022 04:19:06 -0000
I have checked with F12/ developer console, it is showing security warning.
But it is working fine with other Browser except Chrome.



From: Martin Honnen martin.honnen@xxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: 26 May 2022 21:20
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Not able to render XML in Chrome browser





Am 26.05.2022 um 17:14 schrieb Joga Singh Rawat jrawat@xxxxxxxxxxxxxx:





I am not able to render XML directly in Chrome. At the same time it is working
fine with IE, Edge and Firefox.



What does "directly" mean exactly, are you loading the file over HTTP(S) or
from the file system? Chrome is known not support XSLT referenced with
xml-stylesheet in an XML document loaded from the local file system. Check
F12/developer console, it should show a security warning/error message with
details. Or, if it is not the security issue, it hopefully indicates what
failed.



Note that Edge is als Chromium based these days and should show the same
problem; Firefox as well has been adapted to prevent the file based loading.



a.xml

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

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

<doc>

b&

</doc>





Click here
<https://www.mailcontrol.com/sr/7INuM7BMyRzGX2PQPOmvUjtCsM7hsYEDHrkyeicvlFCE6
9z7EJBc_rnnScHOaWqArnKxz9-89lrX0F9OzBqmnw==>  to report this email as spam.

XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>

EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/876847>  (by
email <> )

Current Thread