[Odrl-version2] XML Encoding - early WD release

Myles, Stuart SMyles at ap.org
Fri Feb 26 05:35:19 EST 2010


Renato,

That XML makes sense to me.  I'm not suggesting a change in the ODRL
Core Model, however.  I'm suggesting that the XML below is a better XML
representation of the ODRL Core Model portrayed in
http://odrl.net/2.0/WD-ODRL-Model.html

Regards,

Stuart



-----Original Message-----
From: odrl-version2-bounces at odrl.net
[mailto:odrl-version2-bounces at odrl.net] On Behalf Of ri at odrl.net
Sent: Thursday, February 25, 2010 2:00 AM
To: ODRL-Version2
Subject: Re: [Odrl-version2] XML Encoding - early WD release

Stuart - the (current) reason we can't have Asset and Party at the top
Rights level is that the Core Model does not represent this (It did in
Version 1.1 - but that confused people as well as they did not really
know what they applied to....)

Currently, and Asset and Party must be inside a Permission/Prohibition
to make it clear and absolute.

But you are right, we are being inconsistent with Duty being at the top
level too...

So perhaps we can allow Party/Asset at the top level - but their
semantics are from within the Permission/Prohibition elements. We can
document this in the XML encoding.

This would mean the final example as:
(Note: the asset has IDREF inside the Permission, and the real
identifier is in the ID asset)

   <o:rights xmlns:o="http://odrl.net/2.0/" uid="urn:exp:0231"
xmlns:d="http://purl.org/dc/elements/1.1/"
       type="http://odrl.net/2.0/type/offer">
       <o:permission>
           <o:asset xml:idref="A1" />
           <o:action resource="http://odrl.net/2.0/action/play"/>
           <o:duty xml:idref="D1"/>
           <o:party xml:idref="P1" />
       </o:permission>
       <o:permission>
           <o:asset xml:idref="A1" />
           <o:action resource="http://odrl.net/2.0/action/copy"/>
           <o:constraint name="http://odrl.net/2.0/constraint/count"
               operator="http://odrl.net/2.0/operator/lteq"
rightOperand="1"/>
           <o:duty xml:idref="D1"/>
           <o:party xml:idref="P1" />
       </o:permission>
       <o:duty xml:id="D1">
           <o:action resource="http://odrl.net/2.0/action/pay"/>
           <o:object measure="http://odrl.net/2.0/object/EUR"
value="0.50"/>
           <o:party ixml:idref="P1"/>
       </o:duty>
       <o:asset xml:id="A1" uid="urn:music:4545">
           <d:title>Purple Rain</d:title>
           <d:creator>Prince</d:creator>
       </o:asset>
       <o:party xml:id="P1" uid="urn:sony:10"
role="http://odrl.net/2.0/role/assigner/">
           <v:org>Sony Music International Inc</v:org>
           <v:tel>+555 5555 5555 Inc</v:tel>
       </o:party>
   </o:rights>

Cheers

Renato Iannella
ODRL Initiative
http://odrl.net



_______________________________________________
Odrl-version2 mailing list
Odrl-version2 at odrl.net
http://odrl.net/mailman/listinfo/odrl-version2_odrl.net


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 e-mail. Thank you.
[IP_US_DISC]
msk dccc60c6d2c3a6438f0cf467d9a4938




More information about the Odrl-version2 mailing list