Opened 12 years ago
Closed 12 years ago
#984 closed enhancement (fixed)
Editor / gmd:protocol is not a closed list
Reported by: | fxp | Owned by: | |
---|---|---|---|
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.
- ISO19139:
- 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
- Add suggestion to iso19139 schema (iso19139/loc/xyz/labels.xml) for gmd:protocol element
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 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 , 12 years ago
Change all protocolChoice value to helper value (each language) Protocol field have been changed in editor.
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
master commit 98a355dd6cafba2d242d70650908588818a41efb and commit db5bd08d50dee879fad6032db0f7adff229f11cd (Restore protocol choice in french translation)
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
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?