having done that with your metadata, it turns out you should change
<gmd:extent>
<gml:TimePeriod gml:id="T1">
<gml:beginPosition>2010-04-13</gml:beginPosition>
<gml:endPosition/>
</gml:TimePeriod>
</gmd:extent>
to
<gmd:extent>
<gml:TimePeriod gml:id="T1" xmlns:gml="http://www.opengis.net/gml">
<gml:beginPosition>2010-04-13</gml:beginPosition>
<gml:endPosition/>
</gml:TimePeriod>
</gmd:extent>
to make the metadata valid. The reason is that you have a different
declaration of the gml namespace in your root element (gmd:MD_Metadata):
xmlns:gml="http://www.opengis.net/gml/3.2"
Alternatively, and better, I guess, is to change in your root
gmd:MD_Metadata declaration the gml definition to
xmlns:gml="http://www.opengis.net/gml"
If you do this there is no need to add the correct gml namespace definition
locally to that gml:TimePeriod element, and you can add other gml elements
without needing to do this for each one.
Hope this helps,
kind regards
Heikki Doeleman
On Wed, Apr 24, 2013 at 1:02 PM, heikki <tropicano@anonymised.com> wrote:
hi,
the schemalocation values are pairs; try using
xsi:schemaLocation="http://www.isotc211.org/2005/gmd
http://www.isotc211.org/2005/gmd/gmd.xsd"
GeoNetwork uses the key value to lookup its own local copy of the ISO19139
XSD.
Kind regards
Heikki Doeleman
On Tue, Apr 23, 2013 at 1:40 PM, ianwallen <ianwallen@anonymised.com> wrote:
Try again putting "http://www.isotc211.org/2005/gmd" at the beginning of
the
schemaLocation list.
If this does not work tell me what version of geonetwork are you using.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GeoNetwork-XSD-validation-errors-tp5048339p5049088.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring
service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt!
http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork