Either way in your example the RELS-EXT contains illegal RDF/XML. It seems that you want to say two things in one statement but in rdf you need a separate statement for each thing you want to say. So you need something like:
<myNS:isNewVersionOf rdf:resource="info:fedora/exemple:A"/> <myNS:version>2</myNS:version> assuming this is all within the ref:RDF/rdf:Description element with the proper namespace declarations. Here 2 is the "own" version number, not that of the related object (it is not clear from your example if this is what you mean). Success, Egbert Gramsbergen ____________________________ Egbert F. Gramsbergen TU Delft (Library) - Digital Product Development [email protected] +31(0) 15 27 82922 ________________________________ -----Oorspronkelijk bericht----- Van: Pierre-Yves JALLUD [mailto:[email protected]] Verzonden: woensdag 10 juni 2009 14:50 Aan: fedora-commons-developers Onderwerp: [Fedora-commons-developers] Versionning managed with RDF relations Hi all, I'm trying to manage relations between my objects in fedora-commons and I'm using the RELS-EXT datastream. My problem is that the description of the relations are very ... limited. Here is my case study: I have an object A. B is the new version of A. C is the older version of the two objects A and B. I want that all those relations appear on each objects: - A has two newer versions B and C - B has an older version (A) and a new version (C) - C has two older versions (A and B) I would like to use RELS-EXT with a relationship like: <myNS:isNewVersionOf myNS:NumVersion="2" xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="exemple:A"/> or <myNS:isNewVersionOf xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="exemple:A">2</cc:isNewVersionOf> But "Fedora Administrator" doesn't validate this syntax. NOTA: I can't use the classic versioning of datastreams because the PID of the three objects are different. Has somebody a solution? Pierre-Yves ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
