openpreserve / jpylyzer

JP2 (JPEG 2000 Part 1) validator and properties extractor. Jpylyzer was specifically created to check that a JP2 file really conforms to the format's specifications. Additionally jpylyzer is able to extract technical characteristics.
http://jpylyzer.openpreservation.org/
Other
69 stars 28 forks source link

Add JPH/JHC unit tests #207

Closed bitsgalore closed 8 months ago

bitsgalore commented 9 months ago

Requires additional test files, see https://github.com/openpreserve/jpylyzer-test-files/issues/9

bitsgalore commented 9 months ago

Of particular interest:

bitsgalore commented 8 months ago

Added tests:

https://github.com/openpreserve/jpylyzer/commit/7642da00b9f082426319da257e6f7cc4fa3d6515

bitsgalore commented 8 months ago

Also - the following COD en COC properties are undefined in pure HT codestreams:

Added minOccurs="0" to XSD for these properties to prevent XML validation issues:

https://github.com/openpreserve/jpylyzer/commit/3e0b6fa4d72f65fb798a41b9138ac78b0036be32

A more elegant solution might be to make this conditional on formatEnum (if this is possible at all).