Skip to content

Crossref deposits fail when surname is missing #7528

@AhemNason

Description

@AhemNason

Describe the problem you would like to solve
There are three issues with Crossref deposits that require some reconfiguration of how we map name metadata to their schema.

  1. Crossref requires a surname but this is optional in OJS.
  2. The Crossref deposit plugin may write an empty <surname> tag to the export XML, which will lead to a validation error on Crossref's end.
  3. We should add support for preferred name via the <alt-name> element.

Describe the solution you'd like

  1. we could either swap which field is required on our end, or...when the only field filled out is "given name", just write that to the surname element.
  2. remove the empty tags from the XML and deposit them manually.
  3. The following is some example XML:
                    <person_name contributor_role="author" sequence="first" language="en">
                        <given_name>Andrew</given_name>
                        <surname>Kerr</surname>
                        <alt-name>Andy Kerr</alt-name>
                    </person_name>

Who is asking for this feature?
Crossref asked specifically about the surname requirement. The other two have come up on the hosting side a number of times.

Metadata

Metadata

Labels

Bug:1:MinorA bug found in uncommon paths, with low consequences, limited users or has an easy workaroundEnhancement:1:MinorA new feature or improvement that can be implemented in less than 3 days.Try MeThis issue might be good for a new contributor. Can you help us?

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions