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

RE: handling failed document() invocations

Subject: RE: handling failed document() invocations
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 31 Oct 2002 08:56:17 +0200
RE:  handling failed document() invocations
Hi,

> Reading this thread, I understand that my problem is related, 
> which was
> posted as "xpath expression validity?"
> 
> How do I handle the failed document() or invalid XPath 
> expression error?
> I am using XSL only with MSXML4, Xercers-J (1.4.4 or others 
> if recommended)
> and XMLSpy v5

If I remember your original question correctly, just write your stylesheet so that there's a sanity check before the expression that evaluates document(), so that you never attempt to evaluate the document() function with a non-URI argument.

Cheers,

Jarno

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.