Skip to content

Problem: Improve resilience of XML metadata validation #1810

Description

@jens-st

Please describe the problem you'd like to be solved
For later production use, I'd like to see the feature for Importing and validating XML metadata with source-metadata.csv to be as resilient as possible.

Describe the solution you'd like to see implemented
I propose to catch and handle more errors gracefully and extend the unit tests - especially for XML metadata validation - with additional scenarios. I'd like to cover even more edge cases or complex validation variants with test cases. This will also make it more likely to catch behavioral changes in the underlying parser library (currently lxml) very early.

artefactual/archivematica#2341

Describe alternatives you've considered

  • local tests but feedback loop is longer

Additional context


For Artefactual use:

Before you close this issue, you must check off the following:

  • All pull requests related to this issue are properly linked
  • All pull requests related to this issue have been merged
  • A testing plan for this issue has been implemented and passed (testing plan information should be included in the issue body or comments)
  • Documentation regarding this issue has been written and merged
  • Details about this issue have been added to the release notes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions