I know this has been asked many times, but the answers given there did not work for me.
I think I am doing a very common request to fetch an xml resource:
$(document).ready(function() {
$.ajax({
type: "GET",
url: "data.xml",
dataType: "xml",
success: function(xml) {
$(xml).find("main").each(function() {
alert($(this).attr("val"));
});
}
});
The full file can be found here, and the xml resource here.
When I access this with Firefox 36.0.4, I am greeted by an "hello world" alert as expected, but the javascript console lists the errors:
http://esel7353.org/ : Unable to run script because scripts are blocked internally.
not well-formed :1:76
In many questions asked here, the content type header in the response was inaccurate, but in my case the server tells firefox, that data.xml is application/xml.
In addition the mimeType option does not help.
I also made an clean FF profile to ensure that this is not somehow cause by plugins, but the error messages persist.