Field validation in metadata (using & makes exported XML files invalid)

Using “&” in Affiliation and Abstract fields in metadata causes invalid XML files for PubMed. May there be a validation for all the metadata fields that should warn users not to use this character?

  • Application Version - e.g., OJS 3.1.2
  • Steps you took leading up to the issue: PubMed Export Plugin, export articles
  • What you tried to resolve the issue: Manually correct XML files after export

Thanks,
Faruk

Hi @BJBMS,

Thanks for reporting – I’ve filed this at & characters in PubMed exports are not escaped properly · Issue #5486 · pkp/pkp-lib · GitHub. Please watch there for a patch to correct the issue, which will be resolved starting with our next release.

Regards,
Alec Smecher
Public Knowledge Project Team