I have an initForm that I have set up to allow the user to create multiple rows of data. I start a process from this init form and thisEventStartMessageRequest contains....
<input xmlns:wsi-xf="http://www.intalio.com/BPMS/wsi/xforms" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:ns0="http://example.com/initForm/xform" xmlns:wsi-wsdl="http://www.intalio.com/BPMS/wsi/wsdl" xmlns="http://example.com/initForm/xform">
<acceptanceEnabled />
<Performer_Group />
<performanceEnabled />
<negotiationEnabled>Yes</negotiationEnabled>
<Subject>ns-3</Subject>
<appdatas>
<appdata>
<appName>Foo</appName>
<appValue>17</appValue>
</appdata>
</appdatas>
</input>
Using the mapper, I copy the <appdatas> element to a variable called output. The result I get in output is:
<output xmlns="http://example.com/takeAct/xform" formUrl="" participantToken="" taskId="" user="">
<takeAct:Acts xmlns:takeAct="http://example.com/takeAct/xform" />
<takeAct:Subject xmlns:takeAct="http://example.com/takeAct/xform" />
<appdatas xmlns:takeAct="http://example.com/takeAct/xform">
<appdata xmlns="http://example.com/initForm/xform">
<appName>Foo</appName>
<appValue>17</appValue>
</appdata>
</appdatas>
</output>
At first glance, it seems ok, but looking carefully we see that the appdata (singular) element has the wrong namespace - which causes things to break in my next form. I would like it to have the same namespace as all the other elements (http://example.com/takeAct/xform) rather than
http://example.com/initForm/xform.Any thoughts? I tried making modifications in my initForm, but they weren't having an effect and it was a little confusing to me so I figured rather than make a big mess of my project, I would ask folks smarter than I.
Thanks in advance,
RB