W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

Re: [MISC] Deprecation (was Re: RDF-ISSUE-5 (Graph Literals): Should we define Graph Literal datatypes? [RDF Graphs])

From: Nathan <nathan@webr3.org>
Date: Mon, 07 Mar 2011 13:08:53 +0000
Message-ID: <4D74D8E5.6030909@webr3.org>
To: Ivan Herman <ivan@w3.org>
CC: Peter Frederick Patel-Schneider <pfps@research.bell-labs.com>, steve.harris@garlik.com, richard@cyganiak.de, public-rdf-wg@w3.org
Ivan Herman wrote:
> the content of the blog is using the RSS vocabulary and what they do is to use the content:encoded property with the body of the blog in XML Literal. Ie, they store the HTML code for the content as part of their RDF data.

FWIW, this is the only time I use XMLLiteral too (quite often though!), 
to store a chunk of HTML in content:encoded - perhaps worth noting that 
it was a bit of a PITA and would have been much easier just have a 
text/html (or xml) string in a literal (caveat that this gave up the 
ability to xpath over the value, but surely with a proper datatype, 
implementers could "understand" the datatype, like they do with xsd:int etc)

Best,

Nathan
Received on Monday, 7 March 2011 13:09:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:03 UTC