As some apps may make lazy AAFs, would it be possible to have some kind of 'non strict' mode when reading AAFs?
For instance trying to read the preface of an AAF exported from Digital Performer but it gives an error. However if I convert it to XML using aaffmtconv then it looks like it does actually contain enough useful information to generate a sequence. It's not complete garbage.
java.lang.ClassCastException: Cannot create a new extendible enumeration property value from the given AUID identity as it does not match the identity of an enumeration element of type PluginCategoryType.
at tv.amwa.maj.meta.impl.TypeDefinitionExtendibleEnumerationImpl.createValue(TypeDefinitionExtendibleEnumerationImpl.java:559)
at tv.amwa.maj.meta.impl.TypeDefinitionExtendibleEnumerationImpl.createFromBytes(TypeDefinitionExtendibleEnumerationImpl.java:618)
at tv.amwa.maj.io.aaf.AAFBuilder$LocalAAFEventReader.decodeProperties(AAFBuilder.java:625)
at tv.amwa.maj.io.aaf.AAFBuilder$LocalAAFEventReader.processPOIFSReaderEvent(AAFBuilder.java:317)
at tv.amwa.maj.io.aaf.AAFReader.processProperties(AAFReader.java:172)
at tv.amwa.maj.io.aaf.AAFReader.processProperties(AAFReader.java:148)
at tv.amwa.maj.io.aaf.AAFReader.processProperties(AAFReader.java:148)
at tv.amwa.maj.io.aaf.AAFReader.processProperties(AAFReader.java:148)
at tv.amwa.maj.io.aaf.AAFReader.read(AAFReader.java:121)
at tv.amwa.maj.io.aaf.AAFFactory.readPreface(AAFFactory.java:111)
at net.vordio.maj.MajTest.main(MajTest.java:20)
As some apps may make lazy AAFs, would it be possible to have some kind of 'non strict' mode when reading AAFs?
For instance trying to read the preface of an AAF exported from Digital Performer but it gives an error. However if I convert it to XML using aaffmtconv then it looks like it does actually contain enough useful information to generate a sequence. It's not complete garbage.