- From: RDF Working Group Issue Tracker <sysbot+tracker@w3.org>
- Date: Wed, 21 Dec 2011 16:22:25 +0000
- To: public-rdf-wg@w3.org
RDF-ISSUE-81 (HTML/XHTML Literals): How to represent HTML formated text in an RDF Literals http://www.w3.org/2011/rdf-wg/track/issues/81 Raised by: Gavin Carothers On product: It should be possible to represent HTML formated text in an RDF Literal. For example: <example> dc:description """<p>An <em>example</em> of some <strong>HTML</strong></p>""" . In RDF 2004 this was accomplished with XMLLiteral, however the lack of adoption of XHTML and issues with XMLLiterals have lead to a lack of adoption. XMLLiteral is likely to be optional in RDF 2012. Some recommended mechanism for HTML/XHTML literals is necessary. There is also some confusion with dealing with language and formatted literals. Current methods in use today: """<p>An <em>example</em> of some <strong>HTML</strong></p>"""^^rdf:XMLLiteral <rdf:RDF> ... <dc:description rdf:parseType="Literal"><p>An <em>example</em> of some <strong>HTML</strong></p></dc:description> ... </rdf:RDF> """<p>An <em>example</em> of some <strong>HTML</strong></p>"""@en <rdf:RDF> ... <dc:description xml:lang="en"> <p>An <em>example</em> of some <strong>HTML</strong></p> </dc:description> ... </rdf:RDF>
Received on Wednesday, 21 December 2011 16:22:34 UTC