Input schema does not show all root elements

I am attempting to select ns0:Sales as the root element for the DataMapping, but it does not appear in the pick list when I choose Select Root. The schema passes validation when I check it in my schema editor and also during import into Adeptia.

Cause:

The name 'Sales' is also one of the element name of the complexType "ctDemand"

Solution:

Provide an element name other than the root elements in the XSD file. Then upload the XSD again in the XML Schema Activity and reload it in the Data Mapper. Now you will be able to see "ns0:Sales" as one of the Root in the "Select Root" list.