Re: rdf:HTML datatype in RDF 1.1

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