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

Re: Problem with using xsl:variable within a template

Subject: Re: Problem with using xsl:variable within a template in XSL1.0
From: "Gareth Howells" <subscriptions@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Dec 2007 19:04:14 -0000
Re:  Problem with using xsl:variable within a template
The problem was down to the code that was in the for-each loop accessing a variable which wasn't visible to the template that replaced the loop.

As a side note, we've been getting some rather interesting stack traces today though - 84 students on the module, all trying to test their solutions before submitting, on a dedicated Debian server running Tomcat and basically nothing else, with 16GB of RAM. And we got out of memory errors ;)

-----

Gareth Howells, CertHE (Dunelm), BCS
CEO, GForce Industries

gareth@xxxxxxxxxxxxxxxxxxxxxxx
07862725134

GForce Industries
86, Warwick Avenue,
Quorn,
Loughborough,
LEICS.
LE12 8HE

----- Original Message ----- From: "Michael Kay" <mike@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, December 13, 2007 6:11 PM
Subject: RE: Problem with using xsl:variable within a template in XSL1.0



Now that I've converted the stylesheet to using
templates these statements are causing a stack trace.

A stack trace can mean two things. Either your XSLT processor has crashed,
or the XSLT processor has notified an error to the application and the
application, instead of displaying the error message neatly to the user, has
crashed out. The fact that you saw a stack trace therefore gives us no
useful information: we need to know what caused it and what the message was.


Michael Kay
http://www.saxonica.com/

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.