XML – Domains, protocols and ports do not match


I was trying to load an xml stylesheet called xsl and I kept getting the following errors:

on Chrome: Unsafe attempt to load URL chrome-extension: .xsl from frame with URL test.xml. Domains, protocols and ports must match.

on Firefox: Error loading stylesheet: An unknown error has occurred (805303f4)


Each browser has some security policies which do not allow access to different domains, protocols or ports are seen above.


Allow access using cross domain policy. There are two ways of doing so:

Continue reading