W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > January 2009

Re: XHTML Vocab document

From: Shane McCarron <shane@aptest.com>
Date: Fri, 09 Jan 2009 10:42:55 -0600
Message-ID: <49677E8F.8020604@aptest.com>
To: Toby A Inkster <tai@g5n.co.uk>
CC: RDFa <public-rdf-in-xhtml-tf@w3.org>

We can add a base element - I will try to get it updated today.

Toby A Inkster wrote:
>
> I've pointed this out before, but haven't had a response.
>
> If you look at <http://www.w3.org/1999/xhtml/vocab/> you will see 
> markup along the lines of:
>
>>   <dt id="chapter" about="#chapter" typeof="rdf:Property">chapter</dt>
>>     <dd about="#chapter" property="rdfs:comment"
>>       datatype="xsd:string"><span>chapter</span> refers to a resource 
>> serving
>>       as a chapter in a collction. </dd>
>
> This creates the triples:
>
> <http://www.w3.org/1999/xhtml/vocab/#chapter> a rdf:Property ;
>     rdfs:comment """chapter refers to a resource service
>     as a chapter in a collction. """^^xsd:string .
>
> (Note typo in "collection", but that's not my main point.) However, 
> because the xhv namespace is <http://www.w3.org/1999/xhtml/vocab#>, 
> what we'd really like to see is:
>
> <http://www.w3.org/1999/xhtml/vocab#chapter> a rdf:Property ;
>     rdfs:comment """chapter refers to a resource service
>     as a chapter in a collction. """^^xsd:string .
>
> Note the resource's URI has had a slash removed. Two possible routes 
> to fixing this would be:
>
> 1. change the URI of the document to 
> <http://www.w3.org/1999/xhtml/vocab> (no trailing slash); or
> 2. add a <base> element to the document.
>

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Friday, 9 January 2009 16:43:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 9 January 2009 16:43:58 GMT