Thanks, Mike. Another problem solved.
I remember now that when I first read the OGNL specs, I wondered why
anybody would use "gt" when ">" was clearer and more concise. Then I
forgot about it. I had recently tried > but of course WOGNL choked
on that. gt works fine.
Regards
Thomas
On 14/02/2008, at 8:57 AM, Mike Schrag wrote:
>> <wo:WOString value = "~ value1 > value2 ? 'yes' : 'no'"/>
>>
>> If I use the above, I get this new exception. If I escape it, WOGNL
>> doesn't work.
> You can use "gt" instead of > in ognl.
>
>> And don't tell me I could use value2 < value1, because although
>> that works, it is still as illegal as the other way around. This is
>> NOT an exception caused by unescaped content, it is the inability
>> of WO to handle a ">" character inside a quoted value. And there
>> are certain OGNL expressions that are very convoluted and hard to
>> debug without a ">" character.
> Technically this is illegal in XML, which all of these parsers are
> sort of bastardized versions of. A < or > inside of an attribute
> value must be escaped. However, in WO's defense, the problem you're
> having is not with WO, but with Wonder's parser. WO, I think, is to
> blame only for you logging problems.
>
> ms
>
>
This archive was generated by hypermail 2.0.0 : Wed Feb 13 2008 - 17:08:36 EST