Referencing a non-existing external glossary
The test harness is configured to run this test without
setting the glossary-collection
parameter.
This test is essentially the same as glossary.008
The difference is,
that we use the following processing instruction, which references one none-existing file
glosscollectionx.xml
:
|<?db glossary-collection='../glosscollection.xml
|../glosscollectionx.xml
|../glosscollection2.xml' ?>
We expect a warning message about the non-existing file, and 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.