Fix xml parsing problem in Firefox.