4Science / DSpace

This repository contains the 4Science optimized DSpace & DSpace-CRIS distribution.
https://wiki.lyrasis.org/display/DSPACECRIS/
BSD 3-Clause "New" or "Revised" License
42 stars 61 forks source link

Draft: relation inside metadata group in refer crosswalk #387

Open floriangantner opened 1 year ago

floriangantner commented 1 year ago

References

Description

extension of refercrosswalk to consider relation inside metadatagroup.

Instructions for Reviewers

Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.

List of changes in this PR:

Some example template considering both changes above configuration might be:

   <Authors>
        @group.dc-contributor-author.start@
            <Author>
                <DisplayName>@dc.contributor.author@</DisplayName>
                @relation.dc-contributor-author.start@
                    <Person id="@virtual.id@">
                        <PersonName>
                            <FamilyNames>@virtual.personName.lastName@</FamilyNames>
                            <FirstNames>@virtual.personName.firstName@</FirstNames>
                        </PersonName>
                        <ORCID>https://orcid.org/@person.identifier.orcid@</ORCID>
                </Person>
                @relation.dc-contributor-author.end@
                @if.not.nullorplaceholder.oairecerif-author-affiliation.start@
                    @relation.oairecerif-author-affiliation.start@
                        <Affiliation>
                            <OrgUnit id="@virtual.id@">
                            @if.metadata.dc-title.start@
                                <Name>@dc.title@</Name>
                            @if.metadata.dc-title.end@
                            @if.metadata.organization-identifier-ror.start@
                                <RORID>@organization.identiifer.ror@</RORID>
                            @if.metadata.organization-identifier-ror.end@
                            @if.metadata.organization-identifier-crossrefid.start@
                                <FundRefID>https://doi.org/10.13039/@organization.identifier.crossrefid@</FundRefID>
                            @if.metadata.organization-identifier-crossrefid.end@
                            </OrgUnit>
                        </Affiliation>
                    @relation.oairecerif-author-affiliation.end@
                @if.not.nullorplaceholder.oairecerif-author-affiliation.end@
            </Author>
        @group.dc-contributor-author.end@
    </Authors>

Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.

Checklist

This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

floriangantner commented 6 months ago

aligned to 2023.02.02 Release