I have a File Adapter that reads in a csv file. The file may contain up to 4 types of records, ITEM, XREF, CATALOG and MGF. Only ITEM record is mandatory.
Examples of a file:
On 220.127.116.11.5, if I passed through a file containing ITEM, XREF, CATALOG and MFG, it works. If CATALOG is not required (like file 2), then I pass ITEM XREF AND MFG. It works.
On 18.104.22.168.6, if I passed through a file containing ITEM, XREF, CATALOG and MFG, it also works. However, if CATALOG is not required, then I pass ITEM XREF AND MFG, it FAILS with a file schema does not match XSD schema.
Anyone experienced this problem? Any ideas or suggestion?
I have no idea why it was working on .5, but doesn't work on .6... But the way your XSD is defined is not the usual... Have a look at the samples for conditional processing here...