Re: [Virtuoso-users] Substring implementation difference between jena, rdf4j and virtuoso

2019-03-24 Thread Jerven Tjalling Bolleman
Hi James, All, I didn't see an example with startingLoc less than 1. However, one document down in the xpath-functions one there is clarity. https://www.w3.org/TR/xpath-functions/#func-substring And I should have looked at that first. I think this means edge case non conformance bugs in rdf4j a

[Virtuoso-users] Substring implementation difference between jena, rdf4j and virtuoso

2019-03-24 Thread Jerven Tjalling Bolleman
Hi All, Cross posting as this seems to be a question of spec implementation and I am not sure what the correct answer is supposed to be. SELECT * WHERE { BIND("ABCDEFGHIJK" AS ?s2) BIND(SUBSTR(?s2, 0, 1) AS ?sub) } This gives "" in jena but "A" in rdf4j and virtuoso. Seems to be some amb