FIX XML checking functionality, including XML extraction from harness test files