[GeoNetwork-devel] CSW GetRecords does not return <dc:identifier> for FGDC metadata records

I have imported a FGDC XML metadata record through GeoNetwork's (2.4) Metadata Insert form with the "Generate UUID for inserted metadata" option.
However, sending a CSW GetRecords request (see below) does not include the <dc:identifier> with the generated UUID. This means that there is no way to get the a GetRecordsById transaction request to work and effectively makes the FGDC record useless to CSW clients that rely on GetRecordsById.

Is this a bug, a missing feature, or is there some rationale behind having GetRecordsResponse without the UUID?

Ciao, Wolfgang

CSW service: http://catalog.usgin.org/geonetwork/geonetwork/srv/en/csw
See the <dc:title>Colored Shaded Relief Map of the Great Basin</dc:title> record returned in the response of:

<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot; xmlns:gmd="http://www.isotc211.org/2005/gmd&quot; service="CSW" version="2.0.2" resultType="results">
<csw:Query typeNames="csw:Record">
<csw:ElementSetName>full</csw:ElementSetName>
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc&quot; xmlns:gml="http://www.opengis.net/gml&quot;&gt;
<PropertyIsLike wildCard="%" singleChar="_" escapeChar="\">
<PropertyName>AnyText</PropertyName>
<Literal>%relief%</Literal>
</PropertyIsLike>
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

Thanks Francois!

The bug is fixed in the repository. <dc:identifier> with UUIDs are returned for FGDC metadata records that have been imported with and without the "Generate UUID for inserted metadata" option.

Ciao, Wolfgang

_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

On 2/11/2010 01:08, Francois Prunayre wrote:

Hello Wolfgang

2010/2/10 Wolfgang Grunberg<wgrunberg@anonymised.com>:
   

I have imported a FGDC XML metadata record through GeoNetwork's (2.4)
Metadata Insert form with the "Generate UUID for inserted metadata" option.
However, sending a CSW GetRecords request (see below) does not include
the<dc:identifier> with the generated UUID. This means that there is no
way to get the a GetRecordsById transaction request to work and
effectively makes the FGDC record useless to CSW clients that rely on
GetRecordsById.

Is this a bug, a missing feature, or is there some rationale behind
having GetRecordsResponse without the UUID?
     

See discussion with Archie [1] and the patch [2]. Maybe there's other
issue with the Generate UUID option ?

Ciao.
Francois

[1] http://n2.nabble.com/fgdc-metadata-identifier-in-CSW-response-td4057309.html#a4058660
[2] http://n2.nabble.com/SF-net-SVN-geonetwork-5556-trunk-web-geonetwork-xml-csw-schemas-fgdc-std-td4098286.html#a4098286

Ciao, Wolfgang

CSW service: http://catalog.usgin.org/geonetwork/geonetwork/srv/en/csw
See the<dc:title>Colored Shaded Relief Map of the Great
Basin</dc:title> record returned in the response of:

<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
xmlns:gmd="http://www.isotc211.org/2005/gmd&quot; service="CSW"
version="2.0.2" resultType="results">
<csw:Query typeNames="csw:Record">
<csw:ElementSetName>full</csw:ElementSetName>
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc&quot;
xmlns:gml="http://www.opengis.net/gml&quot;&gt;
<PropertyIsLike wildCard="%" singleChar="_" escapeChar="\">
<PropertyName>AnyText</PropertyName>
<Literal>%relief%</Literal>
</PropertyIsLike>
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>

--
_______________________________
Wolfgang Grunberg
Arizona Geological Survey
wgrunberg@anonymised.com
520-770-3500

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
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