Add a sniffing rule for XML.

* Set to a weak priority, to let more specific rules be used (svg,
xhtml, etc.)
This commit is contained in:
Adrien Destugues
2014-04-24 14:33:48 +02:00
parent e08beebef9
commit 422265608e
+4
View File
@@ -3,6 +3,10 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "text/xml";
resource(2, "META:SNIFF_RULE") #'CSTR' array {
"0.2 (\"<?xml\")"
};
resource(2, "META:S:DESC") #'MSDC' "XML file";
resource(3, "META:EXTENS") message(234) {