Bug #1898

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

Added by Serge Heiden almost 3 years ago. Updated over 2 years ago.

Status:New Start date:10/04/2016
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Import Spent time: -
Target version: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 kB) Serge Heiden, 10/04/2016 08:13 am


Related issues

related to Bug #1783: RCP: 0.7.8: XTZ import textual plans bug New 04/28/2016

History

#1 Updated by Serge Heiden almost 3 years ago

  • Description updated (diff)

#2 Updated by Serge Heiden almost 3 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde over 2 years ago

  • % Done changed from 0 to 80

Also available in: Atom PDF