Use TransactionRaii in schedulexmlparser.cpp.