Since Saxon uses the underlying Java URL connection mechanisms, you could
try configuring these by setting system properties such as
sun.net.client.defaultConnectTimeout or sun.net.client.defaultReadTimeout.
Note that these are specific to the Sun JVM. See
http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html
Alternatively you could write your own URIResolver: JDK 1.5 has options on
the java.net.URLConnection class to set the above two timeout values.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Angela Williams
[mailto:Angela(_dot_)Williams(_at_)the401kcompany(_dot_)com]
Sent: 25 March 2008 02:16
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Increase Doc-available timeout?
Is there a way to increase the timeout length before the
doc-available function returns false? The url I am using is
to a servlet that will return a document when I enter the url
in the browser, but it takes a few seconds to return.
Doc-available is always returning false.
Are there any other options?
Xslt2, Saxon8b
Thanks!
Angela Williams
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--