I've been attempting ingest into Fedora 3.2.1 using the fedora-ingest.sh 
script. I have corrected several errors in my manifest file in pursuit of the 
"Content is not allowed in prolog." error, but I cannot see why it does not 
work. Does anyone have any pointers on this?

****

$ fedora-ingest.sh f sid/image.sid info:fedora/fedora-system:FOXML-1.1 
fedora.<...>:8080 fedora_user **** http "Ingest Test"
Error  : fedora.server.errors.ObjectValidityException: 
org.xml.sax.SAXParseException: Content is not allowed in prolog.
(Last attempted file was sid/image.sid)

<?xml version="1.0" encoding="UTF-8"?>
<foxml:digitalObject xmlns:foxml="info:fedora/fedora-system:def/foxml#" 
VERSION="1.1" PID="test:1000" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="info:fedora/fedora-system:def/foxml# 
  http://fedora-commons.org/definitions/1/0/foxml1-1.xsd 
  http://www.openarchives.org/OAI/2.0/oai_dc/ 
http://www.openarchives.org/OAI/2.0/oai_dc.xsd";>
     <foxml:objectProperties>
         <foxml:property NAME="info:fedora/fedora-system:def/model#state" 
VALUE="A"/>
         <foxml:property NAME="info:fedora/fedora-system:def/model#label" 
VALUE="DRGs from Archivas"/>
     </foxml:objectProperties>
     <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
          <foxml:datastreamVersion 
FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc.xsd"; 
             ID="DC.0" MIMETYPE="text/xml" 
             LABEL="Dublin Core Record for this object">
              <foxml:xmlContent>
                  <oai_dc:dc 
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/";>
                      <oai_dc:title>30x60_minute_series_albers_nad83_mosaic - 
f_ne0101</oai_dc:title>
                      <oai_dc:creator>CASIL</oai_dc:creator>
                      <oai_dc:subject>Map</oai_dc:subject>
                      <oai_dc:description>Initial effort to ingest NGDA data 
into Archivas. These are DRG's from CASIL.</oai_dc:description>
                      <oai_dc:publisher>The CASIL People</oai_dc:publisher>
                      <oai_dc:identifier>test:1000</oai_dc:identifier>
                  </oai_dc:dc>
              </foxml:xmlContent>
           </foxml:datastreamVersion>
      </foxml:datastream>
      <foxml:datastream CONTROL_GROUP="M" ID="IMAGE" STATE="A" 
VERSIONABLE="true">
           <foxml:datastreamVersion ID="IMAGE.MRSID" 
MIMETYPE="image/x-mrsid-image" LABEL="Contents not available.">
              <foxml:contentLocation 
REF="file:///ngda/archivas/<...>/f_ne0101/data/sid/image.sid" TYPE="URL"/>
           </foxml:datastreamVersion>
      </foxml:datastream>
</foxml:digitalObject>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to