discard data section in comparision

The data field will contain the message of an exception of the parser in case of an error.