POWDER example

Hi,

having a look at the POWDER example in

http://dev.w3.org/2008/video/mediaann/mediaont-1.0/mediaont-1.0.html#example1

it seems to me that it contains some errors related to the use of RDF 
and related to the new structure of the ma: RDF ontology. I think it 
should read:

 <?xml version="1.0"?>
 <powder xmlns="http://www.w3.org/2007/05/powder#"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:ma="http://www.w3.org/ns/ma-ont#">
    
 <attribution>
  <issuedby src="http://example.com/company.rdf#me" />
  <issued>2007-12-14T00:00:00</issued>
 </attribution>
    
 <dr>
  <iriset>
   <includehosts>example.com</includehosts>
   <includepathstartswith>/movies/sci-fi/</includepathstartswith>
  </iriset>
     
  <descriptorset>
   <ma:hasGenre
     rdf:resource="http://example.com/ontology.rdf#sf" />
   <ma:hasPublisher
     rdf:resource="http://example.com/company.rdf#me" />
   <displaytext>Movies in this section of the website are all in the 
science fiction genre</displaytext>
   <displayicon src="http://example.com/sf-icon.png" />
  </descriptorset>
 </dr>
 </powder>

changes:
- added the xmlns:rdf declaration
- changed genre to ma:hasGenre
- changed publisher to ma:hasPublisher
- in the ma:* properties, changed src to rdf:resource

NB: it passes the POWDER validator at
   http://i-sieve.com/powdervalidator/
which the current example doesnt.

   pa

Received on Wednesday, 19 January 2011 16:31:23 UTC