this discussion reminds me of the discussion whether the “default” (= template-based) editor should be prevented from storing optional elements that cannot be empty if present.
Bottom line is that some feel that it is more important to store “what the user wants” instead of having GN take any action towards more valid metadata.
And “what the user wants” in the case of the “default” editor is taken to be, whatever is in the template that the user selected; and in the case of the metadata generated from OGCWxS, it is taken to be whatever the service provider chooses to put there.
For the case of the “default” editor, I advocate a name change to “template-based editor” or something like that that better describes its function; and while at it, rename the “advanced” editor to “free editor”, or similar. Along with some readily accessible help texts about the different storage strategies employed by the two editors.
That of course doesn’t help the OGCWxS harvesting. Maybe an option to add a setting so admin users can configure the behaviour ? Or would that only increase confusion ?
Kind regards
Heikki Doeleman
On Thu, Oct 29, 2009 at 6:46 PM, Stephen M Richard <steve.richard@anonymised.com> wrote:
gmd:contact is required, so the benefit is that the MD_Metadata record is schema valid. Just populate like this:
<gmd:contact gco:nilReason=“missing”/>
steve
Francois Prunayre wrote:
Hello Wolfgang
2009/10/28 Wolfgang Grunberg [<wgrunberg@anonymised.com>](mailto:wgrunberg@anonymised.com):
I am validating the ISO 19139 metadata generated by GN 2.4.2 harvesting
of OGC services (WMS, WFS, etc.).
It would be nice if GN would generate required elements such as
<gmd:MD_Metadata><gmd:contact> (metadata contact person/organization)
even if it is not specified in the service's getCapability.
If this information is not in the capabilities document, I don't see
any benefit to add empty tags in here.
Maybe it's better to have this record invalid and ask the service
provider to add this information ?
--
Stephen M. Richard
Section Chief, Geoinformatics
Arizona Geological Survey
416 W. Congress St., #100
Tucson, Arizona, 85701 USA
Phone:
Office: (520) 209-4127
Reception: (520) 770-3500
FAX: (520) 770-3505
email: [steve.richard@anonymised.com](mailto:steve.richard@anonymised.com)
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
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