Author Topic: mif-DMI.trid.xml for Management Information Format (*.mif)  (Read 550 times)


  • Full Member
  • ***
  • Posts: 152
mif-DMI.trid.xml for Management Information Format (*.mif)
« on: November 12, 2019, 07:59:27 PM »
Hello trid users,

some weeks ago i had to handle some ImageMagick bitmaps which have
normally filename extension miff. But some times also extension mif is
used. When searching on my systems for such files and running trid some
samples are described as "Unknown!" (See appended output/trid-old.txt).

A few information about that undetected file format can be found on
Wikipedia expressed by line like:


Apparently such samples are plain text files. This is expressed by line:


So i run tridscan on examples to generate mif-DMI.trid.xml. Such files seem
to always start with string like "Start Component". Some times these word are
capitalized and some times words are in low case. This is described in
front block section by XML constructs:

   <ASCII> t a r t</ASCII>
   <ASCII> o m p o n e n t</ASCII>

And in global strings section this is described by line:
   <String>START COMPONENT</String>

Such mif files also contain other start and end directives. This is expressed
in global strings section by lines like:

   <String>END COMPONENT</String>
   <String>START ATTRIBUTE</String>
   <String>END ATTRIBUTE</String>
   <String>START GROUP</String>
   <String>END GROUP</String>

With the new trid definition all such mif-examples are now described ( see
appended output/trid-v-new.txt). TrID definition, some examples and output
are stored in archive I hope that my XML file can be used in future
version of triddefs.

With best wishes
Jörg Jenderek


  • Administrator
  • Hero Member
  • *****
  • Posts: 2076
    • Mark0's Home Page
Re: mif-DMI.trid.xml for Management Information Format (*.mif)
« Reply #1 on: November 12, 2019, 08:30:04 PM »

I searched for some other MIF files, and found some that have all uppercase keywords.
So I end up creating two separates def: one that starts with "start component", and the other with "S" and then a "C" (plus the strings for both).
I kept your name in the credits and added mine as a refine.

Thanks for the new def, as usual!