| 1 | = Persistent validation status information = |
| 2 | |
| 3 | || '''Date''' || 2011/02/21 || |
| 4 | || '''Contact(s)''' || Francois Prunayre || |
| 5 | || '''Status''' || CFV || |
| 6 | || '''Assigned to release''' || 2.7 || |
| 7 | || '''Resources''' || Made for !GeoSource project (supported by BRGM) || |
| 8 | |
| 9 | == Overview == |
| 10 | |
| 11 | * Save validation status on metadata update action |
| 12 | * Add valid criteria to Lucene search |
| 13 | * Add validation status information in brief format (which could be use on search results) |
| 14 | |
| 15 | Validation status list of values is: |
| 16 | * -1 : non determined |
| 17 | * 0 : invalid |
| 18 | * 1 : valid |
| 19 | |
| 20 | Validation status information contains: |
| 21 | * global validation status (valid if XSD and schematrons are valid) |
| 22 | * XSD validation status |
| 23 | * n Schematron(s) validation status |
| 24 | |
| 25 | Validation detail is described by: |
| 26 | * Validation status (ie. -1, 0, 1) |
| 27 | * Number of failed assert/Number of fired rules (not available for XSD) |
| 28 | |
| 29 | |
| 30 | [[Image(validation-details.png, 500)]] |
| 31 | |
| 32 | |
| 33 | === Proposal Type === |
| 34 | * '''Type''': Core Change |
| 35 | * '''App''': !GeoNetwork |
| 36 | * '''Module''': Editor, Search engine |
| 37 | |
| 38 | === Links === |
| 39 | |
| 40 | Related to |
| 41 | http://trac.osgeo.org/geonetwork/wiki/PersistentValidationResults |
| 42 | proposal (motion passed September 14th 2009 but not added to trunk). |
| 43 | |
| 44 | Main differences with current proposal which: |
| 45 | * does not save validation report in DB (which depends on GUI languages). Only the validation status information is persistent. |
| 46 | * save the validation status for each type of validation (XSD, ISO, GeoNetwork, INSPIRE, profile specific schematron) and not the complete validation report |
| 47 | * add Lucene "valid" search criteria |
| 48 | * add geonet:info element for the validation status |
| 49 | * 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). |
| 50 | * does not add the validation icon to the search results |
| 51 | |
| 52 | |
| 53 | === GUI example === |
| 54 | |
| 55 | [[Image(validation-gui-example.png, 500)]] |
| 56 | |
| 57 | |
| 58 | === Backwards Compatibility Issues === |
| 59 | |
| 60 | none |
| 61 | |
| 62 | == Risks == |
| 63 | |
| 64 | == Participants == |
| 65 | * As above |