NO_MODIFICATION_ALLOWED_ERR in Safari using xhtml with a $.get() request

NO_MODIFICATION_ALLOWED_ERR in Safari using xhtml with a $.get() request

When using a valid website served as application/xhtml+xml and requesting content using $.get() Safari/Chrome will throw the following error (referring to the development version of 1.4.2 of jquery):

NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7: An attempt was made to modify an object where modifications are not allowed. – jquery.1.4.2.js:4448


4448 is part of jQuery.extend({}), line 4447/4448 are the following:
// Go to html and back, then peel off extra wrappers
div.innerHTML = wrap[1] + elem + wrap[2];
 
Opera/Firefox are not affected (all tests on OS X 10.6.4) and load everything just fine. The actual $.get() query is:

$.get('?view=solutions&action=view&solutionid=1&locale=en', {}, function(data, textStatus) { $.responseSplitter(data); }, 'html');


Using e.g. jQueryUI 1.8.2 autocomplete to request/receive json encoded data works fine.


Wisdom is earned – not given.