cancel
Showing results for 
Search instead for 
Did you mean: 

Stupid question...

blackout
Champ in-the-making
Champ in-the-making
As the subjects says, I have a stupid question.
I have a loop in a script like this
while (i < groupMembers.length)
in my process definition file, how do I manage to avoid errors like this?
org.jbpm.jpdl.JpdlException: [[FATAL] line 19: The content of elements must consist of well-formed character data or markup., [ERROR] couldn't parse process definition]
Is there an escape sequence for the < char?

I had the same error with an if (condition && condition), but I (roughly) solved it splitting the conditions it two if statements…
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
The character '>' is not valid inside an XML element - you need to use '&gt;' - however if you just place your code inside an XML CDATA section it will work.

Thanks,

Kevin

blackout
Champ in-the-making
Champ in-the-making
Thanks a lot, problem solved Smiley Very Happy