Re: Validator issue

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 UTC