[jboss-user] [jBPM] - Re: BPMN process with XML input - XSLT transformation - XML output

Massimiliano Izzo do-not-reply at jboss.com
Fri May 17 05:13:43 EDT 2013


Massimiliano Izzo [https://community.jboss.org/people/amizzo] created the discussion

"Re: BPMN process with XML input - XSLT transformation - XML output"

To view the discussion, visit: https://community.jboss.org/message/818160#818160

--------------------------------------------------------------
Thanks again.
Although the examples you provided are very useful, when I changed them to fit to the purpose, jBPM throwed an exception.
I think the issue is related to the xpath condition and the XPath implementation available in jBPM 5.4.
A real xml example is:

<?xml version="1.0" encoding="utf-8"?>
<MSG xmlns="xxx.it" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="xxx.it C:\MySchema.xsd">
          <DURATION>PTM34.07S</DURATION>
    <TIMESTAMP1>2010-11-28T16:44:13.00</TIMESTAMP1>
    <TIMESTAMP2>2010-11-28T17:09:17.00</TIMESTAMP2>
          <RESULT/>
</MSG>

and I need to put into <RESULT/> the value TIMESTAMP1 + DURATION 
if  TIMESTAMP1 + DURATION > TIMESTAMP2
but I am not able to write this condition into the "conditionExpression"

I suspect that jBPM 5.4 does not support XPath 2.0. Is this correct?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/818160#818160]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130517/6777b9c0/attachment.html 


More information about the jboss-user mailing list