Triply-Dev / YASGUI.YASR-deprecated

Deprecated, see https://github.com/TriplyDB/Yasgui for the Yasgui monorepo
MIT License
26 stars 22 forks source link

(It seems like) parsing of SPARQL XML results does not decode escaped < / > #130

Closed tfrancart closed 4 years ago

tfrancart commented 5 years ago

Raw response :

screenshot-raw-response

Table rendering :

screenshot-table

tfrancart commented 5 years ago

When getting the results in JSON, the '<' and '>' are displayed properly

LaurensRietveld commented 5 years ago

Do you have a mwe? Here, it seems to work fine: http://yasgui.org/short/scfbcZLdQ

tfrancart commented 5 years ago

The following query at http://yasgui.org/# is able to reproduce this behavior :

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?test WHERE {
  ?s ?p ?o
  BIND(("12 < 18") AS ?test)
} 
LIMIT 10

Swith between the "Table" and "Response" output format to compare.

LaurensRietveld commented 4 years ago

Thanks, this is now fixed in https://github.com/TriplyDB/Yasgui/commit/a4ad62b704b5383b0bbd4f58c3105fe650ab5e93