Skip to Content
0
Former Member
Nov 14, 2006 at 02:21 PM

XML attributes wrong order in mapping

100 Views

In XI SP16

I am building a mapping based on a dataype using XML attibutes.

The datatype looks like:

Test_Node ComplexType

a attribute xsd:string

<b> b</b> attribute xsd:string

c attribute xsd:string

d attribute xsd:string

e attribute xsd:string

I use this data type in the message type (this is correct).

When I load it into the mapping I can see the following thing:

Test_Node ComplexType

a attribute xsd:string

c attribute xsd:string

d attribute xsd:string

e attribute xsd:string

<b> b</b> attribute xsd:string

The second attribute goes to the last position. As I use this to build a flat file I don't get the expected flat file.

This is a consistent behaviour with all similar mapping.

I tried to put the last attribute in second position but I think this is not the way to do it (if this is fixed in the future that can cause problems).

Any suggestion is welcome.

Thanks.

Gabriel