Re: Primer review : grokXFN.xsl broken?

On 14/02/07, Brian Suda <brian.suda@gmail.com> wrote:
> On 2/14/07, Danny Ayers <danny.ayers@gmail.com> wrote:
> >
> > The RDF/XML example in the Primer, "Booking a Hotel Example"
> > (apparently as produced by  grokXFN.xsl) doesn't work. Is it
> > legitimate to use xfn:met here anyway?
>
> --- can you explain "doesn´t work?" i remembered testing it with the
> RDF validator and in the SPARQL queries.

<rdf:RDF...

<met xmlns="http://gmpg.org/xfn/11#">
   <rdf:Description>
       <foaf:homepage rdf:resource="http://peter.example.org/"/>
   </rdf:Description>
</met>
...
</rdf:RDF>

Who met Peter?

Validator says:

Error: {E205} rdf:Description is not allowed as an element tag
here.[Line = 10, Column = 22]
Error: {E201} rdf:resource not allowed as attribute here.[Line = 11,
Column = 66]
Error: {E205} rdf:Description is not allowed as an element tag
here.[Line = 16, Column = 22]
Error: {E201} rdf:resource not allowed as attribute here.[Line = 17,
Column = 65]
Error: {E205} rdf:Description is not allowed as an element tag
here.[Line = 22, Column = 22]
Error: {E201} rdf:resource not allowed as attribute here.[Line = 23,
Column = 65]

Cheers,
Danny.

-- 

http://dannyayers.com

Received on Wednesday, 14 February 2007 12:45:00 UTC