Opened 13 years ago

Closed 13 years ago

#481 closed enhancement (fixed)

Schema detection / add "or" support for needle values

Reported by: fxp Owned by: Fxp
Priority: major Milestone: v2.7.0
Component: General Version: v2.6.3
Keywords: Cc:

Description

The idea is to add support for multiple needle values checks during schema detection. The issue we currently have is on some ISO19139 records using "ISO 19115" for metadataStandardName (probably record migrated from iso19115 schema ? or produce in other catalogues ?). Some profiles also use different definition and want to be recognize as ISO19139 record. Example Dutch profil is using:

  <gmd:metadataStandardName>
      <gco:CharacterString>ISO 19115</gco:CharacterString>
  </gmd:metadataStandardName>
  <gmd:metadataStandardVersion>
      <gco:CharacterString>Nederlandse metadata profiel op ISO 19115 voor geografie 1.2</gco:CharacterString>
  </gmd:metadataStandardVersion>

... but should be manage as ISO19139 in GeoNetwork (at least until a custom profile exists).

Proposal : add a "|" separator to allow multiple value to be defined for an element:

<gmd:metadataStandardName>
  <gco:CharacterString>ISO 19115:2003/19139|ISO 19115</gco:CharacterString>
</gmd:metadataStandardName>

Attachments (1)

schema-detection-add-or-for-needlevalues.patch (6.1 KB ) - added by fxp 13 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 by fxp, 13 years ago

Resolution: fixed
Status: newclosed

Committed revision 7505.

Note: See TracTickets for help on using tickets.