biblatex2xml 4.17:biblatex "maintitle", "series" fields and nested <relatedItem type="host"> elements

Nick Bart
2013-02-04
2013-06-05
  • Nick Bart
    Nick Bart
    2013-02-04

    Not all seems well with the nested <relatedItem type="host"> elements:

    This is what I get so far with 4.17:

    book

    • with a maintitle, without a series: one relatedItem element containing title from "maintitle" => OK
    • without a maintitle, with a series: one relatedItem element containing title from "series" => OK
    • with a maintitle, with a series: one relatedItem element containing title from "series" => "maintitle" info missing

    collection

    • with a maintitle, without a series: => OK
    • without a maintitle, with a series: one relatedItem element containing an empty title => "series" info missing
    • with a maintitle, with a series: one relatedItem element containing title from "maintitle" => "series" info missing

    (OK means that relatedItem elements seem to be nested correctly. Ambiguities when exactly one relatedItem element is present are a different issue ...)

     
    Last edit: Nick Bart 2013-02-05
  • Nick Bart
    Nick Bart
    2013-06-05

    This issue is still unresolved in 5.0.

    These are examples for the problematic cases:

    @book{book1,
        Author = {AUTHOR, AL},
        Date = {1999},
        Hyphenation = {english},
        Location = {Location},
        Maintitle = {MAINTITLE},
        Number = {77},
        Pagetotal = {999},
        Publisher = {Publisher},
        Series = {THE SERIES},
        Title = {BOOK; MAINTITLE=PRESENT; SERIES=PRESENT},
        Volume = {1}}
    
    @collection{collection1,
        editor = {EDITOR, ED},
        Date = {1999},
        Edition = {9},
        Hyphenation = {english},
        Location = {Location},
        Pagetotal = {999},
        Publisher = {Publisher},
        Series = {THE BOOK SERIES},
        Title = {BOOK; MAINTITLE=ABSENT; SERIES=PRESENT},
        Volume = {7}}
    
    @collection{collection1,
        Date = {1999},
        Editor = {EDITOR, ED},
        Hyphenation = {english},
        Location = {Location},
        Maintitle = {MAINTITLE},
        Number = {77},
        Pagetotal = {999},
        Publisher = {Publisher},
        Series = {THE SERIES},
        Title = {BOOK; MAINTITLE=PRESENT; SERIES=PRESENT},
        Volume = {1}}