- From: Alapan <alapan@gmail.com>
- Date: Wed, 11 Apr 2012 19:39:16 +0200
- To: "Myles, Stuart" <SMyles@ap.org>
- Cc: "ODRL Community Group WG (public-odrl-contrib@w3.org)" <public-odrl-contrib@w3.org>
- Message-ID: <CACR6ppcrmzO3u=V2SWLhKVDVrB=DWtfcEfj78PD3aEp4ZkFozA@mail.gmail.com>
This looks right to me! Blog: http://idiots-mind.blogspot.com/ ------------------------------------------------------------- Life's a gamble - take a chance On 11 April 2012 19:38, Myles, Stuart <SMyles@ap.org> wrote: > I would like to include an ODRL policy that restricts a list of > organizations from distributing a piece of content that they receive. So, I > am creating a policy that contains a prohibition for a piece of content, > with an action of distribute and two constraints one for each organization. > This is syntactically valid (i.e. it validates against the current ODRL > XSD). But is this the right way to do it? It is certainly compact…**** > > ** ** > > <?xml version="1.0" encoding="UTF-8"?> > <o:policy > xmlns:o="http://w3.org/ns/odrl/2/" > type ="o:set" > inheritAllowed ="true" > uid = "{UID}"> > <o:prohibition> > <o:asset uid="{URN FOR PIECE OF CONTENT}" relation=" > http://w3.org/ns/odrl/vocab#target" /> > <o:action name="http://w3.org/ns/odrl/vocab#distribute" /> > <o:constraint name="http://w3.org/ns/odrl/vocab#recipient"operator > ="http://w3.org/ns/odrl/vocab#eq" rightOperand= "{UID FOR ORGANIZATION A}" > /> > <o:constraint name="http://w3.org/ns/odrl/vocab#recipient"operator > ="http://w3.org/ns/odrl/vocab#eq" rightOperand= "{UID FOR ORGANIZATION B}" > /> > </o:prohibition> > </o:policy> > > Thanks, as usual, for your help.**** > > > Regards, > > Stuart**** > > ** ** > > The information contained in this communication is intended for the use > of the designated recipients named above. If the reader of this > communication is not the intended recipient, you are hereby notified > that you have received this communication in error, and that any review, > dissemination, distribution or copying of this communication is strictly > prohibited. If you have received this communication in error, please > notify The Associated Press immediately by telephone at +1-212-621-1898 > and delete this email. Thank you. > [IP_US_DISC] > > msk dccc60c6d2c3a6438f0cf467d9a4938 >
Received on Wednesday, 11 April 2012 17:39:46 UTC