Mixed Glossary with multiple entries from two external glossaries
The test harness is configured to run this test without
setting the glossary-collection
parameter.
This test is essentially the same as glossary.007
. The difference is,
that we have two external glossaries, both referenced by the following processing
instruction:
|<?db glossary-collection='../glosscollection.xml
|../glosscollection2.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.
Apple should reference the internal, poetic definition.
Pear references the external definition from
glosscollection
;Cucumber references the external definition from
glosscollection2
.
Glossary
- Apple
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.
- Cucumber
The cucumber (Cucumis sativus) is a widely-cultivated creeping vine plant in the family Cucurbitaceae that bears cylindrical to spherical fruits, which are used as culinary vegetables. Considered an annual plant, there are three main types of cucumber—slicing, pickling, and seedless—within which several cultivars have been created. The cucumber originates in Asia extending from India, Nepal, Bangladesh, China (Yunnan, Guizhou, Guangxi), and Northern Thailand, but now grows on most continents, and many different types of cucumber are grown commercially and traded on the global market. In North America, the term wild cucumber refers to plants in the genera Echinocystis and Marah, though the two are not closely related.
- Pear
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.