tags 825994 confirmed upstream thanks Petter Reinholdtsen wrote...
> 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:
Well, file has an option
| -z, --uncompress
| Try to look inside compressed files.
but it doesn't give much help since
| $ file -z ./data/examples/himno_de_riego.rg
| ./data/examples/himno_de_riego.rg: XML 1.0 document, UTF-8 Unicode text, with
very long lines (gzip compressed data, was "himno_de_riego.rg.xml", last
modified: Wed Feb 23 00:22:42 2011, from Unix)
So I'm considering to modify file(1) to pick the string that follows
the first "doctype". Does that sound like a solution for you?
Christoph
signature.asc
Description: Digital signature

