xsl-list
[Top] [All Lists]

Re: [xsl] Error loading stylesheet: A network error occurred loading an XSLT stylesheet:

2014-09-24 14:35:42
Hi Michele,

On Wed, Sep 24, 2014 at 12:49 PM, Michele R Combs mrrothen(_at_)syr(_dot_)edu <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

 I am guessing that it’s a “same origin policy” issue.  Your XML and XSL
are on different servers.  FF has some built-in security features that
don’t allow that.  See
http://stackoverflow.com/questions/3420513/firefox-and-remote-xsl-stylesheets
for more.  When I open the .xsd file in IE using the mlhim URL for the
stylesheet it works fine.




Ahhh, I had not thought about the cross site scripting issue.


 Just FYI, I don’t think the github URL will ever work because github
renders the page in with line numbers, sign-in and search boxes, etc., not
as raw XSL.  When I open the .xsd file in IE using the github URL for the
stylesheet I get this:



"The XML page cannot be displayed - Cannot view XML input using XSL style
sheet. Please correct the error and then click the Refresh button, or try
again later. -  The stylesheet does not contain a document element. The
stylesheet may be empty, or it may not be a well-formed XML documen...




Thanks for testing with IE. It doesn't run on Linux.  ;-)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>