Migrate CERIF 1.5 to 1.6
migrate_15_to_16Migrate CERIF 1.5 XML to CERIF 1.6 by updating namespace, schema location, and removing release attribute. Returns migrated XML with change log.
Instructions
Migrates a CERIF 1.5 XML document to CERIF 1.6 by applying the euroCRIS documented steps: (1) replace the namespace urn:xmlns:org:eurocris:cerif-1.5-2 with urn:xmlns:org:eurocris:cerif-1.6-2, (2) update the xsi:schemaLocation, and (3) remove the release attribute from the CERIF element. Returns the migrated XML plus a change log. Always validate the result with validate_xml.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | CERIF 1.5 XML document to migrate | |
| file | No | Absolute path to a CERIF 1.5 XML file (alternative to `xml`) |