Ticket #809 (new defect)
Opened 15 months ago
Import/harvest metadata with default namespace not defined in metadata schema fails even if metadata is valid
| Reported by: | josegar74 | Owned by: | geonetwork-devel@… |
|---|---|---|---|
| Priority: | major | Milestone: | v2.6.5 |
| Component: | General | Version: | v2.6.4 |
| Keywords: | Cc: |
Description
Trying to import the attached metadata fails with this message:
IllegalArgumentException : No prefix - cannot find a namespace to set for element gmd:MD_Metadata - namespace URI http://www.isotc211.org/2005/gmd
The problem is in DataManager.setNamespacePrefixUsingSchemas
Attached a patch to review.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

