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

RE: Saxon & Fallback from document() error ?

Subject: RE: Saxon & Fallback from document() error ?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 2 Apr 2004 17:15:59 +0100
xsl document error
The best way of dealing with this is to write your own URIResolver, you then
have total control over what happens if files can't be found or don't
contain valid XML.

Michael Kay 

> -----Original Message-----
> From: davidpbrown [mailto:lists@xxxxxxxxxxxxxxxxx] 
> Sent: 02 April 2004 13:06
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Saxon & Fallback from document() error ?
> 
> I'm looking to update files, who's name are suggested by input.xml.
> 
> However I get java FileNotFoundException if those files 
> suggested doesn't
> already exist.
> (This from using Saxon for it's XSLT 2.0.)
> 
> Is there any way around this?
> Ideally I need to know that the file doesn't exist or that it's empty.
> 
> I could only find suggestions this was a problem, and talk in 
> 2001 'Fallback
> from document() error' suggesting that a solution was needed 
> and that the
> error was optional/not required.
> 
> Regards
> davidpbrown

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.