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

Re: Validator issue

From: Karl Dubost <karl@w3.org>
Date: Thu, 31 Jan 2008 07:41:09 +0900
Cc: www-validator@w3.org
Message-Id: <C7E18E61-524F-4F66-990A-436374161C35@w3.org>
To: Roberto Sarrecchia <roberto.sarrecchia@gmail.com>


Le 30 janv. 2008 à 02:04, Roberto Sarrecchia a écrit :
> I parsed http://www.qmpeople.com/users/laserion/foaf.rdf with  
> validator but I didn't understan well first error: Missing "charset"  
> attribute for "text/xml" document.


First the start of your document.

404;http://www.qmpeople.com:80/users/laserion/foaf.rdf
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
...


is it dynamically generated if yes you have to remove.
/404;http://www.qmpeople.com:80/users/laserion/foaf.rdf/

To check if it's a valid RDF file you can use
http://www.w3.org/RDF/Validator/ARPServlet?URI=http%3A%2F%2Fwww.qmpeople.com%2Fusers%2Flaserion%2Ffoaf.rdf+&PARSE=Parse+URI%3A+&TRIPLES_AND_GRAPH=PRINT_TRIPLES&FORMAT=PNG_EMBED

Best


--
Karl Dubost - W3C
http://www.w3.org/QA/
Be Strict To Be Cool
Received on Wednesday, 30 January 2008 22:41:18 GMT

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