Skip to content

Commit

Permalink
Merge a838d54 into d071ad6
Browse files Browse the repository at this point in the history
  • Loading branch information
MPvHarmelen authored Aug 29, 2023
2 parents d071ad6 + a838d54 commit 5882c7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/SparqlXmlParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ export class SparqlXmlParser {
}
stack.pop();
})
parser.on("cdata", text => {
if(this.stackBeginsWith(stack, ['sparql', 'results', 'result', 'binding']) && stack[stack.length - 1] === currentBindingType) {
currentText = text;
}
})
parser.on("text", text => {
if(this.stackBeginsWith(stack, ['sparql', 'results', 'result', 'binding']) && stack[stack.length - 1] === currentBindingType) {
currentText = text;
Expand Down

0 comments on commit 5882c7b

Please sign in to comment.