docbook / xslTNG

DocBook xslTNG Stylesheets
https://xsltng.docbook.org
MIT License
41 stars 20 forks source link

Prevent crash in case of multiple entries in glossary. Changed description of glossary-collection #445

Closed fsteimke closed 5 months ago

fsteimke commented 5 months ago

When there are more than one entries for a glossterm, a warning was emitted and than the transformation failed with a runtime error. This was changed so that only the first of many entries will be referenced. Testcase glossary.001 was extended and will cover two entries for one term (Pepper).

The description for glossary-collection was changed. It suggested the necessity for a lot of empty glossentries which must match external entries by xml:id. It is not that difficult. In fact, it seems to be pretty easy, see test glossary.002 and the new description.