You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Elli Schwarz (JIRA)" <ji...@apache.org> on 2013/06/26 15:44:19 UTC

[jira] [Created] (JENA-479) Serialization of update requests isn't legal syntax

Elli Schwarz created JENA-479:
---------------------------------

             Summary: Serialization of update requests isn't legal syntax
                 Key: JENA-479
                 URL: https://issues.apache.org/jira/browse/JENA-479
             Project: Apache Jena
          Issue Type: Bug
    Affects Versions: Fuseki 0.2.8
            Reporter: Elli Schwarz


Running the following code:
String updateString = "INSERT {} WHERE { ?x ?p [ ?a  ?b ] }";
UpdateRequest update = UpdateFactory.create(updateString);

UpdateProcessor up = UpdateExecutionFactory.createRemote(update,
      "http://localhost:3131/ds/update");
up.execute();

Causes the Fuseki server to throw this error: 400 Encountered " "?" "? "" 
This is caused by the client generating incorrect SPARQL with an extra ? (as viewed from the Fuseki log):  INSERT { } WHERE   { ?x ?p ??0 . ??0 ?a ?b   }

This bug may be similar to JENA-378. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira