Keith Alexander wrote:
> Johan Sundström wrote:
>   
>>> http://simile.mit.edu/babel/translator?reader=...&writer=...&url=...?uri=...
>>>     
>>>       
>> Your issue is probably that you use ?uri= instead of &url= near the
>> tail. Anything up to the next & after &url= is part of the first url
>> attribute, and that url endpoint probably didn't like the extra
>> baggage.
>>
>>   
>>     
> I'm not sure if you see what I mean or not:
>
> I want to transform some eRDF to RDF/XML, and that RDF/XML to Exhibit JSON.
>
> I find some eRDF here: http://iandavis.com/
>
> so I get the RDF/XML here:
>
> http://research.talis.com/2005/erdf/extract?uri=http://iandavis.com/
>
> Now I want to get some JSON:
>
> http://simile.mit.edu/babel/translator?reader=rdf-xml&writer=exhibit-json&url=http://research.talis.com/2005/erdf/extract?uri=http://iandavis.com/
>
> Only I get an error.
>
> If I change the ?uri to &url,  the erdf/extract url is wrong, and won't 
> extract the erdf in the first place.
>   
The exception is thrown when Sesame's RDF/XML parser parses
    http://research.talis.com/2005/erdf/extract?uri=http://iandavis.com/
That parser is picky and I'm still not sure how to make it spit out line 
numbers. But my guess is that there are a bunch of URIs like this one
    http://ancestraltales.com
which should have a trailing slash
    http://ancestraltales.com/
to be proper.

David

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to