[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Increase Doc-available timeout?

Subject: RE: Increase Doc-available timeout?
From: "Angela Williams" <Angela.Williams@xxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Mar 2008 11:26:34 -0500
RE:  Increase Doc-available timeout?
The xml output is definitely well-formed.  We'll take a look at the
other suggestions.

Thanks!
Angela
"We cannot solve problems by using the same kind of thinking we used
when we created them."
-Albert Einstein



-----Original Message-----
From: Abel Braaksma [mailto:abel.online@xxxxxxxxx]
Sent: Tuesday, March 25, 2008 4:19 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Increase Doc-available timeout?

Hi Angela,

Perhaps something else is wrong the, because in my experience,
doc-available can easily wait a while if the server does not respond
immediately. Note that doc-available also returns false if the returned
document is not a well-formed XML document. You may try the same test
with unparsed-text-available, which does not require that the content be
XML. However, it will fail if non-XML allowed characters (i.e., NULL
characters) are used in the document you are retrieving.

If you need more control you can create a URIResolver class. But since
that is product-specific, you may better ask it on the saxon list.

Cheers,
-- Abel Braaksma

Angela Williams wrote:
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.