spatial-d4science/ckanext/spatial/validation
amercader e12e38cab0 Improvements on the validation code
To make easier to filter and display errors on the UI, the validators
have been modified to return the message and line number separately. The
return format for validators is now:

(is_valid, [(error_message_string, error_line_number)])

Also the XSD based validators were returning only the last error found on
the document, instead of iterating the whole error log. Harvesters should
create a harvest object error for each of this validation errors.

Tests have been adapted to these changes.
2012-11-19 17:15:16 +00:00
..
xml Add validator for FGDC XSD schema 2012-10-29 14:34:29 +00:00
__init__.py Merged in ckanext-inspire. 2012-10-19 11:19:01 +01:00
validation.py Improvements on the validation code 2012-11-19 17:15:16 +00:00