sanity check against rexml bugs in stock ruby 1.8.4 and ruby 1.8.6