Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

XML Data Transfering Incorrectly (XDP)


Level 5
We have a relatively simple workflow that transfers schema data from one form to another. Both forms are XDPs so we simply use a setValue to transfer the data (from form 1 to 2):

Location: process_data/form2/object/data

Expression: process_data/form1/object/data

We are having an issue where form 2 will not populate correctly unless run with Acrobat 9. We have investigated the issue and it seems that when the XML data is being transfered, the dataset somehow doubles. We set up variable loggers to track each of the datasets shown above and each one contains an extra set of nodes. One of those nodesets contains all of the form data and the other is just empty.

We believe the problem is that unless run in Acrobat 9, the blank set of nodes comes first. Acrobat only tries to read the first set, assuming it contains the form data, and finds none. For whatever reason, in Acrobat 9, the empty nodeset comes second so the form can render with the data.

Am I incorrect in thinking that the empty nodeset should not be there? Assuming that, I have determined that the problem either has to be how we are transfering the data from XDP to XDP or it could be related to the schema binding in form1. Some of the form1 data is bound directly from the form and some from fragments used in the form, but I can't seem to find any mistakes with the bindings.

Does anyone have any feedback or ideas on how to solve this? We are on a tight time budget so quick feedback would be greatly appreciated. Thank you so much!
0 Replies


Level 10
You shouldn't end up with two data nodes.

Try the following to see if it makes any difference:

Location: process_data/form2/object/data/xdp/datasets/data

Expression: process_data/form1/object/data/xdp/datasets/data


Location: process_data/form2/object/data

Expression: process_data/form1/object/data/*



Level 5
Both of those ideas produced the same thing. It is however, slightly different from what I had before. The two you provided created the set of nodes with the data in them (as usual) but instead of an empty nodeset, it created an empty top level node ( ). Acrobat still seems to look there and won't recognize the data.

Are there any other possible configurations?


Level 5

We have determined it is definitely an issue with form1. Do you have any suggestions as far as schema binding/configuration that may help us?

I have a feeling the fragments are bound incorrectly somehow.