[Odrl-version2] A naive question...
Francis Cave
francis at franciscave.com
Sat Nov 20 01:02:23 EST 2010
If a Policy contains one Permission, and this Permission has a Constraint,
how is the Policy interpreted when the Constraint condition is not
satisfied? Is the Policy always interpreted as Prohibition in that case?
Does it depend upon the value of the 'conflict' attribute?
Here's a concrete example:
<o:policy
xmlns:o="http://odrl.net/2.0"
xmlns:a="http://assigner.com/identifiers"
xmlns:xsdt="http://www.w3.org/2001/XMLSchema-datatypes#dateTime"
type="o:set"
inheritAllowed="true">
<o:permission>
<o:asset uid="myAssetURI"/>
<o:action name="o:distribute"/>
<o:constraint
name="o:dateTime"
operator="o:gteq"
rightOperand="xsdt:2010-11-19T00:00:00Z"/>
<o:constraint
name="o:dateTime"
operator="o:lteq"
rightOperand="xsdt:2010-11-20T23:59:59Z"/>
</o:permission>
</o:policy>
The policy is trying to express that the asset may be distributed between
midnight on 2010-11-19 and one minute to midnight on 2010-11-20, and not
otherwise. The implication of the expression is that distribution is
prohibited at other times, but this is not made explicit above. Or is it? My
understanding of Constraints is that they limit the applicability of a
Permission or Prohibition, but that is not the same as saying that they
should have the opposite interpretation when the Constraint is not
satisfied.
I am sure that this has an "obvious" answer. But maybe this needs to be
spelt out somewhere?
Thanks.
Francis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://odrl.net/pipermail/odrl-version2_odrl.net/attachments/20101119/1db2b7c8/attachment.html>
More information about the Odrl-version2
mailing list