W3C home > Mailing lists > Public > public-html-comments@w3.org > February 2010

Re: HTML datatype for compat w/ rdf?

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 15 Feb 2010 23:13:48 +0000 (UTC)
To: Nathan <nathan@webr3.org>
Cc: public-html-comments@w3.org
Message-ID: <Pine.LNX.4.64.1002152313160.29483@ps20323.dreamhostps.com>
On Mon, 15 Feb 2010, Nathan wrote:
> 
> I have a quick question as to the datatype of HTML - scenario is that I 
> need to store both full HTML documents and HTML fragments within RDF.
> 
> Currently I can store valid XHTML fragments using the rdf:XMLLiteral 
> type; however noted/*ass*uming that moving forward this won't be 
> possible (?);

You can continue to use XHTML with HTML5. HTML5 defines both a text/html 
serialisation and an XML serialisation.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 15 February 2010 23:14:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:01 GMT