ignore html and xhtml invalidity warnings during loading