Ticket #843 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

GS3 OAImappings structure needs to be more XML

Reported by: ak19 Owned by: nobody
Priority: moderate Milestone:
Component: Greenstone3 Runtime Severity: enhancement
Keywords: Cc:

Description

See web\WEB-INF\classes\OAIConfig.xml and gs2\collect\modelcol\etc\collectionConfig.xml

At present it looks like:

<mapping>dc:title,Title</mapping>

for each mapping to dc:Title.

Want XML structure, so that multiple mappings can be specified for the same dc:Title. It can then look like:

<mapping type="dc:title">

<metadata name="Title"/> <metadata name="dc.Title"/>

</mapping>

The above will map both ex.Title and dc.Title to oa_dc's dc:title

Change History

Changed 5 years ago by ak19

The above lost formatting. Again:

<mapping type="dc:title">

<metadata name="Title"/>

<metadata name="dc.Title"/>

</mapping>

Changed 3 years ago by kjdon

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

This has been done. Format is now:

<elementList>
<element name="dc:title"><mapping select="allvalues|firstvalue|firstvalidmetadata"
                                  elements="comma-separated-list-of-gs-metadata"/>
</element>
</elementList>
Note: See TracTickets for help on using tickets.