[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1027: MCP version 1.5 (Experimental) shouldn't be loaded as the default schema

#1027: MCP version 1.5 (Experimental) shouldn't be loaded as the default schema
--------------------------------+-------------------------------------------
Reporter: awalsh | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0 RC0
Component: Metadata standards | Version: v2.8.0RC0
Keywords: MCP schema |
--------------------------------+-------------------------------------------
Using GN2.8+ANZMEST MCP schemas.
Because of the schema detection logic coded into the
schema-ident.axml config. files for the MCPV1.4 amd MCP V1.5
schemas the MCP1.5 Experimental schema ends be default one.
The desired behavoir is the opposite i.e the MCP V1.4 schema
should be the default.

Suggested way to fix (Thanks to Ian and Simon!) is as follows:

In the mcp-1.4 schema-ident.xml we set:

  <autodetect xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp&quot;
xmlns:gmd="http://www.isotc211.org/2005/gmd&quot;
xmlns:gco="http://www.isotc211.org/2005/gco&quot;&gt;

  <!-- catchs most MCP records as default 1.4 (except for
1.5-experimental)-->
   <elements type="root">
    <mcp:MD_Metadata/>
   </elements>

  </autodetect>

and in the mcp-1.5 experimental schema-ident.xml we set:

  <autodetect xmlns:mcp="http://bluenet3.antcrc.utas.edu.au/mcp&quot;
xmlns:gmd="http://www.isotc211.org/2005/gmd&quot;
xmlns:gco="http://www.isotc211.org/2005/gco&quot;&gt;

   <elements>
    <gmd:metadataStandardName>
     <gco:CharacterString>Australian Marine Community Profile of ISO
19115:2005/19139</gco:CharacterString>
    </gmd:metadataStandardName>
    <gmd:metadataStandardVersion>
     <gco:CharacterString>1.5-experimental</gco:CharacterString>
    </gmd:metadataStandardVersion>
   </elements>
  </autodetect>

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1027&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.

#1027: MCP version 1.5 (Experimental) shouldn't be loaded as the default schema
---------------------------------+------------------------------------------
  Reporter: awalsh | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0 RC0
Component: Metadata standards | Version: v2.8.0RC0
Resolution: fixed | Keywords: MCP schema
---------------------------------+------------------------------------------
Changes (by ianwallen):

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

Comment:

Fixed in commit https://github.com/geonetwork/schema-
plugins/commit/094568103a2d93cb1ce55d5de3e6de9e525ddeb1

Note: This exact fix was not implemented. Instead an | logic was used to
look for 1.4 and 1.5 - See other related commits on the same date for
details.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1027#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.