Skip to content

Commit

Permalink
Merge pull request #588 from pchampin/fix-issue-493
Browse files Browse the repository at this point in the history
changed prefix for SPARQL namespace in XML serialization
  • Loading branch information
gromgull authored Jan 12, 2017
2 parents 2c52186 + 6795589 commit 3e74b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/plugins/sparql/results/xmlresults.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class SPARQLXMLWriter:
def __init__(self, output, encoding='utf-8'):
writer = XMLGenerator(output, encoding)
writer.startDocument()
writer.startPrefixMapping(u'sparql', SPARQL_XML_NAMESPACE)
writer.startPrefixMapping(u'', SPARQL_XML_NAMESPACE)
writer.startPrefixMapping(u'xml', XML_NAMESPACE)
writer.startElementNS(
(SPARQL_XML_NAMESPACE, u'sparql'),
Expand Down

0 comments on commit 3e74b39

Please sign in to comment.