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

Reply via email to