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

Re: Problem on http://motools.sourceforge.net/doc/musicontology.rdfs

From: Yves Raimond <yves.raimond@gmail.com>
Date: Mon, 14 Jul 2008 19:33:33 +0100
Message-ID: <82593ac00807141133k7927b8cck2f685641ff377f0c@mail.gmail.com>
To: "olivier Thereaux" <ot@w3.org>
Cc: www-rdf-validator@w3.org

Hello!

Thanks for the quick answer :)

>> The same document at http://moustaki.org/resource/musicontology.rdfs
>> validates fine - I don't really understand why the version at
>> http://motools.sourceforge.net/doc/musicontology.rdfs gives this UTF-8
>> encoding error [1].
>
> At first glance, I see some server configuration differences:
>
> lwp-request -mHEAD http://moustaki.org/resource/musicontology.rdfs | grep
> Content-Type
> Content-Type: text/html; charset=iso-8859-1
>
> (text/html???)

Oops, indeed. I put that on a server which is not used to serve .rdfs
file so the corresponding AddType was missing, it should be ok now.
It still parses OK with the RDF validator though.

>
> lwp-request -mHEAD http://motools.sourceforge.net/doc/musicontology.rdfs |
> grep Content-Type
> Content-Type: application/rdf+xml
>
> That said, a run of the latter through iconv yields no encoding errors, nor
> does saving the document to disk and checking the RDF by direct input.
>
> Wondering if anyone else on the list has any idea?
>

I just tried with the SWI-Prolog semweb library, and it parses fine as well.

Kind regards,
y

> --
> olivier
>
Received on Monday, 14 July 2008 18:40:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 1 May 2011 06:15:19 GMT