.NXML file size not updated on regeneration
At the xml-triage stage, the XML may be edited and the NXML regenerated with a change in file size. We think this file size is not being updated in the database on regeneration.
This causes an error when using the NCBI API to create the PDF preview...
"details": "jats2pdf-back-office Exception:\n item url: 'https://beta.plus.europepmc.org/download/27eb7e39-da10-4360-94c9-387bc38af4d6.nxml'\n item size mismatch.\n content-length : '270457'\n declared item size: '271151'"
... because the declared file size is for the original NXML, and doesn't match the newly regenerated NXML. A process is needed to update the NXML file size in the database.