Hi all.
I'm having a hard time figuring out why lists with one entry, especially if it's read from XML, is mishandled in FME.
A list may have any number of entries, and if reading such from XML, they often have any number including zero entries.
When flattening the output, cycling thru the list, one normally uses ListExploder. However, if the list in question has one entry, it's auto-exploded, which makes ListExploder reject it. So I have to check the rejected features to see, if the list had been auto-exploded or if it had no entries at all. E.g. two or more transformers instead of just one.
Why?
Wouldn't it be more logical to _always_ create a list, if there are 1 or more entries ?
It works as such in 2021.0
Is this behaviour specific to XML (or JSON?) flattening ?
Cheers.