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

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 UTC