Hi Everyone,
I am looking for a way for an object in Fedora to fail the api-m validate()
call if specific datastreams are not attached to an object (and ideally of a
minimum size).
So far, in the ds-composite-model I have discovered a way to ensure that the
MIMEtype is explicitly set (through the <form> element), but if the datastream
is missing, it appears to ignore the requirements and pass the object (even by
setting required="true" explicitly).
Am I incorrect in assuming this is possible? My alternative solution is a
direct ITQL query, but I believe that leaving the validation to Fedora itself
would be much more elegant.
JS
----------------------
Jacob Sanford
Senior Developer
Harriet Irving Library
University of New Brunswick
Phone: (506)458-7047
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users