[GeoNetwork-devel] Codelist in custom schema

Hello everyone,

How do I get my schema to consume its own codelist. Currently it is
consuming the iso19139 codelist ...

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-developer-f3874395.html

Hi

There’s a bug in iso19139 template:

https://github.com/geonetwork/core-geonetwork/blob/master/schemas/iso19139/src/main/plugin/iso19139/layout/layout.xsl#L449

That line should be using $codelists instead of $iso19139codelists:

<xsl:param name=“codelists” select=“$codelists” required=“no”/>

There’s an open issue, will make a pull request so gets fixed in next version, for now you can update your setup.

Regards,
Jose García

···

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

Hi

Here are the pull requests for 3.6.x and master branches to fix this issue:

https://github.com/geonetwork/core-geonetwork/pull/3603

https://github.com/geonetwork/core-geonetwork/pull/3602

Regards,
Jose García

···

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.

Thank you Jose,

It worked!

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-developer-f3874395.html