bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file magic for SVG


From: Alan Horkan
Subject: file magic for SVG
Date: Fri, 24 Jun 2005 22:24:14 +0100 (BST)

Based on the magic for SGML, XML, and HTML i came up with the magic
included below but (like the magic for HTML) it doesn't work very well as
the opening tags are not necessary right at the top of the file which
almost never actually happens.

I'd appreciate help getting this to work properly, not just for my own use
but so that I can try and get it included in gnu-utils.


# Scalable Vector Graphics (SVG) is an XML based standard for
# Vector Graphics from the World Wide Web Consortium
# http://www.w3.org/Graphics/SVG/
0       string/cB       \<!DOCTYPE\ svg         SVG image data
0       string/cb       \<svg                   SVG image data


Sincerely

Alan Horkan

Inkscape http://inkscape.org
Open Clip Art http://OpenClipArt.org






reply via email to

[Prev in Thread] Current Thread [Next in Thread]