RDF Validator error

Hi,

Can anyone here help with an RDF validator problem I am encountering?

See: http://tinyurl.com/prxyo
"An attempt to load the RDF from URI
'http://sparql.captsolo.net/b2evo-0.9.2/xmlsrv/sioc.php?sioc_type=user&sioc_id=2&blog=1'
failed. (Undecodable data when reading URI at byte 0 using encoding
'UTF-8'. Please check encoding and encoding declaration of your
document.)"

Note that "<?xml" is located at byte 0 and it can't be undecodable UTF-8.

Also - not so sure now, but when I had similar errors before the same
page sometimes validates and sometimes - not. And while RDF Validator
reports problems with it, the SIOC Browser displays this page OK.

Thanks,
Uldis

[ http://captsolo.net/info/ ]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "SIOC-Dev" group.
To post to this group, send email to sioc-dev@googlegroups.com
To unsubscribe from this group, send email to sioc-dev-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sioc-dev
-~----------~----~----~----~------~----~------~--~---

RDF Validator error

On 7/28/06, Uldis Bojars wrote:

> Also - not so sure now, but when I had similar errors before the same
> page sometimes validates and sometimes - not. And while RDF Validator
> reports problems with it, the SIOC Browser displays this page OK.

I seem to remember some reports of validator bugs not long ago, not
sure of the specifics except I think whether or not visual graphs were
created depended on how much load there was on the server, not enough
memory = no graph.

Are you sure it is utf-8? wget tells me this is being served as
text/html, that might be confusing the validator.

Cheers,
Danny.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "SIOC-Dev" group.
To post to this group, send email to sioc-dev@googlegroups.com
To unsubscribe from this group, send email to sioc-dev-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sioc-dev
-~----------~----~----~----~------~----~------~--~---

RDF Validator error

Thanks for replies!

On 7/28/06, Danny Ayers wrote:

> I seem to remember some reports of validator bugs not long ago, not
> sure of the specifics except I think whether or not visual graphs were
> created depended on how much load there was on the server, not enough
> memory = no graph.

There was an e-mail reporting a similar problem in June.
Just wrote him to ask if he solved the problem.

> Are you sure it is utf-8? wget tells me this is being served as
> text/html, that might be confusing the validator.

Yes. Content-Type: application/rdf+xml; charset=utf-8

The URL contains '&' and if you will not enclose it in quotes when
passing to wget or curl then the URL will be truncated at first '&'
and the blog engine will send an error page ("text/html") saying that
a page does not exist.

P.S. Looks like RDF Validator is at fault...

Uldis

[ http://captsolo.net/info/ ]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "SIOC-Dev" group.
To post to this group, send email to sioc-dev@googlegroups.com
To unsubscribe from this group, send email to sioc-dev-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sioc-dev
-~----------~----~----~----~------~----~------~--~---

RDF Validator error

On 7/28/06, Uldis Bojars wrote:

> The URL contains '&' and if you will not enclose it in quotes when
> passing to wget or curl then the URL will be truncated at first '&'
> and the blog engine will send an error page ("text/html") saying that
> a page does not exist.

Ah, well caught - thanks.

--

http://dannyayers.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "SIOC-Dev" group.
To post to this group, send email to sioc-dev@googlegroups.com
To unsubscribe from this group, send email to sioc-dev-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sioc-dev
-~----------~----~----~----~------~----~------~--~---

RDF Validator error

Hi,

That's really strange, I wget your rdf file on my server, rename it,
and it works:

http://apassant.net/tmp/tmp.rdf
=>
http://www.w3.org/RDF/Validator/ARPServlet?URI=http%3A%2F%2Fapassant.net%2Ftmp%2Ftmp.rdf&PARSE=Parse+URI%3A+&TRIPLES_AND_GRAPH=PRINT_TRIPLES&FORMAT=PNG_EMBED

Maybe the problem comes from the validator itself ?

Uldis Bojars wrote:
> Hi,
>
> Can anyone here help with an RDF validator problem I am encountering?
>
> See: http://tinyurl.com/prxyo
> "An attempt to load the RDF from URI
> 'http://sparql.captsolo.net/b2evo-0.9.2/xmlsrv/sioc.php?sioc_type=user&sioc_id=2&blog=1'
> failed. (Undecodable data when reading URI at byte 0 using encoding
> 'UTF-8'. Please check encoding and encoding declaration of your
> document.)"
>
> Note that "<?xml" is located at byte 0 and it can't be undecodable UTF-8.
>
> Also - not so sure now, but when I had similar errors before the same
> page sometimes validates and sometimes - not. And while RDF Validator
> reports problems with it, the SIOC Browser displays this page OK.
>
> Thanks,
> Uldis
>
> [ http://captsolo.net/info/ ]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "SIOC-Dev" group.
To post to this group, send email to sioc-dev@googlegroups.com
To unsubscribe from this group, send email to sioc-dev-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sioc-dev
-~----------~----~----~----~------~----~------~--~---

RDF Validator error

On 7/28/06, Alexandre Passant wrote:

> http://apassant.net/tmp/tmp.rdf

HTTP request sent, awaiting response... 200 OK
Length: 1,192 [application/rdf+xml]

but on the original:

HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Last-modified header missing -- time-stamps turned off.
--14:15:05-- http://sparql.captsolo.net/b2evo-0.9.2/xmlsrv/sioc.php?sioc_type=user
=> `sparql.captsolo.net/b2evo-0.9.2/xmlsrv/sioc.php?sioc_type=user'
Connecting to sparql.captsolo.net[140.203.154.163]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20 [text/html]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "SIOC-Dev" group.
To post to this group, send email to sioc-dev@googlegroups.com
To unsubscribe from this group, send email to sioc-dev-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sioc-dev
-~----------~----~----~----~------~----~------~--~---