openpreserve / odf-validator

Open source Open Document Format (ODF) validation
http://odf.openpreservation.org/
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Support validation of embedded files #18

Closed Asbjoedt closed 8 months ago

Asbjoedt commented 1 year ago

Hi!

We need a way to process embedded files for validation in our existing/other validation workflows e.g. if an image is embedded, the image should be validated according to our organisation's image file format policies.

The validator should therefore allow for a method, possibly returning a list of embedded files with their paths, when validating the ODS_5 requirement.

carlwilson commented 8 months ago

The package parser allows access to the streams of all entries with some convenience methods for access embedded files.