[jboss-dev-forums] [Design of JBoss jBPM] - Re: streching the expression language
tom.baeyens@jboss.com
do-not-reply at jboss.com
Tue Feb 27 02:47:21 EST 2007
as for the '<' character, try removing the namespace reference. that should deactivate the schema validation. I have this in the unit tests:
public ProcessDefinition createConditionProcess() {
| return ProcessDefinition.parseXmlString(
| "<process-definition>" +
| " <start-state>" +
| " <transition to='d'/>" +
| " </start-state>" +
| " <decision name='d'>" +
| " <transition to='high-numbered-customer'>" +
| " <condition expression='#{customer.number > 5}' />" +
| " </transition>" +
| " <transition to='medium-numbered-customer'>" +
| " <condition expression='#{customer.number == 5}' />" +
| " </transition>" +
| " <transition to='low-numbered-customer' />" +
| " </decision>" +
| " <state name='high-numbered-customer' />" +
| " <state name='medium-numbered-customer' />" +
| " <state name='low-numbered-customer' />" +
| "</process-definition>"
| );
| }
|
and that works. I don't know what I have to put in the schema to allow for '<' characters. Anyone ?
regards, tom.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022894#4022894
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022894
More information about the jboss-dev-forums
mailing list