Re: Failed saxon:output

Subject: Re: Failed saxon:output
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Aug 2000 11:00:26 +0200 (MET DST)
Hi,

> Problem solved:  Too many files open.  Discovered by modifying the
> SAXONOutput.java code to tell me what the specific error was.  Be careful that
> your stylesheet opens a limited number of files when doing this.

If you look at your example, it contains an recursive xsl:apply-templates in
the same mode on the same node. That's faulty even if you don't create a
separate output file.

Cheers,
Oliver

>  On Fri, 11 Aug 2000, you wrote:
> > The following returns an error: "Failed to create output file Course.xml".   
We
> > are working in RedHat Linux 6.1.  Permissions do not account for the error. 
> > Any help?  Thanks.
> > 
> > <?xml version="1.0" encoding="UTF-8"?>
> > 
> > <xsl:stylesheet 
> > 	version="1.0" 
> > 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> > 	xmlns:saxon="http://icl.com/saxon";
> > 	extension-element-prefixes="saxon"
> > 
> > <xsl:template match="/">
> > 		<saxon:output file="Course.xml">
> > 			<xsl:apply-templates select="."/>
> > 		</saxon:output>
> > </xsl:template>
> > 
> > </xsl:stylesheet>


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


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


Current Thread