[GeoNetwork-devel] The casing of the codeList url in a GN template record changes during record creation.

Hi,

The codeList url (in my template) is changed when creating a new metadata record:

http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode

Note the change in casing from ‘codelist’ to ‘Codelist’.

GN work with the new url casing, but it cause the GDI-DE validator to fail the record. (The standards.iso.org server is case sensitive)

Is there a way to stop this from happening?

Thanks!

Hi,

···

2014-02-14 10:22 GMT+01:00 Gert Conradie <gert.conradie@anonymised.com>:

Hi,

The codeList url (in my template) is changed when creating a new metadata record:

http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode

Note the change in casing from ‘codelist’ to ‘Codelist’.

GN work with the new url casing, but it cause the GDI-DE validator to fail the record. (The standards.iso.org server is case sensitive)

Is there a way to stop this from happening?

Here
https://github.com/geonetwork/core-geonetwork/blob/develop/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/update-fixed-info.xsl#L167
so we should probably fix it in develop also ?

Francois

Thanks!


Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

That’s the fix, thanks!

···

On Fri, Feb 14, 2014 at 11:39 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Hi,

2014-02-14 10:22 GMT+01:00 Gert Conradie <gert.conradie@anonymised.com>:

Hi,

The codeList url (in my template) is changed when creating a new metadata record:

http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmxCodelists.xml#CI_OnLineFunctionCode

Note the change in casing from ‘codelist’ to ‘Codelist’.

GN work with the new url casing, but it cause the GDI-DE validator to fail the record. (The standards.iso.org server is case sensitive)

Is there a way to stop this from happening?

Here
https://github.com/geonetwork/core-geonetwork/blob/develop/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/update-fixed-info.xsl#L167
so we should probably fix it in develop also ?

Francois

Thanks!


Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork