RE: [Geonetwork-devel] Inheritance between ISO 19139 XML document instances

Hi Andrea,

First of all sorry for guessing you were female. It must be a cultural thing
because the spelling of Andrea in Australia is *usually* for females. I hope
you forgive me. ;--)

Please see my comments below:

Thanks.

John

-----Original Message-----
From: geonetwork-devel-admin@lists.sourceforge.net
[mailto:geonetwork-devel-admin@lists.sourceforge.net] On
Behalf Of Andrea Carboni
Sent: Tuesday, 23 May 2006 11:27 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [Geonetwork-devel] Inheritance between ISO 19139
XML document instances

Hi John,

here are my comments.

Cheers,
Andrea

> The inheritance concept is not just for responsibleParty
elements. It is for
> all elements. Its purpose is to reduce the amount of
effort to enter
> metadata as well as more closely link the metadata of relative
> hierarchyLevels. For example, the information in a
'featureType' metadata
> record could be exactly the same as the 'dataset' metadata
except that the
> title and abstract are different. Therefore, the
'featureType' can inherit
> the content of all the elements and then the content of the
title and
> abstract elements can be over written by the user using the
metadata editing
> tool.
>
> Yes. I agree that the issues are only technical. ;--)
ISO 1913 XSDs allow
> for this inheritance by using the Xlink schema. Xlink
allows the content of
> an element to receive the content of a reference element by
using a reference
> to that element. I'm investigating how the ISO 19139 XSDs
actually do this.
> I'll keep you informed on what I find out.

Ok.

> I have investigated the ISO 19139 XSDs. A snippet from the
> ML_gmxCodeLists.xml file is:
>
> <codelistItem>
> <ML_CodeListDictionary gml:id="LanguageCode">
> <gml:description>Language : ISO 639-2 (3
> characters)</gml:description>
> <gml:identifier codeSpace="ISO
> 639-2">LanguageCode</gml:identifier>
> <codeEntry>
> <ML_CodeDefinition
gml:id="LanguageCode_eng">
>
> <gml:description>English</gml:description>
> <gml:identifier codeSpace="ISO
> 639-2">eng</gml:identifier>
> <gml:name>English</gml:name>
>
> Note that the description states that the language is the
"(3 characters)"
> format and that the identifier for "English" is "eng".

Ok. It seems I got confused...

> > > 2. The domain for the "dateStamp" element is "Date".
> > "Date" is an ISO 8601
> > > date format not an ISO 8601 DateTime format. GeoNetwork
> > prompts a dateTime
> > > format in the content of the "dateStamp" element. It
> > should be a "Date"
> > > format. For example, yyyy-mm-dd, yyyymmdd, yyyy-mm, yyyy
> > or yy (for the
> > > century although this is not available in the W3C XML
> > Schema implementation)
> > > not yyyy-mm-ddThh:mm:ss. DateTime formats should also
> > include the time zone
> > > eg. yyyy-mm-ddThh:MM:ss+Z so that local times can be used
> > rather than GMT.
> >
> > Ok, we can fix it.
> >
>
> Great! Thanks.

Further investigation has revealed that you can choose both formats.
dateStamp is a gco:Date_PropertyType which type is:

  <xs:complexType name="Date_PropertyType">
    <xs:choice minOccurs="0">
      <xs:element ref="gco:Date"/>
      <xs:element ref="gco:DateTime"/>
    </xs:choice>
    <xs:attribute ref="gco:nilReason"/>
  </xs:complexType>

As you can see we have a choice between a date and a date-time.

Thank you for pointing this out to me. The ISO 19115 standard specifies
'dateStamp' is of 'Date' type. The 'Date' type is identified in section B4.2
of ISO 19115 as:

"Date: gives values for year, month and day. Character encoding of a date is
a string which shall follow the
format for date specified by ISO 8601. This class is documented in full in
ISO/TS 19103."

Some date searching and indexing software will only work on dates and not
dateTime format.

I will have to mention this to the ISO 19139 developers.

Thanks.

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to make
your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&

dat=121642
_______________________________________________
Geonetwork-devel mailing list
Geonetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork