Opened 12 years ago

Closed 9 years ago

#843 closed defect (fixed)

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 (2)

comment:1 by ak19, 12 years ago

The above lost formatting. Again:

<mapping type="dc:title">

<metadata name="Title"/>

<metadata name="dc.Title"/>

</mapping>

comment:2 by kjdon, 9 years ago

Resolution: fixed
Status: newclosed

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.