Posted: Wed Sep 22, 2004 7:18 am Post subject: Two Root Elements?!?!
Centurion
Joined: 09 Oct 2002 Posts: 145 Location: Florida
Just started playing with 5.0 and am seeing something that makes me wonder about my install.
I built a simple flow with an Input, compute, and Output node.
The ESQL is:
CREATE COMPUTE MODULE Todd_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
CALL CopyEntireMessage();
SET OutputRoot.XML.A.B = 'hmmm';
RETURN TRUE;
END;
CREATE PROCEDURE CopyEntireMessage() BEGIN
SET OutputRoot = InputRoot;
END;
END MODULE;
Input Message is:
<A><B>data</B></A>
The output Message is:
<A><B>data</B></A><A><B>hmmm</B></A>
It seems to have built another message alongside the original. For those who are 5.0 heros, please rescue me. Thanks.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum