Ticket #1143 (new defect)

Opened 3 years ago

Last modified 3 years ago

prepare-sip creates a bad MANIFEST.xml

Reported by: russ Assigned to: npeterson
Priority: medium Milestone:
Component: ambra Version: 0.9.1_rc1
Keywords: prepare-sip Cc:
Blocking: Blocked By:

Description

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'."

Dependency Graph

Change History

03/13/09 10:15:17 changed by rich

  • owner changed from rich to npeterson.
  • milestone deleted.

Too late to add new defects to 0.9.2. Removing from the milestone.