Hi Nicholas This isn't possible in Fedora 3.3, you would have to perform the validation yourself.
However you might be interested into the Enhanced Content Model features added to the 3.4 release - this allows you to specify a schema in the content model, and there is a new "validate" method to validate objects against their content model. https://wiki.duraspace.org/display/FCR30/REST+API#RESTAPI-Validate Regards Steve > -----Original Message----- > From: Nicholas W [mailto:[email protected]] > Sent: 26 August 2010 09:40 > To: [email protected] > Subject: [fcrepo-user] Enforcing Server Side Validation XML > in streamsagainst specific XSDs?? > > > Dear All, > In our project (currently using Fedora Commons 3.3), the XML in > different streams needs to be conformant to specific XSDs. Is there a > way of enforcing this on the server side, so that if an application > tried to injest, append or update a stream in a FoxML in the > repository through a web service call, that is not conformant to one > of a selection of XSDs, the action must fail? > > Thanks in advance for any pointers, > > Regards, > Nicholas W. > > -------------------------------------------------------------- > ---------------- > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of > netbook users > worldwide. Take advantage of special opportunities to > increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
