#11800: WebPositive inconveniently strict ----------------------------------------+---------------------------- Reporter: donn | Owner: pulkomandy Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/WebPositive | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ----------------------------------------+---------------------------- Comment (by pulkomandy): I think the main problem is that the file doctype tells it's XHTML. We use our mime sniffing rules to set the MIME type to that, but it would seem the file is actually HTML (which is parsed in a more relaxed way). When getting files online, the server provides a MIME type so we don't use the sniffing. It should be possible to get the MIME type from the e-mail header and use that, instead of trying to guess. If the mail is set to use the more correct "HTML" MIME type it would work better. You can also force it by editing the file attributes. In any case, probably Web+ should fallback to HTML when parsing as XHTML fails. -- Ticket URL: <https://dev.haiku-os.org/ticket/11800#comment:2> Haiku <https://dev.haiku-os.org> Haiku - the operating system.