bug report #739650 by jcfiala:Fixing validation to not use html_entity_decode for PHP4 installations.