Jquery load function throws "XML Parsing Error: not well-formed" error in firefox

Trying to load an xml file and getting the xml parsing error.

$("#analyticForm_description").load('', function() { MD.ui.editPallets.editform_definition(); } );

Should not throw any error. Note the url provided is valid and accessible from a browser directly. The function is also being called. Somehow even after the error reported on console, page loads successfully.

Do not want to see any errors reported on console.

Leave a Comment