This looks like a new bug (a rare event these days): please send me the
files so I can track it down.
> -----Original Message-----
> From: saxon-help-admin@...
> [mailto:saxon-help-admin@... Behalf Of
> Lee Goddard
> Sent: 30 January 2002 11:11
> To: saxon-help@...
> Subject: [saxon] java.lang.IllegalArgumentException at at
> com/icl/saxon/Bindery.defineLocalVariable ...
> New to the list, so please forgive me if this is a common
> question: I've
> not seen it described anywhere.
> The latest Instant Saxon is giving me this error:
> java.lang.IllegalArgumentException: Can't define local
> variable: stack is empty
> at com/icl/saxon/Bindery.defineLocalVariable
> at com/icl/saxon/style/XSLVariable.process
> at com/icl/saxon/style/XSLStyleSheet.process
> at com/icl/saxon/Controller.transformDocument
> at com/icl/saxon/Controller.transform
> at com/icl/saxon/StyleSheet.processFile
> at com/icl/saxon/StyleSheet.doMain
> at com/icl/saxon/WinStyleSheet.main
> All was fine until I added this line to the stylesheet:
> The stylesheet imported looks like this:
> <xsl:stylesheet version="1.0"
> <xsl:variable name="CHR-img-base-SYSTEM"
The error occurs even if I don't use the variables defined in the
I guess it may turn out that in half an hour, when I've found and read the
docs in question,
that I am being naugty trying to use a variable defined in an imported
file, but I send this
just in case (a) you've seen the error before and can offer some advice
from the top of your
head, and (b) in case you would like to know, to catch it with a pretty
Saxon is, though, still my fave parser ;-)
TIA & Cheers,
saxon-help mailing list