Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-479

Serialization of update requests isn't legal syntax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Jena 2.11.0
    • ARQ
    • None

    Description

      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.

      Attachments

        Activity

          People

            andy Andy Seaborne
            ezs Elli Schwarz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: