Bug #1898

TBX: 0.7.8, XTZ import, broken 'out of text to edit'

Ajouté par Serge Heiden il y a presque 9 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:04/10/2016
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Import Temps passé: -
Version cible:TXM 0.7.8

Description

Setting the 'out of text to edit' parameter to 'head' for a XML-TEI corpus containing one head removes the head content from indexes AND from edition.

Input source extract:

<text>
 <body>
  <pb n="1" facs="https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/La_Fayette_-_La_Princesse_de_Cl%C3%A8ves_-_tome_1.djvu/page6-1024px-La_Fayette_-_La_Princesse_de_Cl%C3%A8ves_-_tome_1.djvu.jpg"/>
  <head>La<lb/>Princesse<lb/>De<lb/>Cleves.</head>
  <p>LA magnificence &amp; la galanterie n'ont jamais paru en France avec tant d'éclat, que dans les dernieres

Resulting edition:

Corresponding XHTML:

<?xml version="1.0" encoding="UTF-8"?>
<html>
 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"/>
 <link rel="stylesheet" type="text/css" href="css/txm.css"/>
 <link rel="stylesheet" type="text/css" href="css/PRINCESSE.css"/>
 <link rel="stylesheet" type="text/css" href="css/txm.css"/>
 <link rel="stylesheet" type="text/css" href="css/PRINCESSEDECLEVES.css"/>
 <head><title>PRINCESSE Edition - Page 1</title></head>
 <body>
  <div class="txmeditionpage">
   <p>
    <h3>Cleves-brut-simplifie-texte</h3>
    <table>
     <tr><td>titre</td><td>La Princesse de Clèves</td></tr>
     <tr><td>auteur</td><td>Madame de La Fayette</td></tr>
     <tr><td>date</td><td>1689</td></tr>
     <tr><td>langue</td><td>fr</td></tr>
     <tr><td>license</td><td>Texte libre de droits</td></tr>
    </table>
   </p>
   <h2 rend="null"><br/><br/><br/></h2>
   <p rend="null">
    <span title=" n:1 frpos:DET:ART frlemma:le" id="w_Cleves-brut-simplifie-texte_1">LA</span>
    <span title=" n:2 frpos:NOM frlemma:magnificence" id="w_Cleves-brut-simplifie-texte_2">magnificence</span>

See the doubled CSS declarations. Note: PRINCESSEDECLEVES was the previous name of the corpus in the import.xml file.

cleve-edition.png (54,3 ko) Serge Heiden, 04/10/2016 08:13


Demandes liées

lié à Bug #1783: RCP: 0.7.8: XTZ import textual plans bug Closed 28/04/2016

Historique

#1 Mis à jour par Serge Heiden il y a presque 9 ans

  • Description mis à jour (diff)

#2 Mis à jour par Serge Heiden il y a presque 9 ans

  • Description mis à jour (diff)

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

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

#4 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed

#5 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

Formats disponibles : Atom PDF