<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2001-2016 Food and Agriculture Organization of the
  ~ United Nations (FAO-UN), United Nations World Food Programme (WFP)
  ~ and United Nations Environment Programme (UNEP)
  ~
  ~ This program is free software; you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation; either version 2 of the License, or (at
  ~ your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful, but
  ~ WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~ General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program; if not, write to the Free Software
  ~ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  ~
  ~ Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2,
  ~ Rome - Italy. email: geonetwork@osgeo.org
  -->

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">

  <!-- OASIS CATALOG FOR GEONETWORK TO REMAP VARIOUS XML IDs -->

  <!-- This used to be done in Java code, but with the use of these
             maps you can customise this to suit yourself. -->

  <!-- =============== ISO19139 maps -->

  <!-- Before opengis.net started being used as the srv namespace URL
         we used http://www.isotc211.org/2005/srv so remap opengis.net to
             that so all our stuff continues to work -->

  <uri name="http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd"
       uri="http://www.isotc211.org/2005/srv"/>

  <!-- These are to map schemaLocation hints to local schemas to make sure that
       GeoNetwork edits and validates against a schema it knows about. -->

  <system
    systemId="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd"
    uri="schema2007/gmd/gmd.xsd"/>
  <system
    systemId="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd"
    uri="schema2007/gco/gco.xsd"/>
  <system systemId="http://www.isotc211.org/2005/gmd/gmd.xsd"
          uri="schema2007/gmd/gmd.xsd"/>
  <system systemId="http://www.isotc211.org/2005/gco/gco.xsd"
          uri="schema2007/gco/gco.xsd"/>
  <system systemId="http://www.isotc211.org/2005/gmx/gmx.xsd"
          uri="schema2007/gmx/gmx.xsd"/>
  <system systemId="http://www.isotc211.org/2005/gts/gts.xsd"
          uri="schema2007/gts/gts.xsd"/>
  <system systemId="http://www.isotc211.org/2005/gsr/gsr.xsd"
          uri="schema2007/gsr/gsr.xsd"/>
  <system systemId="http://www.isotc211.org/2005/gss/gss.xsd"
          uri="schema2007/gss/gss.xsd"/>
  <system systemId="http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd"
          uri="schema2007/srv/srv.xsd"/>

  <!-- hope this isn't being used as a schema hint but if it is, map it -->

  <system systemId="http://www.isotc211.org/2005/srv/srv.xsd"
          uri="schema2007/srv/srv.xsd"/>

  <!-- gml (both known places for 3.1.1) -->

  <system systemId="http://www.opengis.org/gml/gml.xsd"
          uri="schema2007/gml/gml.xsd"/>
  <system systemId="http://schemas.opengis.org/gml/3.1.1/base/gml.xsd"
          uri="schema2007/gml/gml.xsd"/>

  <!-- xlinks -->
  <system systemId="http://www.w3.org/1999/xlink.xsd"
          uri="schema2007/xlink/xlink.xsd"/>
  <!--
  19139:2005 version
  <system systemId="http://www.w3.org/1999/xlink/xlinks.xsd"
          uri="schema/xlink/xlinks.xsd"/>-->

</catalog>
