ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kengkaj Sathianpantarit <kengka...@gmail.com>
Subject Re: Parsing Error for "<="
Date Mon, 16 Mar 2009 09:00:16 GMT
Hm, you still need to use CDATA anyway.
AND EXPECTED_DAY  <![CDATA[ >= ]]> ACTUAL_DAYS

Kengkaj

On Mon, Mar 16, 2009 at 3:56 PM, Ingmar Lötzsch <
iloetzsch@asci-systemhaus.de> wrote:

> I prefere to change the order of the operands, because then is no need to
> use CDATA sections or XML entities.
>
> AND EXPECTED_DAY >= ACTUAL_DAYS
>
> Kengkaj Sathianpantarit schrieb:
>
>> Don't forget that you are using XML, use CDATA as follows.
>> <![CDATA[ <= ]]>
>>
>> Kengkaj
>>
>> On Mon, Mar 16, 2009 at 7:38 AM, Tokajac <imre_tokai@hotmail.com <mailto:
>> imre_tokai@hotmail.com>> wrote:
>>
>>
>>    Hello!
>>
>>
>>    I have a tricky error: in the query last row is AND ACTUAL_DAYS <=
>>    EXPECTED_DAY. For some reason iBatis doesn't want to parse "<=" (??).
>>    Exception: "only well-formed..."
>>
>>    How to solve/work-around this?
>>
>
>

Mime
View raw message