Opened 13 years ago

Closed 13 years ago

#546 closed defect (fixed)

CSW Harvester doesn't accept ISO records that do not have a gmd: prefix

Reported by: simonp Owned by: geonetwork-devel@…
Priority: major Milestone:
Component: General Version:
Keywords: Cc:

Description

Code in org/fao/geonet/kernel/harvest/harvester/csw/Harvester.java (getRecordInfo method) does its own schema detection plus UUID and date of modification extraction. This code uses XPaths to extract UUID and date of modifications. The XPaths assume gmd: prefix which doesn't and need not exist on ISO metadata records (particularly those produced by the ESRI ArcCatalog ISO19139 export).

Fix is in svn rev 7940 and 7941 for ANZMEST sandbox - needs to be applied to trunk after review.

Change History (2)

comment:1 by fxp, 13 years ago

Quick fix applied in r8142 but maybe yours is better. I was facing the issue with ESRI CSW records too.

comment:2 by simonp, 13 years ago

Resolution: fixed
Status: newclosed

Using schema detection in svn rev 8223

Note: See TracTickets for help on using tickets.