Revision: 16594
          http://sourceforge.net/p/gate/code/16594
Author:   adamfunk
Date:     2013-03-15 12:21:32 +0000 (Fri, 15 Mar 2013)
Log Message:
-----------
Adding application/xhtml+xml MIME type to HTML document format.

Modified Paths:
--------------
    gate/trunk/src/gate/corpora/NekoHtmlDocumentFormat.java

Modified: gate/trunk/src/gate/corpora/NekoHtmlDocumentFormat.java
===================================================================
--- gate/trunk/src/gate/corpora/NekoHtmlDocumentFormat.java     2013-03-15 
02:19:57 UTC (rev 16593)
+++ gate/trunk/src/gate/corpora/NekoHtmlDocumentFormat.java     2013-03-15 
12:21:32 UTC (rev 16594)
@@ -278,6 +278,8 @@
             this);
     // Register the mime type with mine string
     mimeString2mimeTypeMap.put(mime.getType() + "/" + mime.getSubtype(), mime);
+    // sometimes XHTML file appear as application/xhtml+xml
+    mimeString2mimeTypeMap.put("application/xhtml+xml", mime);
     // Register file sufixes for this mime type
     suffixes2mimeTypeMap.put("html", mime);
     suffixes2mimeTypeMap.put("htm", mime);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to