Author Topic: updated ott.trid.xml for OpenDocument Text Document template  (Read 1887 times)

jenderek

  • Sr. Member
  • ****
  • Posts: 375
updated ott.trid.xml for OpenDocument Text Document template
« on: March 07, 2020, 01:54:02 PM »
Hello trid users,

some days ago i handled some non Microsoft Office documents. When running
TrID on samples with file name extension ott, some are only described as
"Zip document container (generic)" by zip-doc-cont.trid.xml ( See appended
output/trid-v-old.txt).

Some are identified correctly as "OpenDocument Text Document template" by
ott.trid.xml

The not recognized samples are identified by file(1) command as
"OpenDocument Text Template" ( See appended output/file-5.38.txt).
Also the file format identification tool DROID identifies most of the
examples correctly ( See appended output/droid-ott.csv).

So i run tridscan to update trid definition ott.trid.xml. When comparing
this with older definitions then we see that in global string sections some
string lines are vanished like:
   <String>CONFIGURATIONS2</String>
   <String>SETTINGS.XMLPK</String>
   <String>CONTENT.XMLPK</String>
because some ott samples have no Configurations2 directory and no settings.xml
content.xml files. ( See appended seven zip listing output/7z-l.txt).

In old trid definition file there was a line like:
   <String>STYLES.XMLPK</String>
That expression is only true, if extra field length (m) is zero, because
then after file name STYLES.XML comes next ZIP-fragment string starting with
PK magic. So this line changed into line
   <String>STYLES.XML</String>

Instead OpenDocument page on Wikipedia i use the page on file formats
archive team site, because template variant is not mentioned on
Wikipedia. That is expressed by reference URL line:
   <RefURL>
   http://fileformats.archiveteam.org/wiki/OpenDocument
   </RefURL>

According to that web site gets it's own mime type. That is expressed by
line:
   <Mime>
   application/vnd.oasis.opendocument.text-template
   </Mime>

With the updated trid definitions all such inspected OTT samples are
now described ( see appended output/trid-new.txt)

TrID definition,output and some examples stored in archive ott-c.zip. I hope
that my updated XML file can be used in future version of triddefs.

With best wishes
Jörg Jenderek

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: updated ott.trid.xml for OpenDocument Text Document template
« Reply #1 on: March 07, 2020, 10:54:17 PM »
Thanks!