- edited description
Extracting and merging docbook with <footnote> removes a space after the closing tag
Issue #1049
new
When extracting and merging the following docbook file:
<article xmlns='http://docbook.org/ns/docbook'>
<simpara>Use free, open-source, Okapi Framework<footnote><simpara>A cross-platform set of components and applications designed to help your localization and translation processes</simpara></footnote> to build your own CAT tool!</simpara>
</article>
with
tikal.sh -x docbook-footnote-simpara.xml -pen leverage-test-TM -seg -nocopy -sl en -tl fr
tikal.sh -m docbook-footnote-simpara.xml.xlf -sl en -tl fr
where leverage-test-TM entries include:
<tu>
<tuv xml:lang="EN-US">
<seg>Use free, open-source, Okapi Framework</seg>
</tuv>
<tuv xml:lang="FR-FR">
<seg>Utilisez Okapi Framework gratuit et open source</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>A cross-platform set of components and applications designed to help your localization and translation processes</seg>
</tuv>
<tuv xml:lang="FR-FR">
<seg>Un ensemble multiplateforme de composants et d'applications conçus pour aider vos processus de localisation et de traduction</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>to build your own CAT tool!</seg>
</tuv>
<tuv xml:lang="FR-FR">
<seg>pour créer votre propre outil de CAT!</seg>
</tuv>
</tu>
the space after the closing </footnote> tag is missing in the merged file:
<?xml version="1.0" encoding="UTF-8"?>
<article xmlns="http://docbook.org/ns/docbook">
<simpara>Utilisez Okapi Framework gratuit et open source<footnote><simpara>Un ensemble multiplateforme de composants et d'applications con??us pour aider vos processus de localisation et de traduction</simpara></footnote>pour créer votre propre outil de CAT!</simpara>
</article>
Note, in the original file, the part in question is <footnote> to build your own CAT tool!
and the translation is </footnote>pour créer votre propre outil de CAT!
.
This could just be a side effect of the fact that <footnote> is not properly implemented due to lack of support of withinText=”nested” in ITSFilter that XMLFilter depends on.
Comments (4)
-
reporter -
reporter -
reporter -
reporter - changed title to Extracting and merging docbook with <footnote> removes a space after the closing tag
- Log in to comment