This content has been marked as final.
Show 4 replies
-
1. Re: Does jpdl support boolean operations
xandrewrampulla Jan 28, 2010 11:02 AM (in response to xandrewrampulla)I figured it out. The & is causing the workflow to not parse properly. Instead I should use code like
<condition>#{(true==true) && (false==false)}</condition>
Hope this ends up helping someone else.
-
2. Re: Does jpdl support boolean operations
sebastian.s Jan 28, 2010 2:24 PM (in response to xandrewrampulla)Encoding the &'s looks strange to me. Could it be that there is something wrong with the parsing or the schema? -
3. Re: Does jpdl support boolean operations
kukeltje Jan 28, 2010 2:57 PM (in response to sebastian.s)why is encoding them strange to you? & is not allowed in XML content, it HAS to be escaped.... OR use cdata sections, but I'm not sure jBPM can handle that.
The same thing is true when using & in EL in xhtml files (e.g. with jsf)
-
4. Re: Does jpdl support boolean operations
sebastian.s Jan 28, 2010 3:44 PM (in response to kukeltje)Thanks for shedding some light on this. Indeed, I have been thinking about CDATA sections.