Here is the wiki page (as of 10/16/10) where the information for
adding XSD schemas to your content models:

https://wiki.duraspace.org/display/FCREPO/DSCOMPOSITE-MODEL+and+Schemas

Best,

Eugene W.

----

Steve and Asger - thanks very much for the tips. I haven't yet
downloaded Fedora 3.4, but will certainly do that right away and have
a look at these enhancements.

Thanks again,
Regards,
Nicholas W.


On Thu, Aug 26, 2010 at 12:53 PM, Asger Askov Blekinge
<a...@statsbiblioteket.dk> wrote:
> And with at simple decorator, you could add the automatic check.
> Something like
>
> 1. modifyDatastream
> 2. Validate object
> 3. If validate failed, undo modifyDatastream
>
> Regards
>
> On Thu, 2010-08-26 at 10:53 +0200, Steve Bayliss wrote:
>> 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:4...@log1.net]
>> > Sent: 26 August 2010 09:40
>> > To: Fedora-commons-users@lists.sourceforge.net
>> > 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
>> > Fedora-commons-users@lists.sourceforge.net
>> > 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
>> Fedora-commons-users@lists.sourceforge.net
>> 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
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to