W3C home > Mailing lists > Public > public-grddl-wg@w3.org > February 2007

Re: Primer review : grokXFN.xsl broken?

From: Danny Ayers <danny.ayers@gmail.com>
Date: Wed, 14 Feb 2007 13:44:54 +0100
Message-ID: <1f2ed5cd0702140444h37f4bf6blb301eccb148375be@mail.gmail.com>
To: "Brian Suda" <brian.suda@gmail.com>
Cc: public-grddl-wg <public-grddl-wg@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:47 GMT