biblatex2xml 5.0: @inbook with crossref

Nick Bart
2013-07-15
2013-07-15
  • Nick Bart
    Nick Bart
    2013-07-15

    Using biblatex2xml 5.0, a biblatex @inbook entry crossreferencing a @book entry, for example,

    @inbook{inbook1,
        Author = {Chapterauthor, Charlie},
        Crossref = {book1},
        Hyphenation = {english},
        Pages = {47-90},
        Title = {Chaptertitle}}
    
    @book{book1,
        Author = {Bookauthor, Bob},
        Date = {1999},
        Hyphenation = {english},
        Location = {Location},
        Publisher = {Publisher},
        Title = {Title of Book}}
    

    is converted to

    <mods ID="inbook1">
        <titleInfo>
            <title>Chaptertitle Title of Book</title>
        </titleInfo>
        <name type="personal">
            <namePart type="given">Charlie</namePart>
            <namePart type="family">Chapterauthor</namePart>
            <role>
                <roleTerm authority="marcrelator" type="text">author</roleTerm>
            </role>
        </name>
        <name type="personal">
            <namePart type="given">Bob</namePart>
            <namePart type="family">Bookauthor</namePart>
            <role>
                <roleTerm authority="marcrelator" type="text">author</roleTerm>
            </role>
        </name>
        <originInfo>
            <dateIssued>1999</dateIssued>
            <publisher>Publisher</publisher>
            <place>
                <placeTerm type="text">Location</placeTerm>
            </place>
        </originInfo>
        <typeOfResource>text</typeOfResource>
        <genre>book chapter</genre>
        <relatedItem type="host">
            <titleInfo>
                <title/>
            </titleInfo>
            <originInfo>
                <issuance>monographic</issuance>
            </originInfo>
            <genre authority="marcgt">book</genre>
        </relatedItem>
        <identifier type="citekey">inbook1</identifier>
        <part>
            <extent unit="page">
                <start>47</start>
                <end>90</end>
            </extent>
        </part>
    </mods>
    

    Note the strange <title>Chaptertitle Title of Book</title> and the empty title inside the <relatedItem type="host"> element.

    An essentially identical @inbook entry without crossref

    @inbook{inbook1,
        Author = {Chapterauthor, Charlie},
        Bookauthor = {Bookauthor, Bob},
        Booktitle = {Title of Book},
        Date = {1999},
        Hyphenation = {english},
        Location = {Location},
        Pages = {47-90},
        Publisher = {Publisher},
        Title = {Chaptertitle}}
    

    produces correct MODS output:

    <mods ID="inbook1">
        <titleInfo>
            <title>Chaptertitle</title>
        </titleInfo>
        <name type="personal">
            <namePart type="given">Charlie</namePart>
            <namePart type="family">Chapterauthor</namePart>
            <role>
                <roleTerm authority="marcrelator" type="text">author</roleTerm>
            </role>
        </name>
        <originInfo>
            <dateIssued>1999</dateIssued>
            <publisher>Publisher</publisher>
            <place>
                <placeTerm type="text">Location</placeTerm>
            </place>
        </originInfo>
        <typeOfResource>text</typeOfResource>
        <genre>book chapter</genre>
        <relatedItem type="host">
            <titleInfo>
                <title>Title of Book</title>
            </titleInfo>
            <name type="personal">
                <namePart type="given">Bob</namePart>
                <namePart type="family">Bookauthor</namePart>
                <role>
                    <roleTerm authority="marcrelator" type="text">author</roleTerm>
                </role>
            </name>
            <originInfo>
                <issuance>monographic</issuance>
            </originInfo>
            <genre authority="marcgt">book</genre>
        </relatedItem>
        <identifier type="citekey">inbook1</identifier>
        <part>
            <extent unit="page">
                <start>47</start>
                <end>90</end>
            </extent>
        </part>
    </mods>
    

    Something is wrong with @incollection entries crossreferencing @collection entries, too: An additional copy of the collection’s subtitle appears after the incollection’s title and subtitle.