danielrendall / Metaphor

Parser for MathType's MTEF binary format.
12 stars 15 forks source link

Skip "FUTURE" expansion tag #6

Open thiloplanz opened 12 years ago

thiloplanz commented 12 years ago

If the record type is 100 or greater, it represents a record that will be defined in a future version of MTEF. For now, readers can assume that an unsigned integer follows the record type and is the number of bytes following it in the record (i.e. it doesn't include the record type and length). This makes it easy for software that reads MTEF to skip these records.

Right now, parsing aborts with an exception: "uk.co.danielrendall.metaphor.ParseException: No parser for type 100"