The spec contains special handling for text/html resources. Lack of application/xhtml+xml seems an unfortunate omission.