RE: [xsl] Increase Doc-available timeout?

Subject: RE: [xsl] Increase Doc-available timeout?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 25 Mar 2008 09:27:58 -0000
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.Williams@xxxxxxxxxxxxxxxxxx] 
> Sent: 25 March 2008 02:16
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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 

Current Thread