[Bug 46724] Can't open local xhtml files by double clicking

Matthew East matthew.east.ubuntu at breathe.com
Fri May 26 10:11:53 UTC 2006


Public bug reported:

Binary package hint: shared-mime-info

It's not possible to double click on xhtml files to open them any more.
I receive the following error:

The filename "index.html" indicates that this file is of type "HTML document". The contents of the file indicate that the file is of type "XML document". If you open this file, the file might present a security risk to your system.
Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "XML document", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file. 

Here is the header of the file I'm trying to open:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Documentation for Ubuntu 6.06 LTS (Dapper Drake)</title>
    <link rel="stylesheet" href="index.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.68.1" />
    <link rel="start" href="#id2467948" title="Documentation for Ubuntu 6.06 LTS (Dapper Drake)" />
  </head>
 
I'll attach a whole xhtml file for you to test.

Thanks

** Affects: shared-mime-info (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

** Attachment added: "index.fr.html"
   http://librarian.launchpad.net/2925736/index.fr.html

-- 
Can't open local xhtml files by double clicking
https://launchpad.net/bugs/46724




More information about the desktop-bugs mailing list