XMLReader fixes for ARC.