Dear all,
I'm using a GN 2.10.3, and I was trying to complete a metadata.
Actually I finished to fill-in the metadata, and I checked it with the
validator.
Unfortunately I got this problem:
Compliance to metadata standard (XML Schema) (1 errors)
Invalid element. Invalid content was found starting with element:
(gmx:MimeFileType).
One of the following elements
(gco:CharacterString)
is expected.Parent element is
(gmd:name).
I think of course is related to the uploaded resources (uploaded without problems), in the section Distribution --> OnlineResuorce.
Actually I was compiling a specific metadata schema (compliant to the Italian rules), but I tested the same xml in the classical
iso19139.xml schema.
My xml for this section is:
<gmd:transferOptions>
<gmd:MD_DigitalTransferOptions>
<gmd:onLine>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://repoigg.services.iit.cnr.it/geoserver/vigor_raster/wms?</gmd:URL>
</gmd:linkage>
<gmd:protocol>
<gco:CharacterString>OGC:WMS</gco:CharacterString>
</gmd:protocol>
<gmd:name>
<gco:CharacterString>sicilia_hip</gco:CharacterString>
</gmd:name>
<gmd:description>
<gco:CharacterString>Carta del calore in posto della regione Sicilia</gco:CharacterString>
</gmd:description>
</gmd:CI_OnlineResource>
</gmd:onLine>
<gmd:onLine>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://150.145.141.99/geonetwork/srv/en/resources.get?id=38655&fname=hip_sicilia.asc&access=private</gmd:URL>
</gmd:linkage>
<gmd:protocol>
<gco:CharacterString>WWW:DOWNLOAD-1.0-http--download</gco:CharacterString>
</gmd:protocol>
<gmd:name>
<gmx:MimeFileType xmlns:gmx="http://www.isotc211.org/2005/gmx" type="application/pgp-keys">hip_sicilia.asc</gmx:MimeFileType>
</gmd:name>
<gmd:description>
<gco:CharacterString>lo zip file contiene il grid del Calore in posto per la regione Sicilia</gco:CharacterString>
</gmd:description>
</gmd:CI_OnlineResource>
</gmd:onLine>
</gmd:MD_DigitalTransferOptions>
</gmd:transferOptions>
I discoverd also a quite old discussion on this topic in the archive:
http://sourceforge.net/p/geonetwork/mailman/message/29980983/
but it is not so useful for me to solve the problem.
Anybody of you could help me?
Regards
Eugenio