Re: XHTML Vocab document

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 UTC