Re: Comment on RDF 1.1: use case for HTML5 data type

Thank you very much, Ivan. Just for the record, I am very happy with your
resolution.

Best,

Felix

2012/5/16 Ivan Herman <ivan@w3.org>

> Felix,
>
> this is a response to you and the MLW-L Working Group about your request
> of adding an HTML Literal datatype to the new version of RDF:
>
> http://lists.w3.org/Archives/Public/public-rdf-comments/2012Apr/0000.html
>
> This mail is just to inform you that the RDF WG has accepted today to add
> this datatype to RDF. Here is the proposed (and accepted) proposal[1]
>
> [[[
>
> RDF provides for HTML content as a possible literal value. This allows
> markup in literal values. Such content is indicated in an RDF graph using a
> literal whose datatype is a special built-in datatype rdf:HTML.
>
> rdf:HTML is defined as follows.
>
> === An IRI denoting this datatype ===
> is
> http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML
> .
>
> === The lexical space ===
> is the set of Unicode strings.
>
> === The value space ===
> is a set of DOM DocumentFragment nodes [DOM4:1]. Two DocumentFragment
> nodes A and B are considered equal if and only if the DOM method
> A.isEqualNode(B) [DOM4:2] returns true.
>
> === The lexical-to-value mapping ===
> is defined as:
>
> 1. Let domnodes be the list of DOM nodes [DOM4:3] that result from
> applying the HTML fragment parsing algorithm [HTML5:1] to the literal's
> lexical form, without a context element.
> 2. Let domfrag be a DOM DocumentFragment [DOM4:1] whose childNodes
> attribute is equal to domnodes
> 3. Return domfrag.normalize() [DOM4:4]
>
> ]]]
>
> (The original mail in [1] also referred to a canonical mapping, but that
> will not be used.)
>
> The next draft of the RDF 1.1 Concept document will include this datatype.
>
> Thanks!
>
> Ivan
>
>
> [1] http://lists.w3.org/Archives/Public/public-rdf-wg/2012May/0222.html
>
> Tracker, this closes ACTION-172
>
>
> ----
> Ivan Herman, W3C Semantic Web Activity Lead
> Home: http://www.w3.org/People/Ivan/
> mobile: +31-641044153
> FOAF: http://www.ivan-herman.net/foaf.rdf
>
>
>
>
>
>


-- 
Felix Sasaki
DFKI / W3C Fellow

Received on Wednesday, 16 May 2012 22:48:43 UTC