Package: file
Tags: patch
Severity: wishlist

I've added some lines to allow 'file' detect scalable vector graphics as proper SVG files instead of generic XML files.
Patch follows.

Thanks

Noel Torres
er Envite

--- Desktop/magic       2007-04-02 11:57:45.000000000 +0100
+++ /usr/share/file/magic       2006-03-15 11:05:11.000000000 +0000
@@ -10470,14 +10470,6 @@
0   string/cb  \<title                 HTML document text
0   string/cb  \<html                  HTML document text

-# SVG Vectorial Graphics by Envite
-# based on
-# Extensible markup language (XML), a subset of SGML
-# from Marc Prud'hommeaux ([EMAIL PROTECTED])
-0      string          \<?xml\ version="
->15    string          >\0
->>23 regex .*\<svg SVG Scalable Vector Graphics image
-
# Extensible markup language (XML), a subset of SGML
# from Marc Prud'hommeaux ([EMAIL PROTECTED])
0      string/cb       \<?xml                  XML document text



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to