W3C home > Mailing lists > Public > public-html@w3.org > November 2011

Re: minutes for HTML WG f2f, 2011-11-04, part 1

From: Peter Winnberg <peter.winnberg@gmail.com>
Date: Tue, 8 Nov 2011 23:58:45 +0100
Message-ID: <CAG21KWk=M=oME6SFvc1z3fS_TPWdeDPJUt=zP0ZOnvqdj3dKTw@mail.gmail.com>
To: Cameron Heavon-Jones <cmhjones@gmail.com>
Cc: public-html@w3.org
2011/11/7 Cameron Heavon-Jones <cmhjones@gmail.com>:
>
> It's the difference between asking what it means to have an index of all <span> on a page over what it means to have an index of all <data> on a page.
>
> You can turn <span> into a data container, but it will inherit a lot of meaningless data.
>

First of all, the span element means that there is something here but
no information about what it is. This is exactly the same as the data
element as far as I can see. The only difference is the value
attribute. And the span element is already used just like the data
element (in the RDFa context):

<html
  xmlns="http://www.w3.org/1999/xhtml"
  prefix="cal: http://www.w3.org/2002/12/cal/ical#
  xsd: http://www.w3.org/2001/XMLSchema"
  >
  <head><title>Jo's Friends and Family Blog</title></head>
  <body>
    <p>
      I'm holding
      <span property="cal:summary">
        one last summer Barbecue
      </span>,
      on
      <span property="cal:dtstart" content="2015-09-16T16:00:00-05:00"
            datatype="xsd:dateTime">
        September 16th at 4pm
      </span>.
    </p>
  </body>
</html>

Taken from: http://www.w3.org/TR/rdfa-core/#examples

The content attribute holds the machine readable data in this case.

>
> Is the attribute the value, type and identifier of the data?
>

See above how RDFa handles typed literals.

-Peter
Received on Tuesday, 8 November 2011 22:59:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:41 GMT