Bug #3208

Edition, editor ask to save HTML file instead of displaying it

Added by Matthieu Decorde about 1 year ago. Updated 4 months ago.

Status:New Start date:01/19/2022
Priority:Urgent Due date:
Assignee:- % Done:

30%

Category:Edition Spent time: -
Target version:TXM 0.8.4

Description

Edition pages are not displayed and the internal browser asks to save it.

Hypothesis

HTML pages marked as transitional are not displayed and the internal browser asks to save it.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Solution 1

TXM 0.8.2 import modules don't produce editions using the Transitional DTD but an XSL pager step can use it or an older version of TXM may produce an edition using it.

Document the usage of

<!DOCTYPE html>

Solution 2

1- read the HTML page content first
2- then provide the web page HTML content to the internal browser (b.setContent(...) instead of b.setURL())

History

#1 Updated by Matthieu Decorde about 1 year ago

  • % Done changed from 0 to 50

fixed in import modules

#2 Updated by Matthieu Decorde 9 months ago

  • Priority changed from Normal to Urgent

Also happening with a TMX corpus see D. Henkel mail 2022-07-02

#3 Updated by Matthieu Decorde 9 months ago

  • Description updated (diff)

#4 Updated by Serge Heiden 9 months ago

  • Description updated (diff)

#5 Updated by Serge Heiden 9 months ago

  • Description updated (diff)

#6 Updated by Matthieu Decorde 7 months ago

  • % Done changed from 50 to 30

Also happening with the GRAAL corpus see U. Henny-Kramer mail 2022-09-07 with Ubuntu 22.04.1 and TXM 0.8.2 (2022-06-20)

#7 Updated by Serge Heiden 6 months ago

  • Description updated (diff)

#8 Updated by Matthieu Decorde 4 months ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.4

Also available in: Atom PDF