Ticket #546 (closed defect: fixed)

Opened 23 months ago

Last modified 20 months ago

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

Changed 21 months ago by fxp

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

Changed 20 months ago by simonp

  • status changed from new to closed
  • resolution set to fixed

Using schema detection in svn rev 8223

Note: See TracTickets for help on using tickets.