W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > December 2009

Re: RDFa without using xmlns:

From: Toby Inkster <tai@g5n.co.uk>
Date: Tue, 08 Dec 2009 11:28:20 +0000
To: martin@weborganics.co.uk
Cc: Mark Birbeck <mark.birbeck@webbackplane.com>, RDFa <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <1260271700.1713.55.camel@ophelia2.g5n.co.uk>
On Tue, 2009-12-08 at 11:15 +0000, Martin McEvoy wrote:
> Mark mentioned that the page needs to be updated to use quotes ;)

I was thinking more of this example:

{
  /* bnode */
    "a": "<http://www.w3.org/2004/09/fresnel#Format>",
    "http://www.w3.org/2004/09/fresnel#group": "<http://ubiquity-rdfa.googlecode.com/svn/trunk/_samples/formats/debug.html>",
    "http://ubiquity-rdfa.googlecode.com/action": function(obj) {
      .
      .
      .
      return;
    }
}

Including Javascript functions is a non-trivial extension of JSON,
enough to make the data unparsable by virtually any JSON library, and
(even if parsed OK) useless outside of environments that can evaluate
Javascript.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 8 December 2009 11:29:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 December 2009 11:29:06 GMT