= Persistent validation status information = || '''Date''' || 2011/02/21 || || '''Contact(s)''' || Francois Prunayre || || '''Status''' || CFV || || '''Assigned to release''' || 2.7 || || '''Resources''' || Made for !GeoSource project (supported by BRGM) || || '''Ticket''' || #457 || == Overview == * Save validation status on metadata update action * Add valid criteria to Lucene search * Add validation status information in brief format (which could be use on search results) Validation status list of values is: * -1 : non determined * 0 : invalid * 1 : valid Validation status information contains: * global validation status (valid if XSD and schematrons are valid) * XSD validation status * n Schematron(s) validation status Validation detail is described by: * Validation status (ie. -1, 0, 1) * Number of failed assert/Number of fired rules (not available for XSD) [[Image(validation-details.png, 500)]] === Proposal Type === * '''Type''': Core Change * '''App''': !GeoNetwork * '''Module''': Editor, Search engine === Links === Related to http://trac.osgeo.org/geonetwork/wiki/PersistentValidationResults proposal (motion passed September 14th 2009 but not added to trunk). Main differences with current proposal which: * does not save validation report in DB (which depends on GUI languages). Only the validation status information is persistent. * save the validation status for each type of validation (XSD, ISO, GeoNetwork, INSPIRE, profile specific schematron) and not the complete validation report * add Lucene "valid" search criteria * add geonet:info element for the validation status * require to run the validation if user ask for the validation in view mode (the other proposal retrieve the validation report from the DB directly). * does not add the validation icon to the search results === Voting history === Vote proposed by Francois on 2011/02/21, result was : * +1 Jeroen, Emmanuele, Simon, Francois (Community member: John Hockaday, Andrew Walsh, Angley William) === GUI example === [[Image(validation-gui-example.png, 500)]] === Backwards Compatibility Issues === none == Risks == == Participants == * As above