[GeoNetwork-devel] [GeoNetwork opensource Developer website] #984: Editor / gmd:protocol is not a closed list

#984: Editor / gmd:protocol is not a closed list
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
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:
   * Add suggestion to iso19139 schema (iso19139/loc/xyz/labels.xml) for
gmd:protocol element
{{{
<element name="gmd:protocol" id="398.0">
   <label>Protocol</label>
   <description>Connection protocol to be used</description>
   <helper>
     <option value="OGC:OUS">OGC-ODS OpenLS Utility Service</option>
...
   </helper>
}}}
   * Helper list is based on based on current list
https://github.com/geonetwork/core-
geonetwork/blob/master/web/src/main/webapp/loc/eng/xml/strings.xml#L712

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/984&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#984: Editor / gmd:protocol is not a closed list
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------

Comment(by ianwallen):

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?

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/984#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#984: Editor / gmd:protocol is not a closed list
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------

Comment(by fxp):

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.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/984#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#984: Editor / gmd:protocol is not a closed list
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------

Comment(by fgravin):

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

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

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/984#comment:3&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#984: Editor / gmd:protocol is not a closed list
--------------------------+-------------------------------------------------
  Reporter: fxp | Owner: geonetwork-devel@…
      Type: enhancement | Status: closed
  Priority: minor | Milestone: v2.9.0
Component: General | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => fixed

Comment:

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

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/984#comment:4&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.