xsl-list
[Top] [All Lists]

RE: text nodes

2004-04-15 08:56:49
On Thu, 15 Apr 2004, Michael Kay wrote:

Thanks to both David and Jarno for examples which
work on the test file I provided.  My problem now
is when I attempt (just changing element names) to
use this on the real file in question I get an
error message of:

java.lang.StringIndexOutOfBoundsException: String index out
of range: -1

I've increased the amount of memory I'm giving saxon to the
maximum possible for that machine, in case that is what the
problem is.  The file in question isn't *huge* only about
a meg.

A Java exception like this (in the absence of extension functions or the
like) is prima facie evidence of a bug. Report it please on the Saxon list!

I'll try to reproduce in the latest saxon, this was a fairly old
version, 7.5.1 in fact. So whatever the bug is, you might have
fixed it by now. ;-)

-James
---
Dr James Cummings, Oxford Text Archive, University of Oxford
James dot Cummings at ota dot ahds dot ac dot uk


<Prev in Thread] Current Thread [Next in Thread>