Quiet XML generation PHP notices and errors

Per #477.