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

Re: RDFa in SKOS Reference

From: Ed Summers <ehs@pobox.com>
Date: Thu, 20 Nov 2008 08:38:26 -0500
Message-ID: <f032cc060811200538j4986c18dybd89946df209afbe@mail.gmail.com>
To: "Sean Bechhofer" <sean.bechhofer@manchester.ac.uk>
Cc: "SWD Working SWD" <public-swd-wg@w3.org>, RDFa <public-rdf-in-xhtml-tf@w3.org>

(cross-posting to public-rdf-in-xhtml-tf)

Hi Sean:

I ran your RDFa-ized version of the SKOS Reference through the RDFa
validator and it seemed to cough on the use of the 'name' attribute on
one of the <a> elements [1].

Validating with xmllint produces a whole slew of these 'name'
attribute errors. But interestingly it is silent about the use of the
'name' attribute in anchor tags in the previous XHTML version.

If you happen to have xmllint installed you can see this by comparing
the output of validating the XHTML version:

  xmllint --noout --valid http://www.w3.org/TR/2008/WD-skos-reference-20080829/

with the RDFa version:

  xmllint --noout --valid http://www.w3.org/2006/07/SWD/SKOS/reference/20081001/

I started to wonder if the referenced RDFa DTD [3] is missing a
definition for the 'name' attribute on the <a> element...but my DTD
skills are at an all time low. Perhaps I'm doing something wrong
here...or xmlint isn't all that it's cracked up to be. But xmllint and
the w3c validator seem to basically be in agreement.

//Ed

[1] http://validator.w3.org/check?uri=http%3A%2F%2Fwww.w3.org%2F2006%2F07%2FSWD%2FSKOS%2Freference%2F20081001%2F
[2] http://www.w3.org/TR/2008/WD-skos-reference-20080829/
[3] http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd

On Thu, Nov 20, 2008 at 5:18 AM, Sean Bechhofer
<sean.bechhofer@manchester.ac.uk> wrote:
>
>
> I've added some basic RDFa markup to the Reference working Draft:
>
> http://www.w3.org/2006/07/SWD/SKOS/reference/20081001/
>
> Editors, title, abstract, date, references. Comments welcome.
>
>        Sean
>
> --
> Sean Bechhofer
> School of Computer Science
> University of Manchester
> sean.bechhofer@manchester.ac.uk
> http://www.cs.manchester.ac.uk/people/bechhofer
Received on Thursday, 20 November 2008 13:39:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 November 2008 13:39:03 GMT