Version 1 (modified by 15 years ago) ( diff ) | ,
---|
Persistent Validation results (originating from Nationaal Georegister)
Date | 2009/09/03 |
Contact(s) | Heikki Doeleman |
Last edited | Timestamp |
Status | draft |
Assigned to release | 2.5 |
Resources | The work may be done in the NGR project |
Overview
This proposal is to run validation (XSD+Schematron) every time a metadata is inserted or changed. The result of validation is persisted in the DB. Persistence is required to show the validation status directly (or maybe query on it later, but this is not implemented at this time). This way we can always show the current "validation status" of metadata, e.g. in the search results page.
Proposal Type
- Type: Core Change
- App: GeoNetwork
- Module: Search engine
Links
- Email discussions: on geonetwork-devel: Proposals to include NGR functionality to GeoNetwork trunk
- IRC discussions: September 1st, 2009 on GeoNetwork's IRC channel
Voting History
- None as yet
Motivations
The motivations for these changes are :
1. A better performance is preferred
Proposal
Validation status is either "valid", "not valid", or "not determined". This last status is the initial validation status when validation has not yet run. Currently the statuses "valid" and "not valid" are shown in the search results. Showing "not determined" as well is a minor change.
A validation report is also stored in the DB. It contains any XSD or schematron validation messages, a reference to the schematron file that was used, a timestamp, and if applicable a message saying that the metadata profile could not be determined. There is basic support for multiple metadata profiles, using different Schematron rules for different profiles.
An icon indicating the validation status, that links to the validation report if the metadata is not valid, can be included in the search results page an/or in the show metadata page. This indicates something about the quality of the metadata to users, and may encourage metadata providers to produce more valid metadata.
Backwards Compatibility Issues
none
Risks
Participants
- As above
Attachments (1)
-
ngr.validationresults.searchresults.png
(229.4 KB
) - added by 15 years ago.
Vaidation results in NGR
Download all attachments as: .zip