Issue with context in the playground?

Hi,

Non-prefixed elements do not seem to work in the playground.

Using the spec example.

## Input:

{
  "name": "Manu Sporny",
  "homepage": "http://manu.sporny.org/",
  "image": "http://manu.sporny.org/images/manu.png"
}

## Context:

{
  "@context":
  {
    "name": "http://schema.org/name",
    "image": {
      "@id": "http://schema.org/image",
      "@type": "@id"
    },
    "homepage": {
      "@id": "http://schema.org/url",
      "@type": "@id"
    }
  }
}

Returns [] in the expanded form. When adding something like foaf:name (and
foaf URI) in the context, that element is correctly translated.

Is that a bug or do I miss something?

Best,

Alex.

-- 
Dr. Alexandre Passant - @terraces
Founder, CEO - http://seevl.net & http://mdg.io
http://facebook.com/seevl <http://facebook.com/seevl.net> -
http://twitter.com/seevl

Received on Thursday, 14 February 2013 12:56:49 UTC