Bug #3208

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

Ajouté par Matthieu Decorde il y a plus de 3 ans. Mis à jour il y a presque 3 ans.

Statut:New Début:19/01/2022
Priorité:Urgent Echéance:
Assigné à:- % réalisé:

30%

Catégorie:Edition Temps passé: -
Version cible: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())

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 3 ans

  • % réalisé changé de 0 à 50

fixed in import modules

#2 Mis à jour par Matthieu Decorde il y a environ 3 ans

  • Priorité changé de Normal à Urgent

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

#3 Mis à jour par Matthieu Decorde il y a environ 3 ans

  • Description mis à jour (diff)

#4 Mis à jour par Serge Heiden il y a environ 3 ans

  • Description mis à jour (diff)

#5 Mis à jour par Serge Heiden il y a environ 3 ans

  • Description mis à jour (diff)

#6 Mis à jour par Matthieu Decorde il y a environ 3 ans

  • % réalisé changé de 50 à 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 Mis à jour par Serge Heiden il y a environ 3 ans

  • Description mis à jour (diff)

#8 Mis à jour par Matthieu Decorde il y a presque 3 ans

  • Version cible changé de TXM 0.8.2 à TXM 0.8.4

Formats disponibles : Atom PDF