[GeoNetwork-devel] CFV: Schematron administration and extensions proposal

Hi,

I have a new feature proposal for Geonetwork.

https://github.com/geonetwork/core-geonetwork/wiki/SchematronAdmin

The proposal essentially extends the configuration and uses of Schematrons. The pivotal change is to allow schematrons to be selectively applied to certain metadata according to the metadata attributes. A simple example is to execute a schematron on a metadata when the metadata is part of a certain group. It is quite a bit more advanced than that the proposal has the full details.

Jesse

Hi Jesse.

+1 for me.

One question about ISO profiles. What needs to be modified to continue to apply all schematrons to all metadata in a profile. For example,
https://github.com/geonetwork/schema-plugins/blob/master/iso19139.fra/schematron/ which delegates all to iso19139. Do we need to copy the sch ? and create a criteria type defining all schematron applies to all records ?

Francois

···

2014-03-17 10:25 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi,

I have a new feature proposal for Geonetwork.

https://github.com/geonetwork/core-geonetwork/wiki/SchematronAdmin

The proposal essentially extends the configuration and uses of Schematrons. The pivotal change is to allow schematrons to be selectively applied to certain metadata according to the metadata attributes. A simple example is to execute a schematron on a metadata when the metadata is part of a certain group. It is quite a bit more advanced than that the proposal has the full details.

Jesse

At the moment the behaviour is the same as before. For iso19139.fra to have schematrons you need to add schematrons to that schema_plugin and add the criteria type file.

I can see that it would be nice to inherit from iso19139 but that could be tricky because of cases where you want a schematron to apply to iso19139 but not to the profile.

Jesse

···

On Wed, Mar 19, 2014 at 7:38 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hi Jesse.

+1 for me.

One question about ISO profiles. What needs to be modified to continue to apply all schematrons to all metadata in a profile. For example,
https://github.com/geonetwork/schema-plugins/blob/master/iso19139.fra/schematron/ which delegates all to iso19139. Do we need to copy the sch ? and create a criteria type defining all schematron applies to all records ?

Francois

2014-03-17 10:25 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi,

I have a new feature proposal for Geonetwork.

https://github.com/geonetwork/core-geonetwork/wiki/SchematronAdmin

The proposal essentially extends the configuration and uses of Schematrons. The pivotal change is to allow schematrons to be selectively applied to certain metadata according to the metadata attributes. A simple example is to execute a schematron on a metadata when the metadata is part of a certain group. It is quite a bit more advanced than that the proposal has the full details.

Jesse

Hi Jesse

+1 for me.

Proposal looks good, I like the idea of the criteria-types.xml, so can be extended with new criterias if required.

Just a question of that file, related to the remote section, is there any documentation about it? Looks like some AngularJS code, but not very clear the different entries and syntax required.

Regards,
Jose García

···

On Wed, Mar 19, 2014 at 7:41 AM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

At the moment the behaviour is the same as before. For iso19139.fra to have schematrons you need to add schematrons to that schema_plugin and add the criteria type file.

I can see that it would be nice to inherit from iso19139 but that could be tricky because of cases where you want a schematron to apply to iso19139 but not to the profile.

Jesse


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

On Wed, Mar 19, 2014 at 7:38 AM, Francois Prunayre <fx.prunayre@anonymised.com1…> wrote:

Hi Jesse.

+1 for me.

One question about ISO profiles. What needs to be modified to continue to apply all schematrons to all metadata in a profile. For example,
https://github.com/geonetwork/schema-plugins/blob/master/iso19139.fra/schematron/ which delegates all to iso19139. Do we need to copy the sch ? and create a criteria type defining all schematron applies to all records ?

Francois

2014-03-17 10:25 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi,

I have a new feature proposal for Geonetwork.

https://github.com/geonetwork/core-geonetwork/wiki/SchematronAdmin

The proposal essentially extends the configuration and uses of Schematrons. The pivotal change is to allow schematrons to be selectively applied to certain metadata according to the metadata attributes. A simple example is to execute a schematron on a metadata when the metadata is part of a certain group. It is quite a bit more advanced than that the proposal has the full details.

Jesse

Hi Jose,

The code completion library used is the same that is used throughout the angularJS Geonetwork UI. It is the javascript library called typeahead.js.

I will updated the criteria-types file to explain that.

Jesse

···

On Wed, Mar 19, 2014 at 11:44 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Jesse

+1 for me.

Proposal looks good, I like the idea of the criteria-types.xml, so can be extended with new criterias if required.

Just a question of that file, related to the remote section, is there any documentation about it? Looks like some AngularJS code, but not very clear the different entries and syntax required.

Regards,
Jose García

On Wed, Mar 19, 2014 at 7:41 AM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

At the moment the behaviour is the same as before. For iso19139.fra to have schematrons you need to add schematrons to that schema_plugin and add the criteria type file.

I can see that it would be nice to inherit from iso19139 but that could be tricky because of cases where you want a schematron to apply to iso19139 but not to the profile.

Jesse


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

On Wed, Mar 19, 2014 at 7:38 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hi Jesse.

+1 for me.

One question about ISO profiles. What needs to be modified to continue to apply all schematrons to all metadata in a profile. For example,
https://github.com/geonetwork/schema-plugins/blob/master/iso19139.fra/schematron/ which delegates all to iso19139. Do we need to copy the sch ? and create a criteria type defining all schematron applies to all records ?

Francois

2014-03-17 10:25 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:

Hi,

I have a new feature proposal for Geonetwork.

https://github.com/geonetwork/core-geonetwork/wiki/SchematronAdmin

The proposal essentially extends the configuration and uses of Schematrons. The pivotal change is to allow schematrons to be selectively applied to certain metadata according to the metadata attributes. A simple example is to execute a schematron on a metadata when the metadata is part of a certain group. It is quite a bit more advanced than that the proposal has the full details.

Jesse