diff --git a/ajax/ajax.js b/ajax/ajax.js
index <HASH>..<HASH> 100644
--- a/ajax/ajax.js
+++ b/ajax/ajax.js
@@ -63,7 +63,8 @@ $.xml = function( type, url, data, ret ) {
 					$.xmlActive = 0
 				}
 
-				if ( xml.status && xml.status >= 200 && xml.status < 300 ) {
+				if ( ( xml.status && ( xml.status >= 200 && xml.status < 300 ) || xml.status == 304 ) ||
+					!xml.status && location.protocol == 'file:' ) {
 					if ( onSuccess )
 						onSuccess( xml );
 				} else if ( onError ) {
Improved the robustness of the response codes based upon what's in Dojo. (Ticket #<I>)