Re: Author markup question

+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