Opened 12 years ago

Closed 11 years ago

#984 closed enhancement (fixed)

Editor / gmd:protocol is not a closed list

Reported by: fxp Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.10.0 RC0
Component: General Version:
Keywords: Cc:

Description

This ticket aims to change the protocol closed list (stored in loc/xyz/xml/strings.xml see protocolChoice tags) to a suggestion list (#123). In ISO19139, gmd:protocol is a gco:CharacterString, not a codelist.

Changes are:

  • Editor:
    • ISO19139:
      • Change template <xsl:template mode="iso19139" match="gmd:protocol to display suggestion list instead of protocolChoice list.
      • Keep checkForFileUpload JS event to provide file upload when needed.
    • ISO19115: Remove protocol list.
  • Schema:

Change History (4)

comment:1 by ianwallen, 12 years ago

If the codes are not moved to a code list, it sounds like it will not be possible to support some of the other profiles based on ISO 19139.

For example in the North American Profile it is suggested that

The protocol should be taken from an official controlled list such as the Official Internet Protocol Standards published on the Web at http://www.rfc-editor.org/rfcxx00.html or the Internet Assigned Numbers Authority (IANA) at http://www.iana.org/numbers.html.

Since Geonetwork seems to have has some custom protocols (i.e. WWW:DOWNLOAD-*http--download for supporting uploaded content) maybe there can be a merged list?

comment:2 by fxp, 12 years ago

A profile can always overrides ISO19139 default helper for an element. So for NAP, the protocol suggestion could be modified by defining its own list for gmd:protocol.

comment:3 by fgravin, 11 years ago

Change all protocolChoice value to helper value (each language) Protocol field have been changed in editor.

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

comment:4 by fxp, 11 years ago

Resolution: fixed
Status: newclosed

master commit 98a355dd6cafba2d242d70650908588818a41efb and commit db5bd08d50dee879fad6032db0f7adff229f11cd (Restore protocol choice in french translation)

Note: See TracTickets for help on using tickets.