Streamline XML validation code.
Fix defect pertaining to extraction of individual record fields (for variables) from complex items.