Ah, I see, though I think it would be handy if you could add a single dc property instead of reading the whole DC datastream, inserting the new property into it and resubmittting the modified datastream. I understand this is not the primary use case for the addRelationship method, but it could be a secondary one.
Anyway, thanks for clearing this up. Egbert ________________________________________ Van: Stephen Bayliss [stephen.bayl...@acuityunlimited.net] Verzonden: woensdag 7 september 2011 16:41 Aan: fedora-commons-developers@lists.sourceforge.net Onderwerp: Re: [fcrepo-dev] API-M addRelationship bug for predicate in dcnamespace? Hi Egbert That is by design - the relationships methods are for manipulating relationships expressed in RELS-EXT and RELS-INT. The other triples generated (which include object-datastream relationships, object and datastream properties, and of course DC) cannot be manipulated with the relationships methods. Steve > -----Original Message----- > From: Egbert Gramsbergen [mailto:e.f.gramsber...@tudelft.nl] > Sent: 07 September 2011 12:08 > To: 'fedora-commons-developers@lists.sourceforge.net' > Subject: [fcrepo-dev] API-M addRelationship bug for predicate > in dcnamespace? > > > Hello, > > The addRelationship method seems to work fine for any > relation that ends up in the RELS-INT or RELS-EXT > datastreams, including those with typed or untyped literal > objects, but any relation destined for DC (i.e. predicate in > namespace "http://purl.org/dc/elements/1.1/") raises HTTP > error 500. I am using Fedora 3.4. Example url: > <HOST>/fedora/objects/uuid:391306df-533d-44b2-a701-1d21738ca06 > 6/relationships/new?subject=info%3Afedora%2Fuuid%3A391306df-53 > 3d-44b2-a701-1d21738ca066&predicate=http%3A%2F%2Fpurl.org%2Fdc > %2Felements%2F1.1%2Fcreator&object=some_name&isLiteral=true > > Is this a bug or am I doing something wrong? > > Egbert Gramsbergen > ------ > E.F. Gramsbergen, TU Delft Library/Innovation > > -------------------------------------------------------------- > ---------------- > Using storage to extend the benefits of virtualization and > iSCSI Virtualization increases hardware utilization and > delivers a new level of agility. Learn what those decisions > are and how to modernize your storage > and backup environments for virtualization. > http://www.accelacomm.com/jaw/sfnl/114/51434361/ > _______________________________________________ > Fedora-commons-developers mailing list > Fedora-commons-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers > ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Fedora-commons-developers mailing list Fedora-commons-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Fedora-commons-developers mailing list Fedora-commons-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers