Hi, Quit often I find that the oaiprovider isn't giving me the latest datastream when harvesting.
given the following object: (i removed some data for brevity, but didn't succeed :-{ <?xml version="1.0" encoding="UTF-8"?> <foxml:digitalObject VERSION="1.1" PID="unicum:umg.items.007686bb349baccdd32ad24760b433d6" xmlns:foxml="info:fedora/fedora-system:def/foxml#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.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="CDWALite object"/> <foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE=""/> <foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2012-05-03T07:05:54.656Z"/> <foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2012-09-07T13:16:11.133Z"/> </foxml:objectProperties> <foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false"> <foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this object" CREATED="2012-05-03T07:05:54.656Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit"> <foxml:xmlContent> <audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#"> <audit:record ID="AUDREC1"> <audit:process type="Fedora API-M"/> <audit:action>ingest</audit:action> <audit:componentID/> <audit:responsibility>fedoraAdmin</audit:responsibility> <audit:date>2012-05-03T07:05:54.656Z</audit:date> <audit:justification>Ingested from local file /l1/dev/hans/unicum/data/Groningen/output/LaatsteDump.FoxML/umg.007686bb349baccdd32ad24760b433d6.FoxML.xml</audit:justification> </audit:record> <audit:record ID="AUDREC2"> <audit:process type="Fedora API-M"/> <audit:action>modifyDatastreamByValue</audit:action> <audit:componentID>CDWALite</audit:componentID> <audit:responsibility>fedoraAdmin</audit:responsibility> <audit:date>2012-09-07T13:16:10.843Z</audit:date> <audit:justification>Modified, renewed</audit:justification> </audit:record> <audit:record ID="AUDREC3"> <audit:process type="Fedora API-M"/> <audit:action>modifyDatastreamByValue</audit:action> <audit:componentID>DC</audit:componentID> <audit:responsibility>fedoraAdmin</audit:responsibility> <audit:date>2012-09-07T13:16:10.922Z</audit:date> <audit:justification>Modified, renewed</audit:justification> </audit:record> </audit:auditTrail> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true"> <foxml:datastreamVersion ID="DC.0" LABEL="Dublin Core" CREATED="2012-05-03T07:05:54.666Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="1010"> <foxml:xmlContent> <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> <dc:title>staalgravure</dc:title> </oai_dc:dc> </foxml:xmlContent> </foxml:datastreamVersion> <foxml:datastreamVersion ID="DC.1" LABEL="Dublin Core" CREATED="2012-09-07T13:16:10.922Z" MIMETYPE="text/xml;charset='utf8'" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="844"> <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:title>staalgravure</dc:title> </oai_dc:dc> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> <foxml:datastream ID="CDWALite" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true"> <foxml:datastreamVersion ID="CDWALite.0" LABEL="CDWALite" CREATED="2012-05-03T07:05:54.666Z" MIMETYPE="text/xml" SIZE="4606"> <foxml:xmlContent> <cdwa:cdwalite xmlns:cdwa="http://www.getty.edu/CDWA/CDWALite"> <cdwa:resourceWrap> <cdwa:resourceSet> <cdwa:resourceID>https://repository.uba.uva.nl:8443/fedora/objects/unicum:umg.images.4dcca8abae045639c8430b74525a2689/datastreams/IMAGE/content</cdwa:resourceID> </cdwa:resourceSet> </cdwa:resourceWrap> </cdwa:cdwalite> </foxml:xmlContent> </foxml:datastreamVersion> <foxml:datastreamVersion ID="CDWALite.1" LABEL="CDWALite" CREATED="2012-09-07T13:16:10.843Z" MIMETYPE="text/xml;charset='utf8'" SIZE="4608"> <foxml:xmlContent> <cdwa:cdwalite xmlns:cdwa="http://www.getty.edu/CDWA/CDWALite" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.getty.edu/CDWA/CDWALite http://www.getty.edu/CDWA/CDWALite/CDWALite-xsd-public-v1-1.xsd"> <cdwa:resourceWrap> <cdwa:resourceSet> <cdwa:resourceID>https://repository.uba.uva.nl:8443/fedora/objects/unicum:umg.images.5754f9ba70cf3bdb8ec1f9a3d5b2530a/datastreams/IMAGE/content</cdwa:resourceID> </cdwa:resourceSet> </cdwa:resourceWrap> </cdwa:cdwalite> </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" CREATED="2012-05-03T07:05:54.667Z" MIMETYPE="text/xml" SIZE="722"> <foxml:xmlContent> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="info:fedora/unicum:umg.items.007686bb349baccdd32ad24760b433d6"> <hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/unicum:cdwalite.cmo"/> <hasPart xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum:umg.images.4dcca8abae045639c8430b74525a2689"/> <itemID xmlns="http://www.openarchives.org/OAI/2.0/" rdf:parseType="Literal">oai:unicum:umg.items.007686bb349baccdd32ad24760b433d6</itemID> <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum:setspec.umg"/> </rdf:Description> </rdf:RDF> </foxml:xmlContent> </foxml:datastreamVersion> <foxml:datastreamVersion ID="RELS-EXT.1" LABEL="Relations" CREATED="2012-09-07T13:16:10.266Z" MIMETYPE="text/xml" SIZE="578"> <foxml:xmlContent> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="info:fedora/unicum:umg.items.007686bb349baccdd32ad24760b433d6"> <hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/unicum:cdwalite.cmo"/> <itemID xmlns="http://www.openarchives.org/OAI/2.0/" rdf:parseType="Literal">oai:unicum:umg.items.007686bb349baccdd32ad24760b433d6</itemID> <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum:setspec.umg"/> </rdf:Description> </rdf:RDF> </foxml:xmlContent> </foxml:datastreamVersion> <foxml:datastreamVersion ID="RELS-EXT.2" LABEL="Relations" CREATED="2012-09-07T13:16:10.987Z" MIMETYPE="text/xml" SIZE="735"> <foxml:xmlContent> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="info:fedora/unicum:umg.items.007686bb349baccdd32ad24760b433d6"> <hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/unicum:cdwalite.cmo"/> <itemID xmlns="http://www.openarchives.org/OAI/2.0/" rdf:parseType="Literal">oai:unicum:umg.items.007686bb349baccdd32ad24760b433d6</itemID> <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum:setspec.umg"/> <hasPart xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum:umg.images.5754f9ba70cf3bdb8ec1f9a3d5b2530a"/> </rdf:Description> </rdf:RDF> </foxml:xmlContent> </foxml:datastreamVersion> <foxml:datastreamVersion ID="RELS-EXT.3" LABEL="Relations" CREATED="2012-09-07T13:16:11.133Z" MIMETYPE="text/xml" SIZE="821"> <foxml:xmlContent> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="info:fedora/unicum:umg.items.007686bb349baccdd32ad24760b433d6"> <hasModel xmlns="info:fedora/fedora-system:def/model#" rdf:resource="info:fedora/unicum:cdwalite.cmo"/> <itemID xmlns="http://www.openarchives.org/OAI/2.0/" rdf:parseType="Literal">oai:unicum:umg.items.007686bb349baccdd32ad24760b433d6</itemID> <isMemberOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum:setspec.umg"/> <hasPart xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/unicum:umg.images.5754f9ba70cf3bdb8ec1f9a3d5b2530a"/> <isMemberOfCollection xmlns="info:dpc/relations/">UMG07 - umg</isMemberOfCollection> </rdf:Description> </rdf:RDF> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> </foxml:digitalObject> When harvesting this record, (datastream CDWALITE) I would expect to get the datastream with id = CDWALite.1 but i'm getting CDWALite.0 see cdwa:resourceID in the cdwalite stream... harvest see: http://volcano.ic.uva.nl:8080/oaiprovider/?verb=GetRecord&metadataPrefix=cdwalite&identifier=oai:unicum:umg.items.007686bb349baccdd32ad24760b433d6 Anybody any idea? I'm running oaiprovider 1.2.1 Rgeards, Hans -- View this message in context: http://fedora-commons.1317035.n2.nabble.com/oaiprovider-not-getting-most-recent-datastream-tp7578357.html Sent from the Fedora Commons Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users