Re: Rm: Question about RDF validator

At 14:55 04/03/04 +0100, santiago.lopez.ponte@xunta.es wrote:

>Good morning,
>
>Thanks for your kind answer.  I want to tell you the results of my test
>just in case it can help you to correct something in the validator.
>
>--------------

>I cannot understand why we get an
>
>"RDF Load Error - An attempt to load the RDF from URI
>'http://www.xunta.es/galicia2004/galicia2004.rdf' failed. (Cannot open
>stream.) "
>
>when validating:
>
>http://www.xunta.es/galicia2004/galicia2004.rdf
>
>In response to that HTTP request our server returns the following headers:
>
>HTTP/1.1 200 OK
>Server: Microsoft-IIS/5.0
>Date: Wed, 03 Mar 2004 16:36:29 GMT
>Content-type: text/xml
>Accept-ranges: bytes
>Last-modified: Wed, 03 Mar 2004 16:01:55 GMT
>Etag: "50ae73d9381c41:978"
>Content-length: 1131
>
>The content returned has characters belonging to ISO-8859-1.

if that's the case, you have to say so. text/xml has a hard
default of us-ascii, so you have to change the header to
either text/xml;charset=iso-8859-1 or application/xml
(in which case there is no default and therefore your
xml declaration is used to determine the encoding).



Regards,    Martin.

Received on Friday, 5 March 2004 05:29:50 UTC