Re: trying to validate RDFa document including "instanceof" attribute

@typeof has superceded  @instanceof  -- ref: updated  RDFa Primer,  15 April 08.

James
RDFa test page: http://jp29.org/rdfaprimerx.php

---- "Jérôme Bousquié" <jerome.bousquie@edu.univ-reunion.fr> wrote: 
> 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 22:17:15 UTC