datasource-dependencies columns being passed as fields
Hello again,
I'm not sure if this is actually a bug or if its intentional.
_get_column_objects finds all column tags in a datasourcexml. My problem occurs when there is a dependency in the datasource. These occur when a blend is done on a field or when a parameter is used in a calculation in that datasource. The following structure occurs:

The highlighted column element, inside of the datasource-dependencies element, gets passed as a field. This gives me the illusion that my [Parameter 1] is part of this datasource, while in reality it is part of the 'Parameters'-datasource.
Is there any way I can distinguish these fields from datasource-dependencies, from other fields?
Thanks again!
Marco
The output of my script put in Tableau (again! :D), might (or might not) clarify the issue:

Highlighted are the parameters recurring in the other two datasources.