@value/@type/@language combination

Dear all,

We have a use case that would require all three of @value, @type and
@language for a single resource, which is not allowed according to the
specification (eg section 8.3)

We would like to use either plain literals (and hence @value/@language) or
X/HTML in the same space to allow basic styling and linking within the
text.  We want to do this in a way that doesn't involve introspection of
the value to determine whether it's text/plain or text/xml if at all
possible.

For example:


{
  "description": {
    "@value":"<p>Some <b>description</b></p>",
    "@type": "rdf:XMLLiteral",
    "@language" : "en-latn"
  }
}


Is there any existing best practice for how to accommodate this?

Thanks!

Rob

-- 
Rob Sanderson
Technology Collaboration Facilitator
Digital Library Systems and Services
Stanford, CA 94305

Received on Wednesday, 13 August 2014 23:32:09 UTC