Problem with parsing FFdata

Hello,

There is a problem while parsing a flatfle.The flatfile looks like this

Header: 1.0 sender receiver CustDiscreteOrderReq IPC1.0 1 0
5847485 2008-04-02T00:00:00+0000 DGP 000024
5847486 2008-04-02T00:00:00+0000 DGP 000024

So I created a schema with two records,one record is Header(document) and the second one is recordWithNoID as a documentlist.

So While parsing the given data,getting an error that “Found no valid records”.

Am I going in the wrong way?
Can anyone help me out in resolving this issue?

Thanks in advance
Renuka

Did you set default Record for the Schema? It will be helpful whenever you are using recordWIthNoID type of records.

I tried by setting the default record and its working fine.

Thank you.
Renuka