Hi Your syntax is off on a number of points, which might explain your problems.
<myNS:isNewVersionOf > xmlns="info:fedora/fedora-system:def/relations-external#" > rdf:resource="exemple:A">2</cc:isNewVersionOf> What are the xmlns doing there? You start tag is with myNS: and the end tag is with cc: That is invalid xml. No wonder the fedora admin chokes. A relation is either to an object, and is then of the form <myNS:isNewVersionOf rdf:resource="info:fedora/exemple:A"/> or a literal <myNS:versionNumber>2</myNs:versionNumber> Aside from that: Why not just have have chain of relations. B isNewVersionOf A C isNewVersionOf B And possibly C isNewVersionOf A I do not see why you need to define the NumVersion. If you really need it, why not make it a literal, as explained above? Btw, you have to use info:fedora/exemple:A instead if exemple:A in the relations. Otherwise they will not be correctly picked up by the resource index, and if you are doing any work with the relations, you will need the resource index. Regards On Wed, 2009-06-10 at 14:49 +0200, Pierre-Yves JALLUD wrote: > 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
