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

Re: RDFa without using xmlns:

From: Mark Birbeck <mark.birbeck@webbackplane.com>
Date: Mon, 7 Dec 2009 23:26:47 +0000
Message-ID: <640dd5060912071526kd9b3d16h4258bd231defb18@mail.gmail.com>
To: martin@weborganics.co.uk
Cc: RDFa <public-rdf-in-xhtml-tf@w3.org>
Hi Martin,

> [...]
>
> sorry about the quotes on everything php json decoding wont work with out
> them.

It's actually a very good idea to keep them in. I should really update
my examples, and do the same.

With quotes, pretty much anything will work safely. For example, the
following is valid JSON (and is what makes it attractive as an RDF
transport mechanism):

  {
    "http://xmlns.com/foaf/0.1/name": "Anna Wilder",
    "http://xmlns.com/foaf/0.1/homepage": "<http://example.org/about>"
  }

If we ensure that our examples include the quotes then people should
be safe if they cut and paste an example, and edit the contents.

Once again, thanks for taking a lead on getting some samples out there
for people to discuss.

Regards,

Mark

--
Mark Birbeck, webBackplane

mark.birbeck@webBackplane.com

http://webBackplane.com/mark-birbeck

webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)
Received on Monday, 7 December 2009 23:27:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 23:27:24 GMT