From: Jorge de J. <jor...@wu...> - 2014-07-09 08:15:15
|
Hi Chopin I had the same problem last week, you are correct you need a logo Just go to administration > Logo configuration and upload some logos, dont forget on selecting the logo and clicking on 'Use for Catalog' Jorge On 07/08/2014 08:43 PM, Chopin hu wrote: > I am trying to use "Harvesting Management" in GN 2.10.3 (also tried GN 2.10.2). I always got a msg prompt saying "Unable to add a new entry. Message: string index out of range: -1. Class StringIndexOutOfBoundsException". I looked into the output.log, and caught the following errors msg at the end of this email. I doubt it is because it does have an icon associated the CSW services. The icon dropdown menu in the "Site" section is empty. is there supposed to have a default icon? Should I add icons manually somewhere before I add a harvester? > > Thanks. > > Chopin > > > > > > On Monday, July 7, 2014 10:59 AM, Jose Garcia <jos...@ge...> wrote: > > > > Hi > > I have a metadata with this schemaLocation: > > xsi:schemaLocation="*http://www.isotc211.org/2005/srv > <http://www.isotc211.org/2005/srv> > http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd > <http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd>*"> > > that reports some validation issues like: > > cvc-elt.1: Cannot find the declaration of element 'gmd:MD_Metadata'. > (Element: gmd:MD_Metadata with parent element: Unknown) > > Removing the schemaLocation or changing it to: > > xsi:schemaLocation="*http://www.isotc211.org/2005/gmd > <http://www.isotc211.org/2005/gmd> http://www.isotc211.org/2005/gmd/gmd.xsd > <http://www.isotc211.org/2005/gmd/gmd.xsd> *http://www.isotc211.org/2005/srv > http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd" > > > validates fine. I guess that this is related to the xsd resolution, but can > someone explain how does this work? > > In oasis-catalog.xml it's defined this mapping: > > <system systemId="http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd > " uri="schema/srv/srv.xsd"/> > > I would expect that if GeoNetwork finds the following declaration in the > metadata, uses the local srv.xsd, but seem for some reason is not able to > resolve the gmd.xsd and that causes the error related to Cannot find the > declaration of element 'gmd:MD_Metadata': > > xsi:schemaLocation="*http://www.isotc211.org/2005/srv > <http://www.isotc211.org/2005/srv> > http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd > <http://schemas.opengis.net/iso/19139/20060504/srv/srv.xsd>*"> > > Any feedback would be appreciated. > > Thanks and regards, > Jose García > -- ISRIC - World Soil Information Post: PO box 353, 6700 AJ, Wageningen, The Netherlands Visiting Address: Droevendaalsesteeg 3, 6708 PB Wageningen (Bdg. 101), Office: C.013 Office Phone: +31 (0) 317 4 83715 Mobile Phone: +31 (0) 613 9 06950 OpenPGPKey: 0xA3D0065A |