Saxon contains code designed to mask the differences between the regex
behaviour on JDK 1.4 and JDK 1.5, and it seems it is failing to mask the
difference in this instance. I will investigate.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: AAS Contractor [mailto:AAS(_dot_)Contractor(_at_)iop(_dot_)org]
Sent: 30 August 2007 16:06
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Different regex behaviour on Windows &
Linux using Saxon
David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote on 30/08/2007
15:25:03:
saxon converts the xpath regex to a java regex and the java regular
expression handler changed a lot (at java 1.4 or 1.5, I can't
remember) and so saxon has to use different code depending
on the jvm
being used (as far as i recall) so it probably matters more which
version of java you have rather than whether it's windows or linux.
David,
You were bang on. The Win box was 1.5 and Linux box 1.4.2.
I've upgraded both machines to 1.6 and the regex now works as
expected.
Thanks a lot!
Bruce
**************************************************************
**********
This email (and attachments) are confidential and intended
for the addressee(s) only. If you are not the intended
recipient please notify the sender, delete any copies and do
not take action in reliance on it. Any views expressed are
the author's and do not represent those of IOP, except where
specifically stated. IOP takes reasonable precautions to
protect against viruses but accepts no responsibility for
loss or damage arising from virus infection. For the
protection of IOP's systems and staff emails are scanned
automatically.
IOP Publishing Limited Registered in England under
Registration No 467514. Registered Office: Dirac House,
Temple Back, Bristol BS1 6BE England Vat No GB 461 6000 84.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--