W3C home > Mailing lists > Public > www-validator@w3.org > April 2008

trying to validate RDFa document including "instanceof" attribute

From: Jérôme Bousquié <jerome.bousquie@edu.univ-reunion.fr>
Date: Fri, 18 Apr 2008 11:37:37 +0400
Message-ID: <48084FC1.8080606@edu.univ-reunion.fr>
To: www-validator@w3.org
Hi,

I'm trying to validate this page : 
http://laboratoires.univ-reunion.fr/lim/page.php?css=default&nom=iremia

which is a php-generated RDFa document.

As you can see, my triplets look like this one :

<span about="http://personnel.univ-reunion.fr/jdiatta/" instanceof="foaf:Person"><a title="Pour écrire à Jean DIATTA, supprimer &quot;+efface&quot; de l'adresse e-mail." rel="foaf:mbox" href="mailto:jean.diatta+efface@univ-reunion.fr">Jean DIATTA</a><span property="foaf:name" xml:lang="fr" content="Jean DIATTA"/><span rel="foaf:workplaceHomepage" href="http://laboratoires.univ-reunion.fr/lim/" /></span>

and I'm using the doctype described in : 
http://www.w3.org/TR/2008/WD-rdfa-syntax-20080221/

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      xmlns:foaf="http://xmlns.com/foaf/0.1/">
   <head profile="http://www.w3.org/1999/xhtml/vocab">


The validator outputs one error :
/Line 35, Column 72/: there is no attribute "instanceof".

Is "instanceof" not recognized by the validator DTD ? or is my code wrong ?

thanks for your answer

-- 
Jérôme Bousquié
Received on Friday, 18 April 2008 21:50:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:29 GMT