Does Fedora 3.x (any version, present or future) do any CModel 
validation when ingesting/updating an object via the REST API?  From 
what I'm seeing, it doesn't, but I'm wondering if this is a bug, or 
intentional.  Some browsing through the FCREPO issues and comments 
indicates that CModel referential integrity checks do not occur at 
ingest or update time, and that this may be deliberate ( 
https://jira.duraspace.org/browse/FCREPO-428 ).

Here's what we are doing with the REST API:

1.  Create a stub object
2.  Add some relations to it (CModel relations)
3.  Then add the datastreams

If any kind of CModel conformance checking were being done, I'd expect 
Fedora to throw an error as soon as the CModel relation was added, 
warning me that the object is missing a datastream defined in the 
CModel's DS-COMPOSITE-MODEL datastream.  No such warning appears.

Do the Enhanced Content Models, as distributed in Fedora 3.4RC1, do any 
kind of validation checks prior to committing an ingest or update?

thanks,

-- Scott

-- 
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
[email protected]

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to