Sorry about the version! I'm using Fuseki 0.2.3. If there was a fix in this area, where can I find the new code? The Fuseki trunk does not appear to have "http" package any longer: https://svn.apache.org/repos/asf/jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/
Martynas On Sat, Sep 14, 2013 at 2:53 AM, Rob Vesse <[email protected]> wrote: > Andy > > Grepcode URLs actually have the version information in them, this appears > to be Fuseki 0.2.4 (at least that is what Martynas has linked to) though > it doesn't necessarily mean that is the version he is using > > Rob > > > > On 9/13/13 11:11 AM, "Andy Seaborne" <[email protected]> wrote: > >>Version? IIRC there was a fix around here not so long ago. >> >>On 13/09/13 12:41, Martynas Jusevičius wrote: >>> This is probably the correct encoded value (including slashes etc): >>> http%3A%2F%2Flocalhost%3A8080%2Fgraphs%2F2013%2520Danfoss%2520MPHE.xlsx >> >>http%3A%2F%2Flocalhost%3A8080%2Fgraphs%2F2013%2520Danfoss%2520MPHE.xlsx >> >>I agree ... and so does the code :-) because I have just C&P that string >>from a debugger onto the dev codebase. >> >>It uses the rules for URI component encoding (if I got them right). >> >>> On Fri, Sep 13, 2013 at 1:35 PM, Martynas Jusevičius >>> <[email protected]> wrote: >>>> Hey, >>>> >>>> I'm using DatasetAdapter to access a Graph Store. It seems to me >>>> however that it is not properly escaping graph URI when building the >>>> request URI. >> >>What did you get? >> >>>> >>>> 4.2 Indirect Graph Identification >>>> >>>>(http://www.w3.org/TR/sparql11-http-rdf-update/#indirect-graph-identific >>>>ation) >>>> gives an example of "encoded graph URI". That is, graph URI >>>> >>>> http://localhost:8080/graphs/2013%20Danfoss%20MPHE.xlsx >>>> >>>> should appear as >>>> >>>> >>>>.../store?graph=http://localhost:8080/graphs/2013%2520Danfoss%2520MPHE.x >>>>lsx >>>> >>>> in the request URI. However I cannot see that DatasetAdapter is doing >>>> such escaping >> >>DatasetGraphAccessorHTTP.target() >> >>>> (it was easier to find the code on GrepCode than on >>>> Apache): >>>> >>>>http://grepcode.com/file/[email protected]$jena-fus >>>>[email protected]@org$apache$jena$fuseki$http$DatasetAdapter.java >>>> >>>> This results in 400 Bad Request if graph URI has special characters >>>> like in this case. Can we call this a bug? >>>> >>>> Martynas >>>> graphityhq.com >> >> >> Andy >> >
