webengine/osswebengine/WebKit/s60/webview/WebPolicyManager.cpp
changeset 11 c8a366e56285
parent 0 dd21522fd290
child 25 0ed94ceaa377
--- a/webengine/osswebengine/WebKit/s60/webview/WebPolicyManager.cpp	Thu Aug 27 07:44:59 2009 +0300
+++ b/webengine/osswebengine/WebKit/s60/webview/WebPolicyManager.cpp	Thu Sep 24 12:53:48 2009 +0300
@@ -37,6 +37,7 @@
 
 // CONSTANTS
 const char* typeTextHtml = "text/html";
+const char* typeTextXml = "text/xml";
 const char* typeApplicationXhtml = "application/xhtml+xml";
 const char* typeTextPlain = "text/plain";
 const char* typeApplicationWapXhtml = "application/vnd.wap.xhtml+xml";
@@ -160,7 +161,8 @@
     if (MIMEType == typeTextHtml ||
         MIMEType == typeApplicationXhtml ||
         MIMEType == typeApplicationWapXhtml ||
-        MIMEType == typeMultipartMixed) {
+        MIMEType == typeMultipartMixed || 
+        MIMEType == typeTextXml) {
         found = true;
     }
     //Check if the image type can be handled by the browser. If not