artefactual-sdps / preprocessing-sfa

preprocessing-sfa is an Enduro preprocessing workflow for SFA SIPs
1 stars 0 forks source link

Feature: use the xmlvalidate activity and SIP XSD files to validate XML metadata #39

Closed jraddaoui closed 1 month ago

jraddaoui commented 3 months ago

Is your feature request related to a problem? Please describe.

We are still using a Python script and a fixed local version of the XSD files to validate the metadata.xml or UpdatedAreldaMetadata.xml files.

Describe the solution you'd like

@mcantelon recently created an activity in the temporal-activities respository to perform that validation:

https://github.com/artefactual-sdps/temporal-activities/blob/main/xml/xsd_validate_activity.go

We also need to change the workflow to use the XSD files contained on each SIP instead of the fixed ones copied into the environment.

sallain commented 4 weeks ago

This looks like it's working - packages are failing and succeeding on metadata validations appropriately.