Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
<param name="ingestValidationLevel" value="0"/>

The value of this parameter specifies the type(s) of validation to perform on ingest:

  • 0: XSD and Schematron validation
  • 1: XSD validation only
  • 2: Schematron validation only
  • -1: no validation

If this parameter is not specified the default level is 0.

Warning
titleUse with care!

Fedora's XML ingest validation is designed to help ensure the integrity of your repository. Exercise caution if you are implementing your own validation mechanisms, and only change the validation level from the default if you can ensure that objects are valid prior to ingesting them.

note on debug validation

...

.

If Fedora's logging level is set to DEBUG, Fedora also validates FOXML before committing it to permanent storage using both XSD and Schematron validation. This feature is intended to be used for testing Fedora.

Object validation

Fedora Object validation can be configured to be carried out prior to any object modifications being committed to permanent storage. By default, no object validation is carried out.