A method and system for simultaneous and concurrent processing of parameters associated with an electronic document is described. The method comprises the sharing of a memory location between the processing steps that examine each of the parameters, such that if any parameter is marked as invalid, a termination of examination of the other parameters is effected.