W3C home > Mailing lists > Public > www-rdf-validator@w3.org > April 2012

Re: Undecodable data when reading URI at byte 0 ?

From: Richard Ishida <ishida@w3.org>
Date: Fri, 27 Apr 2012 13:47:29 +0100
Message-ID: <4F9A9561.4080008@w3.org>
To: Ivan Herman <ivan@w3.org>
CC: www-rdf-validator@w3.org
I would have suspected a UTF-8 signature at the start of the file (BOM), 
or perhaps the server is applying an encoding that overwrites the actual 
encoding?  Bear in mind that these things may not show up in a source 
display in a browser - you need to check the original file.


Richard Ishida
Internationalization Activity Lead
W3C (World Wide Web Consortium)


On 25/04/2012 13:00, Ivan Herman wrote:
> There is a strange issue that I do not understand.
> Trying to validate an RDF/XML file, and get the following reply
> [[[
> An attempt to load the RDF from URI 'http://www.w3.org/ns/formats/data/RDF_XML.rdf' failed. (Undecodable data when reading URI at byte 0 using encoding 'UTF-8'. Please check encoding and encoding declaration of your document.)
> ]]]
> The RDF/XML file, if copied and pasted into the text box, validates all right. If the same URI is used by other RDF clients, like Tim's validator, of if it is simply dereferenced by, say, Firefox, it looks all right. Looking at the file with dump does not reveal any extra character at the beginning. Any hints?
> Ivan
> ----
> Ivan Herman, W3C Semantic Web Activity Lead
> Home: http://www.w3.org/People/Ivan/
> mobile: +31-641044153
> FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Friday, 27 April 2012 12:47:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 20:17:01 UTC