Mixed Glossary with multiple entries, some from an external glossary

Frank Steimke


The test harness is configured to run this test without setting the glossary-collection parameter.

This test is essentially the same as glossary.006. The difference is, that the external glossary is referenced by the following processing instruction:

  |<?db glossary-collection='../glosscollection.xml' ?>

It checks the glossary-collection machinery when the "internal" glossary is not empty, and some glossterms have definitions in the internal and external glossaries. The internal entry has priority and should therefore cover / overwrite the definition from the external glossary.

We expect a glossary with three entries, mixed from the internal and the external glossaries.

  1. Apple should reference the internal, poetic definition.

  2. Pear references the external definition;

  3. Quince references the internal definition.



In early autumn the apple orchards come alive with people and sounds. The farmers are picking, peeling, and processing apples into everything from apple pies to apple sauce. Families swarm the apple trees with their baskets looking for the best Honeycrisp and Macintosh. The sound of children playing is blended with the occasional barking dog, or the low rumble of the old Ferguson Orchard tractor pulling a wagon up and down the rows.


The pear tree and shrub are a species of genus Pyrus, in the family Rosaceae, bearing the pomaceous fruit of the same name. Several species of pear are valued for their edible fruit and juices while others are cultivated as trees.


The quince (/ˈkwɪns/; Cydonia oblonga) is the sole member of the genus Cydonia in the Malinae subtribe (which also contains apples and pears, among other fruits) of the Rosaceae family. It is a deciduous tree that bears hard, aromatic bright golden-yellow pome fruit, similar in appearance to a pear. Ripe quince fruits are hard, tart, and astringent. They are eaten raw or processed into marmalade, jam, paste (known as quince cheese) or alcoholic beverages.