W3C home > Mailing lists > Public > public-vocabs@w3.org > September 2013

Re: Author markup question

From: Dave Pawson <dave.pawson@gmail.com>
Date: Wed, 4 Sep 2013 12:09:27 +0100
Message-ID: <CAEncD4fo=46=55gh86q9L77AeWwZ__bg4p2=gXTPE0CBKXTokg@mail.gmail.com>
To: Willem-Siebe Spoelstra <wsspoelstra@gmail.com>
Cc: Dan Brickley <danbri@danbri.org>, "public-vocabs@w3.org" <public-vocabs@w3.org>
+1. The two forms (long and short) would be explicit
as per Dans quote.

On 4 September 2013 11:56, Willem-Siebe Spoelstra <wsspoelstra@gmail.com> wrote:
> Hi Dan,
>
> Ok, that is a helpfull answer. Thanks.
> What I don't understand is that the examples on schema.org are showing the
> short, not strictly correct, examples: a lot of people just do copy and
> paste...
>
> Kind regards,
>
> Willem
>
> Op woensdag 4 september 2013 schreef Dan Brickley (danbri@danbri.org):
>>
>> On 4 September 2013 11:35, Willem-Siebe Spoelstra <wsspoelstra@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > Why do I see this in examples on schema.org:
>> >
>> >> <span itemprop="author">Ellie</span>
>> >
>> >
>> > What I don't understand is why this is correct, the expected type is not
>> > 'text' but for example 'person'.
>> >
>> > So the only way this is correct I think is:
>> >
>> > <span itemprop="author" itemscope itemtype="http://schema.org/Person">
>> >
>> >   <span itemprop="name">Jane Doe</span>
>> > </span>
>> >
>> > Am I right or wrong here?
>>
>> Hi. You have the correct intuition here - that the short form is not
>> strictly correct, and should more properly be written out in full as
>> you show.
>>
>> Schema.org is a pragmatic effort though, hence
>> http://schema.org/docs/datamodel.html
>> """ We also expect that often, where we expect a property value of
>> type Person, Place, Organization or some other subClassOf Thing, we
>> will get a text string. In the spirit of "some data is better than
>> none", we will accept this markup and do the best we can."""
>>
>> Dan



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
Received on Wednesday, 4 September 2013 11:09:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:30 UTC