nlbdev / produksjonssystem

Produksjonssystem basert på mapper og pipelines
2 stars 2 forks source link

bokinfo-tts-dtbook.xsl: flere $narrator gir feil #370

Closed josteinaj closed 2 years ago

josteinaj commented 2 years ago
[26.4530s] Error on line 34 of bokinfo-tts-dtbook.xsl:

[26.4530s]   XTTE0570: A sequence of more than one item is not allowed as the value of variable

[26.4530s]   $narrator ("Clara Talesyntese", "William Talesyntese") 

[26.4530s]   at xsl:call-template name="create-copyright-page" (file:/opt/produksjonssystem/xslt/nlbpub-to-tts-dtbook/bokinfo-tts-dtbook.xsl#24)

[26.4530s]   at xsl:apply-templates (file:/opt/produksjonssystem/xslt/nlbpub-to-tts-dtbook/bokinfo-tts-dtbook.xsl#16)

[26.4530s]      processing /html/body[1]

[26.4530s]   in built-in template rule

[26.4530s] Transformation failed: Run-time errors were reported

Dette er fra 584153, men det gjelder sannsynligvis også 584130, 584110, 584120 og 584073.

josteinaj commented 2 years ago

284153 har to innlesere katalogisert. Trolig derfor det blir feil:

*511  $aClara Talesyntese$_22219000
*511  $aWilliam Talesyntese$_22297700
josteinaj commented 2 years ago

Fikset: https://github.com/nlbdev/produksjonssystem/compare/ac1810bba5b59cc84e9aca37c14df69a89df52b6...38b0a0ea91463ebe2e8377cf9615d03d5ca856af