Hi I'm working on a mass ingest for Fedora. I write the foxml for each object I want to ingest, then use the fedora client to perform the actual ingest, allowing the client to allocate the correct pid in each case. So far so good. The problem comes when I try to write the RDF (RELS_EXT) section to specify that the item is a member of a specific collection. Without a PID for the "about" parameter I get a SAXException. But as the object is not yet ingested it does not yet have a pid... Since this situation IS allowed for in foxML - you just omit the PID from the relevant foXML elements - I assume there must also be a way to deal with it in the RDF section. Can anyone help?
Heres the relevant section from a sample foxml file I have created for ingest. york:1 is the PID of the previously created collection object. <foxml:datastream ID="RELS-EXT" CONTROL_GROUP="X"> <foxml:datastreamVersion ID="RELS-EXT.0" MIMETYPE="text/xml" LABEL="Fedora Object-to-Object Relationship Metadata"> <foxml:xmlContent> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:fedora="info:fedora/fedora-system:def/relations-external#" xmlns:myns="http://www.nsdl.org/ontologies/relationships#" xmlns:dc="http://purl.org/dcs/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc"> <rdf:Description rdf:about="> <rel:isMemberOf rdf:resource="info:fedora\york:1" xmlns:rel="info:fedora/fedora-system:def/relations-external#"/> </rdf:Description> </rdf:RDF> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> Thanks Peri Stracchino Digital Library Team University of York ext 4082 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
