You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Martynas Jusevicius <ma...@graphity.org> on 2012/02/26 23:35:25 UTC

UpdateRequest.toString()

Hey,

I'm using Jena 2.6.4 / ARQ 2.8.7 and I don't get how the output of

  UpdateFactory.create("CREATE GRAPH <http://foo>",
Syntax.syntaxSPARQL_11).toString())

becomes "CREATE <http://foo>"? I.e. "GRAPH" is dropped for some
reason? This results in invalid request.

Martynas
graphity.org

Re: UpdateRequest.toString()

Posted by Andy Seaborne <an...@apache.org>.
On 26/02/12 22:35, Martynas Jusevicius wrote:
> Hey,
>
> I'm using Jena 2.6.4 / ARQ 2.8.7 and I don't get how the output of
>
>    UpdateFactory.create("CREATE GRAPH<http://foo>",
> Syntax.syntaxSPARQL_11).toString())
>
> becomes "CREATE<http://foo>"? I.e. "GRAPH" is dropped for some
> reason? This results in invalid request.
>
> Martynas
> graphity.org

Thanks for the report.  The problem is in 2.7.0 as well.

It's now fixed in svn - if you need the fix, there is a build of ARQ 
2.7.1 snapshot with the fix in:

https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/

	Andy