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

Defining an empty prefix for a namespace results in invalid SPARQL results XML

Description

In workbench, this results in the page not being displayable. Here's an example document. Notice the invalid syntax defining the prefix for http://test.foo.com/:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 <?xml version='1.0' encoding='UTF-8'?> <?xml-stylesheet type='text/xsl' href='/openrdf-workbench/transformations/tuple.xsl'?> <sparql xmlns='http://www.w3.org/2005/sparql-results#' xmlns:q='http://www.openrdf.org/schema/qname#' xmlns:='http://test.foo.com/' xmlns:xsd='http://www.w3.org/2001/XMLSchema#'> <head> <variable name='s'/> <variable name='p'/> <variable name='o'/> <link href='info'/> </head> <results> <result> <binding name='s'> <uri q:qname=':entity'>http://test.foo.com/entity</uri> </binding> <binding name='p'> <uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri> </binding> <binding name='o'> <uri q:qname=':dog'>http://test.foo.com/dog</uri> </binding> </result> </results> </sparql>

Environment

None

Status

Assignee

Peter Ansell

Reporter

Dale W. Visser

Labels

None

Fix versions

Affects versions

2.7.0-beta2

Priority

Critical