Imported Upstream version 5.32
[platform/upstream/file.git] / magic / Magdir / sgml
index ef2fd75..34edd3c 100644 (file)
@@ -1,10 +1,10 @@
 
 #------------------------------------------------------------------------------
-# $File: sgml,v 1.35 2016/10/25 20:37:40 christos Exp $
+# $File: sgml,v 1.37 2017/07/23 08:23:33 christos Exp $
 # Type:        SVG Vectorial Graphics
 # From:        Noel Torres <tecnico@ejerciciosresueltos.com>
-0      string          \<?xml\ version="
->15    string          >\0
+0      string          \<?xml\ version=
+>14    regex           ['"\ \t]*[0-9.]+['"\ \t]*
 >>19   search/4096     \<svg                   SVG Scalable Vector Graphics image
 !:mime image/svg+xml
 >>19   search/4096     \<gnc-v2                GnuCash file
 !:mime image/svg
 
 # Sitemap file
-0      string/t                \<?xml\ version="
->15    string          >\0
+0      string/t                \<?xml\ version=
+>14    regex           ['"\ \t]*[0-9.]+['"\ \t]*
 >>19   search/4096     \<urlset                XML Sitemap document text
 !:mime application/xml-sitemap
 
 # OpenStreetMap XML (.osm)
 # http://wiki.openstreetmap.org/wiki/OSM_XML
 # From: Markus Heidelberg <markus.heidelberg@web.de>
-0      string          \<?xml\ version="
->15    string          >\0
+0      string          \<?xml\ version=
+>14    regex           ['"\ \t]*[0-9.]+['"\ \t]*
 >>19   search/4096     \<osm                   OpenStreetMap XML data
 
 # xhtml