Schematron validation of codelists

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Schematron validation of codelists

sammeek
Hi List,

Does anyone have an example of how to check whether a value from the
CodeListValue attribute exists in the codelist defined as part of a schema
plugin? The codelists are defined in the loc/eng/codelist.xml file.

Thanks

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Schematron validation of codelists

Francois Prunayre
Hi, you can probably do something similar to the INSPIRE theme check
https://github.com/geonetwork/core-geonetwork/blob/master/schemas/iso19139/src/main/plugin/iso19139/schematron/schematron-rules-inspire.sch#L295-L327

HTH

Francois

Le mer. 6 mars 2019 à 15:17, Sam Meek <[hidden email]> a écrit :

> Hi List,
>
> Does anyone have an example of how to check whether a value from the
> CodeListValue attribute exists in the codelist defined as part of a schema
> plugin? The codelists are defined in the loc/eng/codelist.xml file.
>
> Thanks
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork