Harald,
It really looks like this is a bug.
I've made a test at fixing but... we have no infrastructure to really test the taglib and such a bug... it seems easy to do so with hsqldb around... Someone with experience with this taglib would be more than welcome doing so.
Can you give a try to my fix with the jar at: http://www.apache.org/~polx/tmp/commons-jelly-tags-sql-1.1-dev.jar ?
thanks
paul
Le 13 janv. 05, à 15:25, Harald Kuhn a écrit :
I am using jelly with the sql taglibs to generate an xml file filled with data from a database.
Some of the sql scripts I use involve selecting ranges of values using '<=' as an operator like in
select * from ${databaseTable} where id <= 1
When using the <= directly, I get an error from the parser (which was to be expected really:) ).
however if I use an entitiy for the '<' character like
select * from ${databaseTable} where id <= 1
I get an sql syntax error from the database because of the entity characters: Zeile 1: Falsche Syntax in der Nähe von ';'.
Any Suggestions ?
Cheers, Harald Kuhn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]