-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xml serialization doesn't escape & #131
Comments
Can you please paste the full source code of the response (including HTTP response headers)? |
sure.
|
instead of building the xml sparql bindings like this i wonder if we could jena's xml sparql bindings serialization code? not by copying it but by invoking it, i mean. jena directly can handle this situation:
yields: <?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
<head>
<variable name="what"/>
</head>
<results>
<result>
<binding name="what">
<literal>100 & 200</literal>
</binding>
</result>
</results>
</sparql> notice the |
Indeed, I can't remember the reason why that was implemented this way... |
I added a fix in 99b4fff let me know if this solves your problem. |
works now. thanks! |
then hitting
http://localhost:8080/basil/r1cvkhc78hfd/api
in a browser:because there is a
&
in the bindings that doesn't get escaped when serializing as xml so the xml isn't well-formed.The text was updated successfully, but these errors were encountered: