Dear Jena-Devs,
I believe that the following query
select ?substr where {BIND(substr("1234567890", 0, 11) AS ?substr)}
should return
| substr |
================
| "1234567890" |
instead of the current
| substr |
==========
| |
I take this from reading the spec here.
https://www.w3.org/TR/xpath-functions/#func-substring
If people agree with my reading I will be happy to submit a patch.
Regards,
Jerven
--
-------------------------------------------------------------------
Jerven Bolleman [email protected]
SIB Swiss Institute of Bioinformatics Tel: +41 (0)22 379 58 85
CMU, rue Michel Servet 1 Fax: +41 (0)22 379 58 58
1211 Geneve 4,
Switzerland www.sib.swiss - www.uniprot.org
Follow us at https://twitter.com/#!/uniprot
-------------------------------------------------------------------