Re: ISSUE-25: default datatype for literals

+1

On 19/06/07, Ben Adida <ben@adida.net> wrote:
>
>
> Issue 25:
> http://www.w3.org/2006/07/SWD/track/issues/25
>
> What should the default datatype of literals be in RDFa? We've talked
> about this one fairly in depth, and we have general agreement from a
> past telecon, including a nice flowchart diagram put together by
> Michael [1]. In addition, there was just a recent discussion about what
> the value of @datatype should be [2].
>
> The current proposal, as it stands, is as follows (I am duplicating work
> done by Michael just to freeze this in time):
>
> ==============
>
> A) @datatype is explicitly specified.
>
> The literal has the datatype specified. @datatype="" means a plain
> literal, which @lang affects as expected.
>
> If @datatype="" is specified and the literal contains markup, the markup
> is stripped according to typical textContent rules.
>
> B) @datatype is not explicitly specified.
>
>   B.1) @content is specified.
>
>   The literal is the value of @content and is a plain literal, which
> @lang affects as expected.
>
>   B.2) @content is not specified.
>
>     B.2.a) the literal value contains markup, e.g. "<b>foobar</b>"
>
>     The literal is of type rdf:XMLLiteral.
>
>     B.2.b) the literal value does not contain markup
>
>     The literal is of type plain literal, which @lang affects as expected.
>
> ==============
>
> If this is not your understanding of what we agreed upon, or if you have
> found reason to disagree with this, speak now! And if you like it, speak
> now anyways, at least to say "+1."
>
> -Ben
>
>
> [1] http://www.w3.org/2006/07/SWD/wiki/RDFa/LiteralObject
> [2] http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Jun/0028
>
>
>


-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.

Received on Thursday, 21 June 2007 09:50:27 UTC