spatial-d4science/ckanext/spatial
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
..
commands Added ability to produce report into validation errors, for when changing validation. Added report infrastructure. 2012-10-19 18:20:32 +01:00
controllers Merge branch '2641-spatial-widgets-new-theme' into release-v2.0 2012-11-12 16:44:05 +00:00
lib Don't trust the number of records returned by the remote server 2012-11-02 11:12:46 +00:00
model Minor model tweaks to support parsing generic ISO documents 2012-10-23 13:03:53 +01:00
public/ckanext/spatial Update WMS viewer prototype to work with the new iframe on resource read page 2012-10-17 13:02:57 +01:00
templates Merge branch '2641-spatial-widgets-new-theme' of github.com:okfn/ckanext-spatial into 2641-spatial-widgets-new-theme 2012-10-17 13:03:11 +01:00
tests Improvements on the validation code 2012-11-19 17:15:16 +00:00
validation Improvements on the validation code 2012-11-19 17:15:16 +00:00
__init__.py Initial commit. This extension will hold geo-related functionalities moved from ckanext-harvest. 2011-04-11 16:53:47 +01:00
harvesters.py Merge branch 'csw-harvester-enhancements' into release-v2.0 2012-11-12 16:43:52 +00:00
html.py Customising extent map for dgu. 2012-05-22 10:51:44 +01:00
nongeos_plugin.py Separate non-GEOS/PostGIS plugins to avoid needing to install them if not needed 2011-10-28 13:03:31 +01:00
plugin.py Merged in ckanext-inspire. 2012-10-19 11:19:01 +01:00