I\'m getting a \"not well-formed\" error in the error console of Firefox 3.0.7 when the JavaScript on my page loads a text file containing an object in JavaScript Object Not
Browser --- request expects a given content-type ---> Server
<-- response contains content-type ----------
Firefox looks at the HTTP Content-Type header. If the server HTTP response header does not match the expectations of your browser code it will complain with this message.
IMHO this error message could have been a lot better, like "Expecting response Content-Type header ... but found ...".