title not printed for reference type "book" when author not present (or empty)
peterstadler opened this issue · comments
example provided by @KristinaRichts:
<bibl label="" xml:id="bibl_349d4e126">
<biblScope unit="vol" xml:id="biblScope_f649f68b">Zweiter Theil</biblScope>
<editor xml:id="editor_341e8536"/>
<biblScope unit="issue" xml:id="biblScope_66d7c7b8"/>
<biblScope unit="page" xml:id="biblScope_0a9dec54"/>
<genre xml:id="genre_4ba04ce7">book</genre>
<author xml:id="author_36658b27" auth.uri=""/>
<title level="" xml:id="title_9bcd6d4d">Text zur Musik, am I Advents-Sonntage 1757, in St. Petri. […] </title>
<imprint xml:id="imprint_b79fba6e">
<date xml:id="date_18c71d20" isodate="1757">[1757]</date>
<pubPlace xml:id="pubPlace_aee4fe79">[Hamburg]</pubPlace>
<publisher xml:id="publisher_8a1b1080"/>
</imprint>
<creation xml:id="creation_664f2ccf">
<date xml:id="date_20670108"/>
<geogName role="" xml:id="geogName_16a7e466"/>
</creation>
<physLoc xml:id="physLoc_e7ccdeea">
<repository xml:id="repository_3e7f1933">
<corpName role="" xml:id="corpName_1466c452">Staatsbibliothek zu Berlin, Preußischer
Kulturbesitz</corpName>
<identifier auth="RISM" auth.uri="http://www.rism.info" label="" xml:id="identifier_c3ff41a8"
>D-B</identifier>
<ptr label="" xml:id="ptr_d6e137"/>
</repository>
<identifier label="" auth.uri="" xml:id="identifier_7442a2af">Mus. Ms. 21736/315, Beil.
1</identifier>
</physLoc>
<annot label="" xml:id="annot_4e1ad761">
<p>D-B Mus.ms. 21736/315, Beil. 1</p>
</annot>
<ptr label="" xml:id="ptr_d6e140"/>
<relatedItem rel="host" xml:id="relatedItem_dfe1e909">
<bibl xml:id="bibl_349d4e142" label="">
<title level="" xml:id="title_9cfde609"/>
<biblScope xml:id="biblScope_d1b9e6fd"/>
</bibl>
</relatedItem>
</bibl>
That seems to be (at least in parts) an issue with the data, especially the empty value of the @level
attribute on <title>
.
In my (short) tests the @level
attribute was always set correctly to "m" for a book.
@KristinaRichts can you tell me how you added this <bibl>
?
I just recreated the entry again as a test entry. The title is now displayed (See screenshot), and also the "vol" specification, but "vol." should not be displayed. It seems that something went wrong with the title input field. You can see that on the screenshot I took earlier. "Monograph" and "Series" is missing there.
It's a bit confusing, that the evidences are listed one after the other (see screenshot), especially when there is no author and the evidence begins with a ":"
@AnastasiaWawilow and I just had a look:
- Regarding the initial issue with the missing title. We could only reproduce this when we (manually) entered an
<mei:title>
without a@level
attribute. This should not happen with the MerMEID editor, so this has already been fixed? - Regarding "'vol.' should not be displayed.": You can suppress the output of "vol." when you click "clear unit".
- Regarding "evidences are listed one after the other": This is addressed in 5aeb5a3
- Regarding the leading ":" for empty authors: This is addressed in 6070a4e