Package: file
Version: 1:5.25-2

Hi.

Is it possible to get file to recognize the XML tags in a gzipped XML
file?  The Rosegarden data files are gzipped XML files with a specific
DOCTYPE.  Here is an example:

  % gunzip < somenotes.rg |head -3
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE rosegarden-data>
  <rosegarden-data version="16.02" format-version-major="1" 
format-version-minor="6" format-version-point="2">

Is it possible to get file to recognize this as a Rosegarden file, and
not just as a generic gzipped file?

At the moment it is handled like this:

  % file somenotes.rg 
  somenotes.rg: gzip compressed data, from Unix
  % file --mime-type somenotes.rg 
  somenotes.rg: application/gzip
  %

This is related to the Rosegarden issue reported in
<URL: http://bugs.debian.org/825993 >.

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to