fix one REXML bug, warn on another