Skip to content

Conversion to HTML omits publication date and pagination #518

@qhreul

Description

@qhreul

While testing the tei-oxygen v14.0.0 framework, we observed that some information about citation references were not converted properly into HTML.

As an example, we have the following <bibStruct> element in TEI XML

<biblStruct xml:id="b0">
    <analytic>
        <title level="a" type="main">Heart disease and stroke statistics-2014 update: a report from the</title>
        <author>
            <persName>
                <forename type="first">A</forename>
                <forename type="middle">S</forename>
                <surname>Go</surname>
            </persName>
        </author>
        <author>
            <persName>
                <forename type="first">D</forename>
                <surname>Mozaffarian</surname>
            </persName>
        </author>
        <author>
            <persName>
                <forename type="first">V</forename>
                <forename type="middle">L</forename>
                <surname>Roger</surname>
            </persName>
        </author>
        <idno type="DOI">10.1161/01.cir.0000441139.02102.80</idno>
    </analytic>
    <monogr>
        <title level="j">American Heart Association. Circulation</title>
        <imprint>
            <biblScope unit="volume">129</biblScope>
            <biblScope unit="issue">3</biblScope>
            <biblScope unit="page" from="e28" to="e292" />
            <date type="published" when="2014" />
        </imprint>
    </monogr>
    <note>PubMed: 24352519</note>
</biblStruct>

After leveraging the TEI XHTML XSLT, we can observe that the publication date and the pagination is not included.

<li id="b0">
    <q class="titlea">Heart disease and stroke statistics-2014 update: a report from the</q>
    . 
    
    <span class="author">
        <span class="persName">A S Go
        </span>
        , 
    </span>
    <span class="author">
        <span class="persName">D Mozaffarian
        </span>
        , 
    </span>
    <span class="author">
        <span class="persName">V L Roger
        </span>
        . 
    </span>
    <a class="link_idno" href="http://dx.doi.org/10.1161/01.cir.0000441139.02102.80">10.1161/01.cir.0000441139.02102.80</a>
    <span class="titlej">American Heart Association. Circulation</span>
    <span class="date">. </span>
    <span class="vol">129</span>
    (3)  p. . 
    
    (PubMed: 24352519)
    
</li>

Metadata

Metadata

Assignees

Labels

status: GoCouncil has decided the ticket should proceed.type: bugA bug report.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions