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

I'm trying to validate this page : 

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 : 

<!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"
   <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 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:32 UTC