tmlab / tmql

Automatically exported from code.google.com/p/tmql
1 stars 0 forks source link

getNonParametrizedQueryString replaces ? in strings #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Create a query like:

For $t in // tm:subject [ . / tm:occurrence == "http://test.de?param=1" ]
offset ?
limit ?
return $t

set params qith preparedstm:
stm.setLong (0, 0);
stm.setLong (1, 10);

What is the expected output? 
For $t in // tm:subject [ . / tm:occurrence == "http://test.de?param=1" ]
offset 0
limit 10
return $t

What do you see instead?
For $t in // tm:subject [ . / tm:occurrence == "http://test.de0param=1" ]
offset 10
limit ?
return $t

Original issue reported on code.google.com by h.niederhausen@googlemail.com on 31 Mar 2011 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by Sven.Kro...@googlemail.com on 1 Apr 2011 at 10:21