odrl-ISSUE-1 (renato): Namespace for Vocab terms [ODRL Version 2.0 XML Encoding (Contributors) ]

odrl-ISSUE-1 (renato): Namespace for Vocab terms [ODRL Version 2.0 XML Encoding (Contributors) ]

http://www.w3.org/community/odrl/track/issues/1

Raised by: Renato Iannella
On product: ODRL Version 2.0 XML Encoding (Contributors) 

At the Barcelona meeting we agreed to have two XML Namespaces, one for the V2 Core Model and one for the V2 Common Vocabulary.

I have been thinking that it might be better to not define an XML Namespace for the Common Vocabulary, but instead, simply define them as URIs, as they are not ever XML elements - only the values of attributes.

It also seems that the general approach (e.g. microdata, RDF, and Linked Data) is to simply use URIs for everything.

For example, instead  of this:

 <o:permission>
        <o:asset uid="http://example.com/asset:9898" relation="o:target"/>
        <o:action name="o:publish"/>
  </o:permission>

We would have this:

 <o:permission>
        <o:asset uid="http://example.com/asset:9898" relation="http://w3.org/ns/odrl/2/target"/>
        <o:action name="http://w3.org/ns/odrl/2/publish"/>
  </o:permission>

(of course, the "o" would be an XML Namespace)

Any views?

Received on Sunday, 4 December 2011 12:09:28 UTC