<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Firefox 1.5, XmlHttpRequest, req.responseXML and document.domain</title>
	<atom:link href="http://alexander.kirk.at/2006/07/27/firefox-15-xmlhttprequest-reqresponsexml-and-documentdomain/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexander.kirk.at/2006/07/27/firefox-15-xmlhttprequest-reqresponsexml-and-documentdomain/</link>
	<description></description>
	<lastBuildDate>Tue, 23 Feb 2010 01:32:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Thomas Einwaller</title>
		<link>http://alexander.kirk.at/2006/07/27/firefox-15-xmlhttprequest-reqresponsexml-and-documentdomain/comment-page-1/#comment-4085</link>
		<dc:creator>Thomas Einwaller</dc:creator>
		<pubDate>Mon, 31 Jul 2006 16:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.kirk.at/?p=63#comment-4085</guid>
		<description>This IS a Firefox bug. Though the repsonse content type is set to &quot;text/xml&quot; Firefox does not allow you to access responseXML if document.domain is set. 

I tried overrideMimeType(&quot;text/xml&quot;) too but that did not help.

The only thing that works is to parse the xml again like kirk describes it.</description>
		<content:encoded><![CDATA[<p>This IS a Firefox bug. Though the repsonse content type is set to "text/xml" Firefox does not allow you to access responseXML if document.domain is set. </p>
<p>I tried overrideMimeType("text/xml") too but that did not help.</p>
<p>The only thing that works is to parse the xml again like kirk describes it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kourge</title>
		<link>http://alexander.kirk.at/2006/07/27/firefox-15-xmlhttprequest-reqresponsexml-and-documentdomain/comment-page-1/#comment-4042</link>
		<dc:creator>kourge</dc:creator>
		<pubDate>Sat, 29 Jul 2006 23:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.kirk.at/?p=63#comment-4042</guid>
		<description>The responseXML &quot;bug&quot; in Firefox isn&#039;t a bug. As &lt;a href=&quot;http://developer.mozilla.org/en/docs/AJAX:Getting_Started&quot; rel=&quot;nofollow&quot;&gt;stated in the MDC&lt;/a&gt;, Mozilla browsers will not make the responseXML available unless the server serves the MIME type text/xml.
There are two ways to fix this. One is to alter the server&#039;s script to make it serve the Content-Type: text/xml header. The second way is to do something like this in your JavaScript code:
if (window.XMLHttpRequest) {
	req = new XMLHttpRequest();
	if (req.overrideMimeType) req.overrideMimeType(&quot;text/xml&quot;);
} else if (window.ActiveXObject) {
	req = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
}
This will force Mozilla browsers to parse the responded XML in the XMLHttpRequest object, given that the XML is well-formed.</description>
		<content:encoded><![CDATA[<p>The responseXML "bug" in Firefox isn't a bug. As <a &nbsp;&nbsp; href="http://developer.mozilla.org/en/docs/AJAX:Getting_Started"&nbsp;&nbsp; rel="nofollow">stated in the MDC</a>, Mozilla browsers will not make the responseXML available unless the server serves the MIME type text/xml.<br />
There are two ways to fix this. One is to alter the server's script to make it serve the Content-Type: text/xml header. The second way is to do something like this in your JavaScript code:<br />
if (window.XMLHttpRequest) {<br />
	req = new XMLHttpRequest();<br />
	if (req.overrideMimeType) req.overrideMimeType("text/xml");<br />
} else if (window.ActiveXObject) {<br />
	req = new ActiveXObject("Microsoft.XMLHTTP");<br />
}<br />
This will force Mozilla browsers to parse the responded XML in the XMLHttpRequest object, given that the XML is well-formed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajaxian &#187; Pains of document.domain in FireFox 1.5</title>
		<link>http://alexander.kirk.at/2006/07/27/firefox-15-xmlhttprequest-reqresponsexml-and-documentdomain/comment-page-1/#comment-3959</link>
		<dc:creator>Ajaxian &#187; Pains of document.domain in FireFox 1.5</dc:creator>
		<pubDate>Thu, 27 Jul 2006 18:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://alexander.kirk.at/?p=63#comment-3959</guid>
		<description>[...] Alexander Kirk has written about a problem with XHR, responseXML and document.domain in FireFox: [...]</description>
		<content:encoded><![CDATA[<p>[...] Alexander Kirk has written about a problem with XHR, responseXML and document.domain in FireFox: [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
