#593 <listBibl><head> TEI to HTML5 transformation Bug

AMBER
closed-fixed
5(default)
2013-08-31
2013-08-10
No

The transformation from TEI <listBibl> entries to HTML5 is still buggy. In the first example the <head> is omitted together with a <bibl> entry. In the second example, the <head> is handled as a list item.
The following TEI XML:
<listBibl>
<head>First trial</head>
<bibl>Blain, Clements and Grundy: Feminist Companion to Literature in English (Yale, 1990)</bibl>
<biblStruct><analytic><title>The Interesting story of the Children in the Wood</title></analytic>
<monogr><title>The Penny Histories</title><author>Victor E Neuberg</author>
<imprint><publisher>OUP</publisher><date>1968</date></imprint>
</monogr>
</biblStruct>
</listBibl>

Is converted to:
<ol class="listBibl ">
<li id="index.xml-biblStruct-d29e47"><span class="titlem">The Interesting story of the Children in the Wood</span>,
<span class="titlem">The Penny Histories</span>, <span class="author">Victor E Neuberg. </span><span class="date">1968. </span><span class="publisher">OUP</span>.
</li>
</ol>

And the following TEI XML:
<listBibl>
<head>second trial</head>
<bibl>Blain, Clements and Grundy: Feminist Companion to Literature in English (Yale, 1990)</bibl>
<bibl><author>unknown</author>, <title>Still open</title>, <date>any time</date></bibl>
</listBibl>

is transformed to HTML:
<ol class="listBibl">
<li id="index.xml-head-d29e62">second trial</li>
<li id="index.xml-bibl-d29e64"><div class="biblfree">Blain, Clements and Grundy: Feminist Companion to Literature in English (Yale, 1990)</div></li>
<li id="index.xml-bibl-d29e66"><div class="biblfree"> <span class="author">unknown</span>, <span class="titlem">Still open</span>, <span class="date">any time</span></div></li>
</ol>

Please find the complete example attached. The transformation was done with the GIT Stylesheet master branch from 2012-08-09.

1 Attachments

Discussion

  • Martin Holmes

    Martin Holmes - 2013-08-10
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -The transformation from TEI '<listBibl>' entries to HTML5 is still buggy. In the first example the '<head>' is omitted together with a '<bibl>' entry. In the second example, the '<head>' is handled as a list item.
    +The transformation from TEI `<listBibl>` entries to HTML5 is still buggy. In the first example the `<head>` is omitted together with a `<bibl>` entry. In the second example, the `<head>` is handled as a list item.
     The following TEI XML:
             &lt;listBibl>
               &lt;head>First trial&lt;/head>
    
     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-08-31

    <head> inside <listBibl> duly fixed in HTML and LaTeX.

    but mixing bibl and biblStruct inside the same listBibl isn't working. thats a bit messy.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-08-31
    • status: open --> closed-fixed
    • assigned_to: Sebastian Rahtz
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks