The content header is right although it would be nice if they handled
"q=" differently.
The problem is the JSON-LD data is wrong.
If the line
"" : "http://viaf.org/viaf/terms#;,
is removed, it works.
Andy
On 16/12/2019 11:46, Andreas Kahl wrote:
Andy, Rob,
Thanks for your quick
Andy, Rob,
Thanks for your quick responses. I will try to implement this. The whole
program using this is a little 'follow your nose' spider, so I will have to see
where to integrate custom code for this domain until they fix the erroneus
content type header. But at least I know now what's
On 16/12/2019 09:50, Rob Vesse wrote:
The server does not appear to be sending an appropriate Content-Type header.
Note that if you read the stack trace you can see that Jena thinks the URI is
returning JSON/LD and invoking its JSON/LD parser hence why you hit a parsing
error. I would
On 16/12/2019 09:23, Andreas Kahl wrote:
Hello everyone,
I got this error while trying to load data from a URI to a Jena model:
http://viaf.org/viaf/32182557 (RDF-URL:
https://viaf.org/viaf/32182557/rdf.xml )
riot https://viaf.org/viaf/32182557/rdf.xml
works fine.
The server does not appear to be sending an appropriate Content-Type header.
Note that if you read the stack trace you can see that Jena thinks the URI is
returning JSON/LD and invoking its JSON/LD parser hence why you hit a parsing
error. I would consider filing a bug report with the server
Hello everyone,
I got this error while trying to load data from a URI to a Jena model:
http://viaf.org/viaf/32182557 (RDF-URL:
https://viaf.org/viaf/32182557/rdf.xml )
2019-12-16 09:55:09 WARN Spider:490 - Error parsing data from URI:
http://viaf.org/viaf/32182557