fix dc:contributor java.lang issue

This commit is contained in:
Felix Lohmeier 2022-02-22 10:28:44 +01:00
parent 659ad70ec6
commit 2e698c3fe3
1 changed files with 4 additions and 4 deletions

View File

@ -17,11 +17,11 @@
<role>
<roleTerm type="code" authority="marcrelator">aut</roleTerm>
</role>
</name>{{forNonBlank(cells['dc:contributor'].value,x,forEach(x.split('␞'),v,'
</name>{{forNonBlank(cells['dc:contributor'].value, x, forEach(x.split('␞'), v, '
<name type="personal">
<displayForm>'+ v.escape('xml') +'</displayForm>
<namePart type="family">' + v.split(',')[0].escape('xml') + '</namePart>
<namePart type="given">' + v.split(',')[1].trim().escape('xml') + '</namePart>
<displayForm>'+ v.escape('xml') +'</displayForm>' + forNonBlank(v.split(',')[1], z, '
<namePart type="family">' + v.split(',')[0].escape('xml') + '</namePart>' + '
<namePart type="given">' + z.trim().escape('xml') + '</namePart>', '') + '
<role>
<roleTerm type="code" authority="marcrelator">ctb</roleTerm>
</role>