Hi,

I'm ingesting a FoxML document with 4 datastreams DC, RELS-EXT, some image data 
and some JHOVE metadata about the image.
The FoxML (simplified) looks like  (see below)

Ingesting (the complete) xml doesn't give me any problems, the file is valid 
and welformed. (the example is only welformed)
But, when asking for the datastream JHOVE 
(http://localhost:9090/fedora/objects/unicum.uva.images%3AUBAUM000381A-B_001/datastreams/JHOVE/content)
 I get an error. The xsi prefix (on the mix element) isn't declared inside the 
jhove datastream but only in the digitalObject element.
How to avoid this?

Regards
Hans Scholte


<?xml version="1.0" encoding="UTF-8"?>
<foxml:digitalObject xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:foxml="info:fedora/fedora-system:def/foxml#" 
xmlns:jhove="http://hul.harvard.edu/ois/xml/ns/jhove"; VERSION="1.1" 
PID="unicum.uva.images:UBAUM000381A-B_001" 
xsi:schemaLocation="info:fedora/fedora-system:def/foxml# 
http://www.fedora.info/definitions/1/0/foxml1-1.xsd 
http://hul.harvard.edu/ois/xml/ns/jhove 
http://hul.harvard.edu/ois/xml/xsd/jhove/1.5/jhove.xsd";>
<foxml:objectProperties>
  <foxml:property NAME="info:fedora/fedora-system:def/model#state" 
VALUE="Active"/>
  <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Image 
object"/>
  <foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" 
VALUE="fedoraAdmin"/>
</foxml:objectProperties>
<foxml:datastream CONTROL_GROUP="X" ID="DC" STATE="A" VERSIONABLE="true">
  <foxml:datastreamVersion ID="DC.0" 
FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"; LABEL="Dublin Core" 
MIMETYPE="text/xml">
   <foxml:xmlContent>
    <oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/";>
     <dc:identifier>unicum.uva.images:UBAUM000381A-B_001</dc:identifier>
     <dc:title>Eeden jr., Frederik Willem van, 1860-1932</dc:title>
    </oai_dc:dc>
   </foxml:xmlContent>
  </foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="URL_IMAGE" STATE="A" CONTROL_GROUP="E" VERSIONABLE="true">
  <foxml:datastreamVersion ID="URL_IMAGE.0" LABEL="Image" MIMETYPE="image/jpeg">
   <foxml:contentLocation TYPE="URL" 
REF="http://angel.ic.uva.nl:8502/unicum/amsterdam/testcollectie/unimus37/UBAUM000381A-B_001.jpg"/>
  </foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="JHOVE" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
  <foxml:datastreamVersion ID="JHOVE.0" LABEL="Image metadata by JHOVE" 
MIMETYPE="text/xml">
   <foxml:xmlContent>
    <jhove:jhove name="Jhove" release="1.1" date="2008-02-21">
     <date 
xmlns="http://hul.harvard.edu/ois/xml/ns/jhove";>2011-05-04T13:47:58+02:00</date>
     <repInfo xmlns="http://hul.harvard.edu/ois/xml/ns/jhove"; 
uri="http://angel.ic.uva.nl:8502/unicum/amsterdam/testcollectie/unimus37/UBAUM000381A-B_001.jpg";>
      <mix:mix xmlns:mix="http://www.loc.gov/mix/v10"; 
xsi:schemaLocation="http://www.loc.gov/mix/v10 
http://www.loc.gov/standards/mix/mix10/mix10.xsd"/>
     </repInfo>
    </jhove:jhove>
   </foxml:xmlContent>
  </foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
  <foxml:datastreamVersion ID="RELS-EXT.0" LABEL="relations" 
MIMETYPE="text/xml">
   <foxml:xmlContent>
    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
xmlns:fedora-model="info:fedora/fedora-system:def/model#">
     <rdf:Description 
rdf:about="info:fedora/unicum.uva.images:UBAUM000381A-B_001">
      <fedora-model:hasModel rdf:resource="info:fedora/demo:UVA_STD_IMAGE"/>
     </rdf:Description>
    </rdf:RDF>
   </foxml:xmlContent>
  </foxml:datastreamVersion>
</foxml:datastream>
</foxml:digitalObject>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to