Hi Jose,
There is a difference between the MD_Metadata/fileIdentifier and the MD_metadata/../identificationInfo/../identifier/../code. The former is the identifier for the metadata record. However the latter is the identifier for the resource that the metadata describes. I would suggest that these are two different things and hence your proposal is logically incorrect.
What about creating a UUID for an MD_Metadata/fileIdentifier if it doesn't exist? It doesn't matter if an optional element is used does it?
I hope this helps.
John Hockaday
________________________________________
From: jose garcia [josegar74@anonymised.com]
Sent: Saturday, 1 October 2011 12:19 AM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] CSW harvester and metadata uuid
Hi
The CSW harvester uses gmd:fileIdentifier/gco:CharacterString
in full record response as the metadata uuid. If this value
doesn't exist CSW harvester discards the metadata record.
As gmd:fileIdentifier is not mandatory, I propose to extend
the actual code, so if is not declared, then check if is
declared
gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/
gmd:CI_Citation/gmd:identifier/gmd:MD_Identifier/gmd:code/gco:
CharacterString and use it.
Any comment against this change? or seem ok to apply it?
Thanks and regards,
Jose García
--------------------------------------------------------------
----------------
All of the data generated in your IT infrastructure is
seriously valuable.
Why? It contains a definitive record of application
performance, security
threats, fraudulent activity, and more. Splunk takes this
data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
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
*************************************************************************
The information contained in this e-mail, and any attachments to it,
is intended for the use of the addressee and is confidential. If you
are not the intended recipient you must not use, disclose, read,
forward, copy or retain any of the information. If you received this
e-mail in error, please delete it and notify the sender by return
e-mail or telephone.
The Commonwealth does not warrant that any attachments are free
from viruses or any other defects. You assume all liability for any
loss, damage or other consequences which may arise from opening
or using the attachments.
The security of emails transmitted in an unencrypted environment
cannot be guaranteed. By forwarding or replying to this email, you
acknowledge and accept these risks.
*************************************************************************