prepare-sip sometimes creates bad entries in MANIFEST.xml. if prepare-sip -f is re-run, the correct MANIFEST.xml is created.
example bad entry:
<object uri="info:doi/10.1371/journal.pone.0004939.e077">
<representation name=".00" entry="pone.0004939.e077.tif" />
<representation name="PNG" entry="pone.0004939.e077.PNG" />
</object>
example error we get in ambra.log when trying to ingest an article with bad MANIFEST:
Caused by: org.topazproject.otm.OtmException: Write to Fedora failed
at org.topazproject.fedora.otm.FedoraConnection.ingest(FedoraConnection.java:209)
at org.topazproject.fedora.otm.FedoraConnection.doPrepare(FedoraConnection.java:463)
... 170 more
Caused by: fedora.server.errors.ObjectValidityException: DOValidatorXMLSchema returned validation exception.
The underlying exception was a org.xml.sax.SAXException.
The message was "URI=null Line=1: cvc-datatype-valid.1.2.1: '.00' is not a valid value for 'NCName'."