Re: XMLHttpRequest overrideMimeType question..
Lucky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Cox Communications |
| Message-ID | <M_xef.7277$om5.6734@dukeread04> |
Martin Honnen wrote: > > Lucky wrote: > >> they were using for a tag soup instance, and never touching any >> responseXML, etc. but, it is a general thought among massed that they >> must apply that setting for EVERYTHING?? which baffled me, perhaps >> some bug out there?? > > > You will need to ask one of the authors of the code where you see it but > generally keep in mind that lots of client-side HTML/CSS/Script is > thrown together by people copying/pasting stuff found online without > necessarily understanding details. The online availability of such stuff > is nice to spread it but then spreads good or bad code alike in many cases. > yes my thoughts exactly, is why i'm trying to really examine why it would be used in such cases? perhaps, it just is a "no harm, no foul" situation where response content that does not exactly translate to text/xml will fail gracefully if tag soup. is it ever a case that the overrideMimeType would be used for other contentTypes? ie: text/gif??? etc? or, the intended use is purely for whether or not the responseXML property attempts to parse the value??