W3C home > Mailing lists > Public > public-lod@w3.org > April 2014

Re: rdf:HTML datatype in RDF 1.1

From: Leigh Dodds <leigh@ldodds.com>
Date: Wed, 2 Apr 2014 14:24:44 +0100
Message-ID: <CAC_nr_qxgxT0JF3_kHLn7QKujU7LZdAqMak_FNZFj9xcATvxHQ@mail.gmail.com>
To: "john.walker" <john.walker@semaku.com>
Cc: public-lod community <public-lod@w3.org>
The value space is defined as being a DocumentFragment. I'm not clear
on whether DOM4 has changed the meaning of that, but a fragment is a
collection of nodes, which don't necessarily have a common root
element.

So I think either is valid.

L.

On Wed, Apr 2, 2014 at 11:54 AM, john.walker <john.walker@semaku.com> wrote:
> Simple question on this which wasn't immediately obvious from the
> recommendation [1].
>
> Is it expected that the string has a single top-level element:
>
> "<p>Hello world!</p>"
>
> Or is it OK to include fragments like:
>
> "Hello world!"
> "<b>Hello</b> world!"
> "Hello <i>world</i>!"
> "<b>Hello</b> <i>world</i>!"
>
> Regards,
>
> John
>
> [1] http://www.w3.org/TR/rdf11-concepts/#section-html



-- 
Leigh Dodds
Freelance Technologist
Open Data, Linked Data Geek
t: @ldodds
w: ldodds.com
e: leigh@ldodds.com
Received on Wednesday, 2 April 2014 13:25:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:22:06 UTC