richardlehane / siegfried

signature-based file format identification
http://www.itforarchivists.com/siegfried
Apache License 2.0
223 stars 30 forks source link

Lex Error #147

Closed gleporeNARA closed 4 years ago

gleporeNARA commented 4 years ago

Got the following error with the attached xml file created by the PRONOM Signature Development Tool.

sudo roy build -extend David-Hanney-chiptune-v1.0-signature-file.xml dh.sig 2020/08/07 08:14:35 parse error dev/1: Lex error in dev/1: encountered invalid character 'S'

David-Hanney-chiptune-v1.0-signature-file.zip

richardlehane commented 4 years ago

Hi Greg I think it's because your sequence has ascii contents rather than hex. Try replacing with "44534E4753455155" and should fix I think all the best Richard