Bug 359323 - Ark should preview XML files in a text viewer, not a web browser
Summary: Ark should preview XML files in a text viewer, not a web browser
Status: RESOLVED DUPLICATE of bug 201162
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.19
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-12 15:29 UTC by Diggory Hardy
Modified: 2016-02-12 16:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diggory Hardy 2016-02-12 15:29:25 UTC
When I open an archive in Ark, then click on an XML file to view it, a window opens displaying sometimes nothing and sometimes values from within some of the tags (concatenated together in a meaningless sequence, since the context of their tags is not visible). What I want to do is view the text (optionally with syntax highlighting).

XML is a container format for "configuration" files. Only a small sub-set, such as XHTML files and some XML files with embedded XSLT components, can actually be rendered meaningfully in a web-browser.

Note: I have a feeling I've reported this before, but cannot find anything in the bug-tracker.

Reproducible: Always

Steps to Reproduce:
If you want an example, try opening one of the [OpenMalaria release archives](https://github.com/SwissTPH/openmalaria/releases) in Ark. Most contain at least one XML file, which if opened in Ark is displayed in a completely meaningless way. Extracted then opened with KWrite or another text editor the full document is visible.

(Note that the standard file associations seem to do the same thing and open in a web browser by default — but this is easy to fix or work-around via right-click, "open with ...". Ark is not, hence this report.)
Comment 1 Elvis Angelaccio 2016-02-12 16:00:55 UTC
Hi, this has been fixed since the Application 15.12 release. Ark now always previews XML files in the Kate part.

*** This bug has been marked as a duplicate of bug 201162 ***
Comment 2 Diggory Hardy 2016-02-12 16:14:20 UTC
Awesome. Great that someone took on Ark development!