Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Bug in DataConnection / XSD Schema handling with attributes

Avatar

Level 2
It took me one day to figure out that Dataconnection does not like importing regular schema or XML instances - they have to be wrapped in an XDP "envelope" (like what XDP output mode creates).

After getting over that hurdle - then if you have attributes with the same name on different elements - eg it crashes XFA.

This is a VERY common thing - and Adobe should not crash on this.

Also - the information model is flawed in that you need a unique instance to bind to - so how do you do repeating blocks to individual fields?

There needs to be a way to make a generic model structure element - but then assign that to multiple form fields - but each time add an index value. E.g. [box1][box2] etc.
1 Reply

Avatar

Level 2
The only solution here is to use XSLT to clean-up the mess.



I was able to finally get my xslt working so that it re-formats the xdp output into normal XML.



It should not be this hard to do all this. Ho hum.



DW