Validating xml parser requires updating the qr factorization and the least squares problem