Re: HTML datatype for compat w/ rdf?

(Disclaimer for this mailing list: This is not a response from the HTML WG.)

On Feb 16, 2010, at 00:44, Nathan wrote:

> In short, is there a dedicated datatype for HTML(5) which can be used
> within RDF; if not are there any plans to specify one?

I recommend parsing the HTML content into a tree according to the HTML parsing algorithm[1], applying the coercion to Infoset rules[2] and storing the resulting Infoset as an XMLLiteral in RDF.


Henri Sivonen

Received on Tuesday, 16 February 2010 08:30:12 UTC