We're updating the issue view to help you get more done. 

Workbench SPARQL Results XML response for ASK query is invalid

Description

I've downloaded and deployed openrdf-sesame-2.7.0 on tomcat server. After that made a memory repository and ran ASK query query.

On Firefox browser I've received :

XML Parsing Error: mismatched tag. Expected: </results>.
Location: http://localhost:8080/openrdf-workbench/repositories/MEMORY/query?action=exec&queryLn=SPARQL&query=ask%20%7B%3Fa%20%3Fb%20%3Fc%7D&limit=10&infer=true&
Line Number 9, Column 4: </sparql>
----------^

message.

On Chrome I managed to take the server respond data which was:

<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type='text/xsl' href='/openrdf-workbench/transformations/boolean.xsl'?>
<sparql xmlns='http://www.w3.org/2005/sparql-results#' xmlns:q='http://www.openrdf.org/schema/qname#' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:xsd='http://www.w3.org/2001/XMLSchema#' xmlns:sys='http://www.openrdf.org/config/repository#'>
<head>
<link href='info'/>
</head>
<results>
<boolean>true</boolean>
</sparql>

I saw that the server returns NO </result> tag and maybe the XML is not valid and can't be parsed with XSLT.

I have the same problem and with other repositories (not empty).

Environment

Windows 7, tomcat 7.0.39, Firefox & Chrome browsers

Status

Assignee

Peter Ansell

Reporter

Dimitar Karamanov

Labels

None

Components

Fix versions

Affects versions

2.7.0
2.7.1

Priority

Critical