Skip to content

Crossref XML export fails with an ORCID Sandbox identifier in OMP 3.5 #1

Description

@FlpTiffany

Hi,

while testing the plugin with OMP 3.5 and the ORCID Public API Sandbox, I found an issue with Crossref XML export.

Environment

  • OMP 3.5.0-5
  • OJSBR Crossref plugin for OMP 3.5
  • ORCID integration configured with the Public Sandbox API
  • Crossref XML schema 5.3.1

Steps to reproduce

  1. Configure ORCID in OMP using the ORCID Public Sandbox API.
  2. Authenticate an ORCID Sandbox account for a user.
  3. Submit and publish a monograph with this user as a contributor.
  4. Try to export the monograph from:
    Settings → Distribution → DOIs → Export DOIs

Result

The export fails with:

An XML validation error occurred and the XML could not be exported.

As a control test, I removed the ORCID identifier from the contributor and exported exactly the same publication again. The XML export then succeeded.

It appears that OMP stores the authenticated sandbox identifier as:
https://sandbox.orcid.org/0000-....
and the Crossref plugin exports the value directly into the element.

However, the Crossref 5.3.1 schema accepts ORCID values matching:
https://orcid.org/0000-....
and therefore the sandbox URI fails schema validation.

This appears to affect testing rather than production ORCID identifiers, but it makes it difficult to test the full "ORCID Sandbox → OMP → Crossref XML" workflow.

Would it be possible either to handle Sandbox ORCID identifiers during Crossref export, or document this limitation for users testing the plugin?

I would be happy to provide additional test information if useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions