Similar to the image translations, the generation of the xref xml blob needs to be moved outside Ambra (maybe as part of the prepate sip series of steps). Second, ambra should treat this just as another blob to store and a separate tool/utility should actually submit the link to this blob to xref. This has the following advantages:
- Remove PLoS specific work flow from Ambra
- Keep a permanent copy of the xref blob in the store
- Errors related to submission (lack of connection etc.) can be dealt with outside
Of course, the complication is what the external submission tool would look like etc.