Bug 87161 - W3M does not support the `application/xhtml+xml` mime-type
Summary: W3M does not support the `application/xhtml+xml` mime-type
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2005-10-09 12:10 UTC by Ed Schouten
Modified: 2005-10-09 17:44 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ed Schouten 2005-10-09 12:10:18 UTC
The W3M browser does not support the application/xhtml+xml mime-type. When you visit a website that is sent using the `application/xhtml+xml` mime-type, you are prompted to download the file to disk.

When renaming the file on disk to .html and visiting it with W3M, it displays correctly.


A patch for the port is available at:
It should be placed in the 'www/w3m/files/' directory.

This patch is a trimmed down version of:
How-To-Repeat: Visit a website written in XHTML that is sent using the `application/xhtml+xml` mime-type.
Comment 1 Volker Stolz freebsd_committer 2005-10-09 16:29:26 UTC
Could you please give a URL against which we could test the patch?

Comment 2 Ed Schouten 2005-10-09 17:14:38 UTC
* Volker Stolz <vs@freebsd.org> wrote:
> Could you please give a URL against which we could test the patch?

Of course. Here's a testcase:


The webserver is running XS-HTTPD 3.3b30 (www/xshttpd) and uses
/usr/local/etc/mime.types from misc/mime-support as its mime-types
index. Because of that, it sends back application/xhtml+xml.

 Ed Schouten <ed@fxq.nl>
Comment 3 MANTANI Nobutaka freebsd_committer 2005-10-09 17:39:39 UTC
State Changed
From-To: open->closed

I adopted the original version of the patch for PATCH_SITES and PATCHFILES. 
Thank you for submitting the PR!