This works fine as long as my input has a footer. If I do not have a footer - so the input ends with DataLines - it fails, saying "Reason: Parse Error at Input End in"<end of text of the DataLines rule>"
If there is no footer I expected that the optional footer is skipped and just the EOI is taken? I guess there is something I am missing?!