error handling

Ah, here’s an example that would be nice to handle gracefully (with
more specific error reporting):

saxon test-nb.xml extract3.xsl

Warning:
java.net.ConnectException: Connection refused
Error on line 65 of
file:/Users/darcusb/Desktop/xbiblio-alt/samples/extract3.xsl:
Failed to load document

http://localhost:8080/exist/servlet/db/biblio?
_query=declare%20namespace%20mods=%22http://www.loc.gov/mods/
v3%22;%20for%20$citekey%20in%20(‘Tilly2000a’,%20’Thrift1990a’,%20’TimesP
2001a’,%20’Veer1996a’)%20return%20/mods:modsCollection/mods:
mods[@ID=$citekey]
Transformation failed: Run-time errors were reported

I hadn’t started the database, hence …

Bruce