Work in progress Under construction ECM documentation needs migrating from SourceForge to here IntroductionFedora validates objects on ingest using XSD schema validation and Schematron validation. Fedora's validation mechanism is configurable, allowing the implementation of custom validation mechanisms for objects being ingested, and for validating Fedora objects when they are modified. XML ValidationXSD schema and Schematron validation is performed on all objects when they are ingested. By providing your own implementation of the DOValidator module and specifying this in fedora.fcfg it is possible to implement custom XML validation mechanisms. By default both XML schema and Schematron validation is performed. This is configurable. To alter the validation performed on ingest add a parameter to the module configuration in fedora.fcfg: <param name="ingestValidationLevel" value="0"/> The value of this parameter specifies the type(s) of validation to perform on ingest:
If this parameter is not specified the default level is 0. Use 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. 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 validationFedora 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. |