geo-data/medin-rdbms-tool — Issue #1: Multiple gmd:CI_OnlineResource elements should be nested individual gmd:transferOptions elements
Author: homme
Created: 2011-12-06 12:01:07+00:00
State: open

From an email by Kay Thorne on Fri, 2 Dec 2011 17:34:40 +0000:

Having finally completed 'correct' mappings from the BODC Cruise metadata schema to the MEDIN intermediate schema I am hoping to produce ~900 new metadata records. These cruise metadata records have two entries for the resource locator field, which is acceptable as the MEDIN standard states: 'Element 5 - Resource locator (C) Conditional element (must be completed if known). Multiple resource locators are allowed.'

Two achieve this the user managed table 'resloc_res' has been populated to contain two (or more) citationid/metadataid pairs. The resulting XML that is generated by the tool is failing validation; so we have a problem. What is being produced is:

```xml

https://www.bodc.ac.uk/data/online_delivery/nodb/search/

BODC National Oceanographic Database (NODB) data download

This provides an online search and auto-download for all data held in the BODC National Oceanographic Database.

download

https://www.bodc.ac.uk/data/documents/cruise/3368/

BODC Cruise Metadata Report for RRS Challenger Cruise CH57

This report collates information from the BODC cruise inventory and oceanographic databases. It presents cruise metadata and a summary of BODC data holdings for the cruise. It also links to external references, for example cruise reports.

information

```

However, elements in yellow need to be in their on ` .....` tag

For example:

```xml

https://www.bodc.ac.uk/data/online_delivery/nodb/search/

BODC National Oceanographic Database (NODB) data download

This provides an online search and auto-download for all data held in the BODC National Oceanographic Database.

download

https://www.bodc.ac.uk/data/documents/cruise/3368/

BODC Cruise Metadata Report for RRS Challenger Cruise CH57

This report collates information from the BODC cruise inventory and oceanographic databases. It presents cruise metadata and a summary of BODC data holdings for the cruise. It also links to external references, for example cruise reports.

information

```

Please can you remedy this as soon as possible.