Skip to content

Tolerance - non-strict mode please? #7

@mrlimbic

Description

@mrlimbic

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions