Netflix / photon

Photon is a Java implementation of the Interoperable Master Format (IMF) standard. IMF is a SMPTE standard whose core constraints are defined in the specification st2067-2:2013
Apache License 2.0
234 stars 77 forks source link

OPL validation error #204

Closed pfirth3 closed 7 years ago

pfirth3 commented 7 years ago

OPL_6abac94f-d016-45a0-9e36-13b4ccad71a0.zip I get the following error for my attached OPL:

Line Number : 10 - cvc-complex-type.2.4.b: The content of element 'MacroList' is not complete. One of '{"http://www.smpte-ra.org/schemas/2067- 100/2014":Macro}' is expected. [Photon version: 4.6.0-SNAPSHOT]

Is there a way to put in a macro that does nothing? This is just a stub OPL with no macros intended to be in it.

svenkatrav commented 7 years ago

You can use PresetMacro as defined in ST2067-100 Annex B.

Example: https://github.com/Netflix/photon/blob/master/src/test/resources/TestIMP/OPL/OPL_8cf83c32-4949-4f00-b081-01e12b18932f_simple.xml

pfirth3 commented 7 years ago

Thanks!