[GeoNetwork-users] error messages

Hello,
I am a Data Archivist working with the geonetwork program. I am not a
programer or developer. I am trying to use the verify function to try to
see which of my >100 data sets are ready for archiving. Unfortunately I
do not understand the error messages I get back. Many of my files have
the error:
    * error cvc-complex-type.4: Attribute 'id' must appear on element
'gml:TimePeriod'. (Element: gml:TimePeriod with parent element:
gmd:extent)

What does this mean? I checked the temporal extent and it looks good.
Is there a link to someplace where I can match the error message to
something that tells me what blank needs filling?
Thanks
Karen

Hi Karen,

Probably complaining about lack of the gml:id attribute.
You need XML like this:

<gmd:temporalElement>
<gmd:EX_TemporalExtent>
<gmd:extent>
<gml:TimePeriod gml:id="d233e435a1052958">
<gml:beginPosition>2011-01-03T17:08:00</gml:beginPosition>
<gml:endPosition>2011-01-19T17:08:00</gml:endPosition>
</gml:TimePeriod>
</gmd:extent>
</gmd:EX_TemporalExtent>
</gmd:temporalElement>

Content of the gml:id doesn't matter too much as long
as you don't have same gml:id on different elements in 1 XML metadata file.

HTH

Andrew
----- Original Message ----- From: "Karen Remick" <kremick@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Wednesday, November 09, 2011 11:11 AM
Subject: [GeoNetwork-users] error messages

Hello,
I am a Data Archivist working with the geonetwork program. I am not a
programer or developer. I am trying to use the verify function to try to
see which of my >100 data sets are ready for archiving. Unfortunately I
do not understand the error messages I get back. Many of my files have
the error:
   * error cvc-complex-type.4: Attribute 'id' must appear on element
'gml:TimePeriod'. (Element: gml:TimePeriod with parent element:
gmd:extent)

What does this mean? I checked the temporal extent and it looks good.
Is there a link to someplace where I can match the error message to
something that tells me what blank needs filling?
Thanks
Karen

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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

Hi Karen,

Not sure that you can enter these values through the Geonetwork editor.
If you are importing XML files and there are hundreds of them
its probably easier to edit the XML files to include a gml:id. If future if you are
creating individual records if you begin with template that has a pre-filled
gml:id then researchers need not worry about typing it in.

Andrew

----- Original Message ----- From: "Karen Remick" <kremick@anonymised.com>
To: "andrew walsh" <awalsh@anonymised.com>
Sent: Wednesday, November 09, 2011 12:20 PM
Subject: Re: [GeoNetwork-users] error messages

Thanks,
I can figure out how to go in and add id #s for the files that are
getting this error. Is there a way to do it through the interface or do
I need to edit the XML files? Also, is there something I can tell the
researchers who are filling out the form to do so it doesn't happen in
the future? (we are doing a big push for the archive's use and expect
~100 new files)
Karen

On Wed, 2011-11-09 at 11:44 +1100, andrew walsh wrote:

Hi Karen,

Probably complaining about lack of the gml:id attribute.
You need XML like this:

<gmd:temporalElement>
<gmd:EX_TemporalExtent>
<gmd:extent>
<gml:TimePeriod gml:id="d233e435a1052958">
<gml:beginPosition>2011-01-03T17:08:00</gml:beginPosition>
<gml:endPosition>2011-01-19T17:08:00</gml:endPosition>
</gml:TimePeriod>
</gmd:extent>
</gmd:EX_TemporalExtent>
</gmd:temporalElement>

Content of the gml:id doesn't matter too much as long
as you don't have same gml:id on different elements in 1 XML metadata file.

HTH

Andrew
----- Original Message ----- From: "Karen Remick" <kremick@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Wednesday, November 09, 2011 11:11 AM
Subject: [GeoNetwork-users] error messages

> Hello,
> I am a Data Archivist working with the geonetwork program. I am not a
> programer or developer. I am trying to use the verify function to try to
> see which of my >100 data sets are ready for archiving. Unfortunately I
> do not understand the error messages I get back. Many of my files have
> the error:
> * error cvc-complex-type.4: Attribute 'id' must appear on element
> 'gml:TimePeriod'. (Element: gml:TimePeriod with parent element:
> gmd:extent)
>
> What does this mean? I checked the temporal extent and it looks good.
> Is there a link to someplace where I can match the error message to
> something that tells me what blank needs filling?
> Thanks
> Karen
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> 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
>