Re: P3P in RDFa?

On Thu, 29 Jan 2009 10:56:52 +0100, Dan Brickley <danbri@danbri.org> wrote:
> This is wf XHTML but somehow the little bit of RDFa I've tried writing  
> (from memory) there isn't parsing with raptor/librdfa. I don't have time  
> to experiment today so thought I'd throw this out for consideration in  
> its current form. Help very much welcomed.

Looks like you got your xmlns: prefixes wrong (late night hacking? :-) ):

	<p  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"   
rdfs="http://www.w3.org/2000/01/rdf-schema#"

> I like the idea of having some easy XHTML templates that also count as  
> P3P. Does it sound plausible to anyone else?

Absolutely brilliant idea.

> For the eventual markup, the p3p-in-rdf stuff is rather verbose in rdfa,  
> I'd suggest at least having shorter property names.

Well, at the cost of more prefixes, you could mitigate it slightly with:

   xmlns:p3pphone="http://www.w3.org/2002/01/p3prdfv1#business.contact-info.telecom.telephone."

   Telephone: <span property="p3pphone:intcode">1</span>
              <span property="p3pphone:loccode">888</span>
              <span property="p3pphone:number">928-8932</span>.

Best wishes,

Steven

Received on Thursday, 29 January 2009 10:57:48 UTC